CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
CFxWebView2 Class Referenceabstract

#include <FxWebWidgetInterfaces.h>

Inheritance diagram for CFxWebView2:
CFxWebView CFxWebView3

Public Member Functions

 CFxWebView2 (CFxWebWidgetManager *pManager)
 
virtual ~CFxWebView2 ()
 
virtual void ClearCookies ()=0
 
virtual QMetaObject::Connection ConnectToLoadStartedSignal (std::function< void(void)> slot)=0
 
virtual QMetaObject::Connection ConnectToLoadProgressSignal (std::function< void(int progress)> slot)=0
 
virtual QMetaObject::Connection ConnectToLoadFinishedSignal (std::function< void(bool)> slot)=0
 
virtual QMetaObject::Connection ConnectToHttpResponseFinished (std::function< void(QNetworkReply *)> slot)=0
 
- Public Member Functions inherited from CFxWebView
 CFxWebView (CFxWebWidgetManager *pManager)
 
virtual ~CFxWebView ()
 
virtual QWidget * GetWidget ()=0
 
virtual const QWidget * GetWidget () const =0
 
virtual void Load (const CFxString &sURL)
 
virtual void SetURL (const CFxString &sURL)
 
virtual void Load (const QString &sURL)=0
 
virtual void Load (const QUrl &url)=0
 
virtual void Load (const QNetworkRequest &request, QNetworkAccessManager::Operation operation=QNetworkAccessManager::GetOperation, const QByteArray &body=QByteArray())=0
 
virtual void SetHtml (const QString &html, const QUrl &baseUrl=QUrl())=0
 
virtual void SetContent (const QByteArray &data, const QString &sMimeType=QString(), const QUrl &baseUrl=QUrl())=0
 
virtual QString GetTitle () const =0
 
virtual void SetURL (const QUrl &url)=0
 
virtual void SetURL (const QString &sURL)=0
 
virtual QUrl GetURL () const =0
 
virtual QIcon GetIcon () const =0
 
virtual bool HasSelection () const =0
 
virtual QString GetSelectedText () const =0
 
virtual QString GetSelectedHtml () const =0
 
virtual QAction * GetPageAction (FxWebAction eAction) const =0
 
virtual void TriggerPageAction (FxWebAction eAction, bool bChecked=false)=0
 
virtual bool IsModified () const =0
 
virtual double GetZoomFactor () const =0
 
virtual void SetZoomFactor (double dFactor)=0
 
virtual void SetTextSizeMultiplier (double dFactor)=0
 
virtual double GetTextSizeMultiplier () const =0
 
virtual QSize GetPreferredContentsSize ()=0
 
virtual QPainter::RenderHints GetRenderHints () const =0
 
virtual void SetRenderHints (QPainter::RenderHints hints)=0
 
virtual void SetRenderHint (QPainter::RenderHint hint, bool bEnabled=true)=0
 
virtual bool FindText (const QString &subString, FxFindFlag options=(FxFindFlag) 0)=0
 
virtual void SetDefaultUserAgentString (const QString &userAgentString)=0
 
virtual void SetUserAgentString (const QUrl &url, const QString &userAgentString)=0
 
virtual QString GetDefaultUserAgentString ()=0
 
virtual QMap< QUrl, QString > GetUserAgentStrings ()=0
 
virtual void ClearDefaultUserAgentString ()=0
 
virtual void ClearUserAgentString (const QUrl &url)=0
 
virtual void ClearUserAgentStrings ()=0
 
virtual void SetCacheEnabled (bool bEnable)=0
 
virtual void DoStop ()=0
 
virtual void DoBack ()=0
 
virtual void DoForward ()=0
 
virtual void DoReload ()=0
 
virtual void DoPrint (QPrinter *) const =0
 
virtual void SetLinkDelegationPolicy (FxLinkDelegationPolicy linkDelegationPolicy)=0
 
virtual FxLinkDelegationPolicy GetLinkDelegationPolicy ()=0
 
virtual void SetSettingsAttribute (FxWebAttribute eAttribute, bool bEnable)=0
 
virtual void SetPersistentCookiesPolicyForDefaultProfile (FxPersistentCookiesPolicy ePolicy)=0
 
virtual QObject * GetCookieStoreForDefaultProfile ()=0
 
virtual void SetCookieForDefaultProfile (QNetworkCookie *pCookie)=0
 
virtual void SetNetworkAccessManager (QNetworkAccessManager *manager)=0
 
virtual QMetaObject::Connection ConnectToLinkClickedSignal (std::function< void(const QUrl &)> slot)=0
 
virtual QMetaObject::Connection ConnectToContentChangedSignal (std::function< void(void)> slot)=0
 
virtual QMetaObject::Connection ConnectToGeometryChangeRequestedSignal (std::function< void(const QRect &)> slot)=0
 
virtual QMetaObject::Connection ConnectToRepaintRequestedSignal (std::function< void(const QRect &)> slot)=0
 

Additional Inherited Members

- Public Types inherited from CFxWebView
enum  FxWebAction {
  NoWebAction = -1, Back, Forward, Stop,
  Reload, Cut, Copy, Paste,
  Undo, Redo, SelectAll, ReloadAndBypassCache,
  PasteAndMatchStyle, OpenLinkInThisWindow, OpenLinkInNewWindow, OpenLinkInNewTab,
  CopyLinkToClipboard, DownloadLinkToDisk, CopyImageToClipboard, CopyImageUrlToClipboard,
  DownloadImageToDisk, CopyMediaUrlToClipboard, ToggleMediaControls, ToggleMediaLoop,
  ToggleMediaPlayPause, ToggleMediaMute, DownloadMediaToDisk, InspectElement,
  ExitFullScreen, RequestClose, Unselect, SavePage,
  OpenLinkInNewBackgroundTab, ViewSource, WebActionCount
}
 
enum  FxFindFlag {
  FindBackward = 1, FindCaseSensitively = 2, FindWrapsAroundDocument = 4, HighlightAllOccurrences = 8,
  FindAtWordBeginningsOnly = 16, TreatMedialCapitalAsWordBeginning = 32, FindBeginsInSelection = 64
}
 
enum  FxWebAttribute {
  AutoLoadImages, JavascriptEnabled, JavascriptCanOpenWindows, JavascriptCanAccessClipboard,
  LinksIncludedInFocusChain, LocalStorageEnabled, LocalContentCanAccessRemoteUrls, XSSAuditingEnabled,
  SpatialNavigationEnabled, LocalContentCanAccessFileUrls, HyperlinkAuditingEnabled, ScrollAnimatorEnabled,
  ErrorPageEnabled, PluginsEnabled, FullScreenSupportEnabled, ScreenCaptureEnabled,
  WebGLEnabled, Accelerated2dCanvasEnabled, AutoLoadIconsForPage, TouchIconsEnabled,
  FocusOnNavigationEnabled, PrintElementBackgrounds, AllowRunningInsecureContent
}
 
enum  FxPersistentCookiesPolicy { NoPersistentCookies, AllowPersistentCookies, ForcePersistentCookies }
 
enum  FxLinkDelegationPolicy { DontDelegateLinks, DelegateExternalLinks, DelegateAllLinks }
 
- Protected Attributes inherited from CFxWebView
CFxWebWidgetManagerm_pManager
 

Detailed Description

Definition at line 254 of file FxWebWidgetInterfaces.h.

Constructor & Destructor Documentation

◆ CFxWebView2()

CFxWebView2::CFxWebView2 ( CFxWebWidgetManager pManager)

◆ ~CFxWebView2()

virtual CFxWebView2::~CFxWebView2 ( )
virtual

Member Function Documentation

◆ ClearCookies()

virtual void CFxWebView2::ClearCookies ( )
pure virtual

◆ ConnectToHttpResponseFinished()

virtual QMetaObject::Connection CFxWebView2::ConnectToHttpResponseFinished ( std::function< void(QNetworkReply *)>  slot)
pure virtual

◆ ConnectToLoadFinishedSignal()

virtual QMetaObject::Connection CFxWebView2::ConnectToLoadFinishedSignal ( std::function< void(bool)>  slot)
pure virtual

◆ ConnectToLoadProgressSignal()

virtual QMetaObject::Connection CFxWebView2::ConnectToLoadProgressSignal ( std::function< void(int progress)>  slot)
pure virtual

◆ ConnectToLoadStartedSignal()

virtual QMetaObject::Connection CFxWebView2::ConnectToLoadStartedSignal ( std::function< void(void)>  slot)
pure virtual

The documentation for this class was generated from the following file: