25 #include <QtCore/qurl.h>
26 #include <QtGui/qicon.h>
27 #include <QtGui/qpainter.h>
28 #include <QtNetwork/qnetworkaccessmanager.h>
29 #include <QtWidgets/qwidget.h>
34 class QNetworkAccessManager;
106 FindCaseSensitively = 2,
107 FindWrapsAroundDocument = 4,
108 HighlightAllOccurrences = 8,
109 FindAtWordBeginningsOnly = 16,
110 TreatMedialCapitalAsWordBeginning = 32,
111 FindBeginsInSelection = 64
140 AllowRunningInsecureContent
149 ForcePersistentCookies
174 virtual void Load(
const QString& sURL ) = 0;
175 virtual void Load(
const QUrl& url ) = 0;
177 virtual void SetHtml(
const QString& html,
const QUrl& baseUrl = QUrl() ) = 0;
178 virtual void SetContent(
const QByteArray&
data,
const QString& sMimeType = QString(),
const QUrl& baseUrl = QUrl() ) = 0;
181 virtual void SetURL(
const QUrl &url ) = 0;
182 virtual void SetURL(
const QString& sURL ) = 0;
205 virtual void SetRenderHint( QPainter::RenderHint hint,
bool bEnabled =
true ) = 0;
295 class CFxWebWidgetManagerImpl;
virtual void ClearCookies()=0
virtual void Load(const QString &sURL)=0
virtual bool CanGoBack() const =0
virtual void SetZoomFactor(double dFactor)=0
virtual QAction * GetPageAction(FxWebAction eAction) const =0
virtual QMetaObject::Connection ConnectToContentsSizeChangedSignal(std::function< void(const QSizeF &)> slot)=0
virtual void ClearDefaultUserAgentString()=0
virtual QUrl GetURL() const =0
virtual void DoForward()=0
virtual void SetRenderHint(QPainter::RenderHint hint, bool bEnabled=true)=0
virtual void TriggerPageAction(FxWebAction eAction, bool bChecked=false)=0
virtual void SetSettingsAttribute(FxWebAttribute eAttribute, bool bEnable)=0
virtual QMetaObject::Connection ConnectToLoadProgressSignal(std::function< void(int progress)> slot)=0
virtual void EvaluateJavascript(const QString &script)=0
virtual QMetaObject::Connection ConnectToRepaintRequestedSignal(std::function< void(const QRect &)> slot)=0
virtual void SetRenderHints(QPainter::RenderHints hints)=0
virtual void SetHtml(const QString &html, const QUrl &baseUrl=QUrl())=0
virtual QWidget * GetWidget()=0
virtual double GetTextSizeMultiplier() const =0
virtual void SetURL(const CFxString &sURL)
virtual void SetLinkDelegationPolicy(FxLinkDelegationPolicy linkDelegationPolicy)=0
virtual bool FindText(const QString &subString, FxFindFlag options=(FxFindFlag) 0)=0
virtual FxLinkDelegationPolicy GetLinkDelegationPolicy()=0
virtual bool CanGoForward() const =0
virtual bool HasSelection() const =0
virtual QIcon GetIcon() const =0
virtual void DoReload()=0
virtual QMap< QUrl, QString > GetUserAgentStrings()=0
virtual void Load(const CFxString &sURL)
virtual QString GetTitle() const =0
virtual void Load(const QUrl &url)=0
virtual double GetZoomFactor() const =0
virtual void SetCookieForDefaultProfile(QNetworkCookie *pCookie)=0
virtual QMetaObject::Connection ConnectToContentChangedSignal(std::function< void(void)> slot)=0
virtual void SetContent(const QByteArray &data, const QString &sMimeType=QString(), const QUrl &baseUrl=QUrl())=0
virtual QSize GetPreferredContentsSize()=0
@ CopyImageUrlToClipboard
@ CopyMediaUrlToClipboard
@ OpenLinkInNewBackgroundTab
virtual QMetaObject::Connection ConnectToGeometryChangeRequestedSignal(std::function< void(const QRect &)> slot)=0
virtual void SetDefaultUserAgentString(const QString &userAgentString)=0
virtual void SetTextSizeMultiplier(double dFactor)=0
CFxWebView(CFxWebWidgetManager *pManager)
virtual QMetaObject::Connection ConnectToLoadFinishedSignal(std::function< void(bool)> slot)=0
virtual void ClearUserAgentStrings()=0
CFxWebWidgetManager * m_pManager
virtual void SetNetworkAccessManager(QNetworkAccessManager *manager)=0
virtual QMetaObject::Connection ConnectToUrlChangedSignal(std::function< void(const QUrl &)> slot)=0
FxPersistentCookiesPolicy
virtual void OpenExternalLinksInBrowser(std::function< bool(const QUrl &url)> checkIfExternalLink)=0
virtual QMetaObject::Connection ConnectToHttpResponseFinished(std::function< void(QNetworkReply *)> slot)=0
virtual void SetPersistentCookiesPolicyForDefaultProfile(FxPersistentCookiesPolicy ePolicy)=0
virtual bool IsModified() const =0
virtual void SetUserAgentString(const QUrl &url, const QString &userAgentString)=0
virtual void SetURL(const QString &sURL)=0
virtual void DoPrint(QPrinter *) const =0
virtual QMetaObject::Connection ConnectToLinkClickedSignal(std::function< void(const QUrl &)> slot)=0
virtual QMetaObject::Connection ConnectToLoadStartedSignal(std::function< void(void)> slot)=0
virtual void SetURL(const QUrl &url)=0
virtual QString GetSelectedText() const =0
@ LocalContentCanAccessFileUrls
@ LocalContentCanAccessRemoteUrls
@ Accelerated2dCanvasEnabled
@ FullScreenSupportEnabled
@ LinksIncludedInFocusChain
@ JavascriptCanOpenWindows
@ HyperlinkAuditingEnabled
@ JavascriptCanAccessClipboard
@ PrintElementBackgrounds
@ SpatialNavigationEnabled
@ FocusOnNavigationEnabled
virtual QMetaObject::Connection ConnectToRepaintRequestedSignalWebEngine(std::function< void(bool)> slot)=0
virtual QString GetSelectedHtml() const =0
virtual void SetCacheEnabled(bool bEnable)=0
virtual QString GetDefaultUserAgentString()=0
virtual void AlsoOpenLinksInBrowser()=0
virtual QObject * GetCookieStoreForDefaultProfile()=0
virtual void ClearUserAgentString(const QUrl &url)=0
virtual QPainter::RenderHints GetRenderHints() const =0
virtual const QWidget * GetWidget() const =0
virtual void Load(const QNetworkRequest &request, QNetworkAccessManager::Operation operation=QNetworkAccessManager::GetOperation, const QByteArray &body=QByteArray())=0
virtual void SetPersistCookies(bool bEnable)=0
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data