CFx SDK Documentation  2020SP3
FxWebWidgetInterfaces.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxPragmaPush.h"
20 
21 #include "DDKERNEL.h"
22 
23 #include "FxString.h"
24 
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>
30 
31 class QWidget;
32 class QAction;
33 class QNetworkCookie;
34 class QNetworkAccessManager;
35 class QPrinter;
36 
38 
47 {
48 public:
50  virtual ~CFxWebView();
51 
52 public:
56  {
57  NoWebAction = -1,
62 
63  Cut,
66 
71 
73 
79 
83 
90 
98  WebActionCount
99  };
100 
104  {
105  FindBackward = 1,
106  FindCaseSensitively = 2,
107  FindWrapsAroundDocument = 4,
108  HighlightAllOccurrences = 8,
109  FindAtWordBeginningsOnly = 16,
110  TreatMedialCapitalAsWordBeginning = 32,
111  FindBeginsInSelection = 64
112  };
113 
117  {
140  AllowRunningInsecureContent
141  };
142 
146  {
149  ForcePersistentCookies
150  };
151 
155  {
158  DelegateAllLinks
159  };
160 
161 public:
164  virtual QWidget* GetWidget() = 0;
165  virtual const QWidget* GetWidget() const = 0;
166 
169 public:
170 
171  virtual void Load( const CFxString& sURL );
172  virtual void SetURL( const CFxString& sURL );
173 
174  virtual void Load( const QString& sURL ) = 0;
175  virtual void Load( const QUrl& url ) = 0;
176  virtual void Load( const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray &body = QByteArray() ) = 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;
179 
180  virtual QString GetTitle() const = 0;
181  virtual void SetURL( const QUrl &url ) = 0;
182  virtual void SetURL( const QString& sURL ) = 0;
183  virtual QUrl GetURL() const = 0;
184  virtual QIcon GetIcon() const = 0;
185 
186  virtual bool HasSelection() const = 0;
187  virtual QString GetSelectedText() const = 0;
188  virtual QString GetSelectedHtml() const = 0;
189 
190  virtual QAction* GetPageAction( FxWebAction eAction ) const = 0;
191  virtual void TriggerPageAction( FxWebAction eAction, bool bChecked = false ) = 0;
192 
193  virtual bool IsModified() const = 0;
194 
195  virtual double GetZoomFactor() const = 0;
196  virtual void SetZoomFactor( double dFactor ) = 0;
197 
198  virtual void SetTextSizeMultiplier( double dFactor ) = 0;
199  virtual double GetTextSizeMultiplier() const = 0;
200 
201  virtual QSize GetPreferredContentsSize() = 0;
202 
203  virtual QPainter::RenderHints GetRenderHints() const = 0;
204  virtual void SetRenderHints( QPainter::RenderHints hints ) = 0;
205  virtual void SetRenderHint( QPainter::RenderHint hint, bool bEnabled = true ) = 0;
206 
207  virtual bool FindText( const QString& subString, FxFindFlag options = ( FxFindFlag )0 ) = 0;
208 
209  // Set default user agent string. If the passed user agent string is empty,
210  // the default user agent string is cleared and the sent string depends on the
211  // underlying implementation.
212  virtual void SetDefaultUserAgentString( const QString &userAgentString ) = 0;
213  // Set user agent string for a specific URL. Scheme and authority are used for matching.
214  // If the passed user agent string is empty, the entry is removed.
215  virtual void SetUserAgentString( const QUrl &url, const QString &userAgentString ) = 0;
216  // Get default user agent string.
217  virtual QString GetDefaultUserAgentString() = 0;
218  // Get URL-specific user agent strings.
220  // Clear default user agent string.
221  virtual void ClearDefaultUserAgentString() = 0;
222  // Clear URL-specific user agent string.
223  virtual void ClearUserAgentString( const QUrl &url ) = 0;
224  // Clear all URL-specifc user agent strings.
225  virtual void ClearUserAgentStrings() = 0;
226  // Sets whether the cache is enabled or disabled.
227  virtual void SetCacheEnabled( bool bEnable ) = 0;
228 
229 public:
230  virtual void DoStop() = 0;
231  virtual void DoBack() = 0;
232  virtual void DoForward() = 0;
233  virtual void DoReload() = 0;
234 
235  virtual void DoPrint( QPrinter* ) const = 0;
236 
237 public:
238  virtual void SetLinkDelegationPolicy( FxLinkDelegationPolicy linkDelegationPolicy ) = 0;
240  virtual void SetSettingsAttribute( FxWebAttribute eAttribute, bool bEnable ) = 0;
242  virtual QObject* GetCookieStoreForDefaultProfile() = 0;
243  virtual void SetCookieForDefaultProfile( QNetworkCookie* pCookie ) = 0;
244  virtual void SetNetworkAccessManager( QNetworkAccessManager * manager ) = 0;
245  virtual QMetaObject::Connection ConnectToLinkClickedSignal( std::function<void( const QUrl& )> slot ) = 0;
246  virtual QMetaObject::Connection ConnectToContentChangedSignal( std::function<void( void )> slot ) = 0;
247  virtual QMetaObject::Connection ConnectToGeometryChangeRequestedSignal( std::function<void( const QRect& )> slot ) = 0;
248  virtual QMetaObject::Connection ConnectToRepaintRequestedSignal( std::function<void( const QRect& )> slot ) = 0;
249 
250 protected:
252 };
253 
255 {
256 public:
258  virtual ~CFxWebView2();
259 
260  virtual void ClearCookies() = 0;
261 
262  virtual QMetaObject::Connection ConnectToLoadStartedSignal( std::function<void( void )> slot ) = 0;
263  virtual QMetaObject::Connection ConnectToLoadProgressSignal( std::function<void( int progress )> slot ) = 0;
264  virtual QMetaObject::Connection ConnectToLoadFinishedSignal( std::function<void( bool )> slot ) = 0;
265  virtual QMetaObject::Connection ConnectToHttpResponseFinished( std::function<void( QNetworkReply * )> slot ) = 0;
266 };
267 
268 
270 {
271 public:
273  virtual ~CFxWebView3();
274 
275  virtual QMetaObject::Connection ConnectToRepaintRequestedSignalWebEngine(std::function<void(bool)> slot) = 0;
276  virtual QMetaObject::Connection ConnectToContentsSizeChangedSignal(std::function<void(const QSizeF&)> slot) = 0;
277  virtual QMetaObject::Connection ConnectToUrlChangedSignal(std::function<void(const QUrl&)> slot) = 0;
278 };
279 
280 
282 
289 {
290 public:
293 
294 protected:
295  friend class CFxWebWidgetManager;
296  virtual CFxWebView* CreateView( CFxWebWidgetManager* pManager ) = 0;
297 
298 };
299 
301 
302 class CFxWebWidgetManagerImpl;
303 
309 class DDKERNEL_API CFxWebWidgetManager : public QObject
310 {
311  Q_OBJECT
312 public:
314 
318 
319  void SetFactory( CFxWebWidgetFactory* pFactory );
320 
324 
325 public slots:
326  bool UnloadModule();
327 
328 protected:
329  friend class CFxWebView;
330  void OnViewDeleted( CFxWebView* pView );
331 
332 protected:
334 
335  bool CheckModule();
336  bool LoadModule();
337 
338 protected:
339  CFxWebWidgetManagerImpl* m_pImpl;
340 
341 };
342 
343 #include "FxPragmaPop.h"
CFxWebView::ReloadAndBypassCache
@ ReloadAndBypassCache
Definition: FxWebWidgetInterfaces.h:70
CFxWebView::SetPersistentCookiesPolicyForDefaultProfile
virtual void SetPersistentCookiesPolicyForDefaultProfile(FxPersistentCookiesPolicy ePolicy)=0
CFxWebView::SetCacheEnabled
virtual void SetCacheEnabled(bool bEnable)=0
FxPragmaPop.h
CFxWebView::TriggerPageAction
virtual void TriggerPageAction(FxWebAction eAction, bool bChecked=false)=0
CFxWebView::WebGLEnabled
@ WebGLEnabled
Definition: FxWebWidgetInterfaces.h:134
CFxWebView::FxPersistentCookiesPolicy
FxPersistentCookiesPolicy
Definition: FxWebWidgetInterfaces.h:146
CFxWebWidgetFactory::~CFxWebWidgetFactory
virtual ~CFxWebWidgetFactory()
CFxWebView::SetURL
virtual void SetURL(const CFxString &sURL)
OdGiVisualStyleOperations::Operation
Operation
Definition: GiVisualStyle.h:980
CFxWebView
Definition: FxWebWidgetInterfaces.h:47
CFxWebView3
Definition: FxWebWidgetInterfaces.h:270
CFxWebWidgetManager::CFxWebWidgetManager
CFxWebWidgetManager()
CFxWebView::FullScreenSupportEnabled
@ FullScreenSupportEnabled
Definition: FxWebWidgetInterfaces.h:132
CFxWebView::DontDelegateLinks
@ DontDelegateLinks
Definition: FxWebWidgetInterfaces.h:156
CFxWebView::Reload
@ Reload
Definition: FxWebWidgetInterfaces.h:61
CFxWebView::FxWebAttribute
FxWebAttribute
Definition: FxWebWidgetInterfaces.h:117
CFxWebView::GetTextSizeMultiplier
virtual double GetTextSizeMultiplier() const =0
CFxWebWidgetFactory::CFxWebWidgetFactory
CFxWebWidgetFactory()
CFxWebView::Load
virtual void Load(const QString &sURL)=0
CFxWebView::GetURL
virtual QUrl GetURL() const =0
CFxWebView::OpenLinkInNewTab
@ OpenLinkInNewTab
Definition: FxWebWidgetInterfaces.h:76
CFxWebView::NoPersistentCookies
@ NoPersistentCookies
Definition: FxWebWidgetInterfaces.h:147
CFxWebView::ScreenCaptureEnabled
@ ScreenCaptureEnabled
Definition: FxWebWidgetInterfaces.h:133
CFxWebView::CopyLinkToClipboard
@ CopyLinkToClipboard
Definition: FxWebWidgetInterfaces.h:77
CFxWebView::SetHtml
virtual void SetHtml(const QString &html, const QUrl &baseUrl=QUrl())=0
CFxWebView::ErrorPageEnabled
@ ErrorPageEnabled
Definition: FxWebWidgetInterfaces.h:130
CFxWebView::SetZoomFactor
virtual void SetZoomFactor(double dFactor)=0
CFxWebView::Load
virtual void Load(const QUrl &url)=0
CFxWebView::LocalContentCanAccessRemoteUrls
@ LocalContentCanAccessRemoteUrls
Definition: FxWebWidgetInterfaces.h:124
CFxWebView::PluginsEnabled
@ PluginsEnabled
Definition: FxWebWidgetInterfaces.h:131
CFxWebView::GetIcon
virtual QIcon GetIcon() const =0
CFxWebView::ToggleMediaControls
@ ToggleMediaControls
Definition: FxWebWidgetInterfaces.h:85
CFxWebView::InspectElement
@ InspectElement
Definition: FxWebWidgetInterfaces.h:91
CFxWebView::CFxWebView
CFxWebView(CFxWebWidgetManager *pManager)
CFxWebView::DoForward
virtual void DoForward()=0
CFxWebView::Copy
@ Copy
Definition: FxWebWidgetInterfaces.h:64
CFxWebView3::ConnectToContentsSizeChangedSignal
virtual QMetaObject::Connection ConnectToContentsSizeChangedSignal(std::function< void(const QSizeF &)> slot)=0
CFxWebView::GetCookieStoreForDefaultProfile
virtual QObject * GetCookieStoreForDefaultProfile()=0
CFxWebView3::ConnectToUrlChangedSignal
virtual QMetaObject::Connection ConnectToUrlChangedSignal(std::function< void(const QUrl &)> slot)=0
CFxWebView::ToggleMediaLoop
@ ToggleMediaLoop
Definition: FxWebWidgetInterfaces.h:86
CFxWebView::ToggleMediaPlayPause
@ ToggleMediaPlayPause
Definition: FxWebWidgetInterfaces.h:87
CFxWebView::~CFxWebView
virtual ~CFxWebView()
CFxWebView::Unselect
@ Unselect
Definition: FxWebWidgetInterfaces.h:94
CFxWebWidgetManager::SetFactory
void SetFactory(CFxWebWidgetFactory *pFactory)
DDKERNEL.h
CFxWebView::HasSelection
virtual bool HasSelection() const =0
CFxWebView2::ConnectToHttpResponseFinished
virtual QMetaObject::Connection ConnectToHttpResponseFinished(std::function< void(QNetworkReply *)> slot)=0
FxString.h
CFxWebView::DelegateExternalLinks
@ DelegateExternalLinks
Definition: FxWebWidgetInterfaces.h:157
CFxWebView::ConnectToGeometryChangeRequestedSignal
virtual QMetaObject::Connection ConnectToGeometryChangeRequestedSignal(std::function< void(const QRect &)> slot)=0
CFxWebView::OpenLinkInNewBackgroundTab
@ OpenLinkInNewBackgroundTab
Definition: FxWebWidgetInterfaces.h:96
CFxWebView::AutoLoadIconsForPage
@ AutoLoadIconsForPage
Definition: FxWebWidgetInterfaces.h:136
CFxWebWidgetManager::~CFxWebWidgetManager
virtual ~CFxWebWidgetManager()
CFxWebView::DownloadMediaToDisk
@ DownloadMediaToDisk
Definition: FxWebWidgetInterfaces.h:89
CFxWebView2::~CFxWebView2
virtual ~CFxWebView2()
CFxWebView::JavascriptEnabled
@ JavascriptEnabled
Definition: FxWebWidgetInterfaces.h:119
CFxWebView2::ConnectToLoadFinishedSignal
virtual QMetaObject::Connection ConnectToLoadFinishedSignal(std::function< void(bool)> slot)=0
data
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
Definition: gles2_ext.h:110
CFxWebView::PrintElementBackgrounds
@ PrintElementBackgrounds
Definition: FxWebWidgetInterfaces.h:139
CFxWebWidgetManager::UnloadModule
bool UnloadModule()
CFxWebView2::ConnectToLoadProgressSignal
virtual QMetaObject::Connection ConnectToLoadProgressSignal(std::function< void(int progress)> slot)=0
CFxWebView::SetDefaultUserAgentString
virtual void SetDefaultUserAgentString(const QString &userAgentString)=0
CFxWebView::ConnectToRepaintRequestedSignal
virtual QMetaObject::Connection ConnectToRepaintRequestedSignal(std::function< void(const QRect &)> slot)=0
CFxWebView::LinksIncludedInFocusChain
@ LinksIncludedInFocusChain
Definition: FxWebWidgetInterfaces.h:122
CFxWebView::SetRenderHints
virtual void SetRenderHints(QPainter::RenderHints hints)=0
CFxWebView::ToggleMediaMute
@ ToggleMediaMute
Definition: FxWebWidgetInterfaces.h:88
CFxWebView::GetSelectedHtml
virtual QString GetSelectedHtml() const =0
CFxWebView::GetWidget
virtual const QWidget * GetWidget() const =0
CFxWebView::ClearUserAgentStrings
virtual void ClearUserAgentStrings()=0
CFxWebView::CopyImageToClipboard
@ CopyImageToClipboard
Definition: FxWebWidgetInterfaces.h:80
CFxWebView::SetContent
virtual void SetContent(const QByteArray &data, const QString &sMimeType=QString(), const QUrl &baseUrl=QUrl())=0
CFxWebView::SelectAll
@ SelectAll
Definition: FxWebWidgetInterfaces.h:69
CFxWebView::ScrollAnimatorEnabled
@ ScrollAnimatorEnabled
Definition: FxWebWidgetInterfaces.h:129
CFxWebView::XSSAuditingEnabled
@ XSSAuditingEnabled
Definition: FxWebWidgetInterfaces.h:125
CFxString
Definition: FxString.h:48
CFxWebView::Load
virtual void Load(const QNetworkRequest &request, QNetworkAccessManager::Operation operation=QNetworkAccessManager::GetOperation, const QByteArray &body=QByteArray())=0
CFxWebView::AutoLoadImages
@ AutoLoadImages
Definition: FxWebWidgetInterfaces.h:118
CFxWebView::PasteAndMatchStyle
@ PasteAndMatchStyle
Definition: FxWebWidgetInterfaces.h:72
CFxWebView2::CFxWebView2
CFxWebView2(CFxWebWidgetManager *pManager)
CFxWebView::SetSettingsAttribute
virtual void SetSettingsAttribute(FxWebAttribute eAttribute, bool bEnable)=0
CFxWebView::SetURL
virtual void SetURL(const QUrl &url)=0
CFxWebView::FocusOnNavigationEnabled
@ FocusOnNavigationEnabled
Definition: FxWebWidgetInterfaces.h:138
CFxWebView3::CFxWebView3
CFxWebView3(CFxWebWidgetManager *pManager)
CFxWebWidgetManager
Definition: FxWebWidgetInterfaces.h:310
CFxWebView::GetPreferredContentsSize
virtual QSize GetPreferredContentsSize()=0
CFxWebWidgetFactory::CreateView
virtual CFxWebView * CreateView(CFxWebWidgetManager *pManager)=0
CFxWebView::ExitFullScreen
@ ExitFullScreen
Definition: FxWebWidgetInterfaces.h:92
CFxWebView::IsModified
virtual bool IsModified() const =0
CFxWebView::HyperlinkAuditingEnabled
@ HyperlinkAuditingEnabled
Definition: FxWebWidgetInterfaces.h:128
CFxWebView::CopyMediaUrlToClipboard
@ CopyMediaUrlToClipboard
Definition: FxWebWidgetInterfaces.h:84
CFxWebView::GetSelectedText
virtual QString GetSelectedText() const =0
CFxWebView::Cut
@ Cut
Definition: FxWebWidgetInterfaces.h:63
CFxWebView::DownloadImageToDisk
@ DownloadImageToDisk
Definition: FxWebWidgetInterfaces.h:82
CFxWebView::JavascriptCanAccessClipboard
@ JavascriptCanAccessClipboard
Definition: FxWebWidgetInterfaces.h:121
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxWebView::LocalContentCanAccessFileUrls
@ LocalContentCanAccessFileUrls
Definition: FxWebWidgetInterfaces.h:127
CFxWebView::GetLinkDelegationPolicy
virtual FxLinkDelegationPolicy GetLinkDelegationPolicy()=0
CFxWebView::SavePage
@ SavePage
Definition: FxWebWidgetInterfaces.h:95
CFxWebView::Accelerated2dCanvasEnabled
@ Accelerated2dCanvasEnabled
Definition: FxWebWidgetInterfaces.h:135
CFxWebView::SetRenderHint
virtual void SetRenderHint(QPainter::RenderHint hint, bool bEnabled=true)=0
CFxWebView::CopyImageUrlToClipboard
@ CopyImageUrlToClipboard
Definition: FxWebWidgetInterfaces.h:81
CFxWebView::GetZoomFactor
virtual double GetZoomFactor() const =0
CFxWebView::DoPrint
virtual void DoPrint(QPrinter *) const =0
CFxWebView::AllowPersistentCookies
@ AllowPersistentCookies
Definition: FxWebWidgetInterfaces.h:148
CFxWebView::RequestClose
@ RequestClose
Definition: FxWebWidgetInterfaces.h:93
CFxWebView::DownloadLinkToDisk
@ DownloadLinkToDisk
Definition: FxWebWidgetInterfaces.h:78
CFxWebView::GetUserAgentStrings
virtual QMap< QUrl, QString > GetUserAgentStrings()=0
CFxWebWidgetManager::LoadModule
bool LoadModule()
CFxWebView::GetPageAction
virtual QAction * GetPageAction(FxWebAction eAction) const =0
CFxWebWidgetManager::CheckModule
bool CheckModule()
CFxWebView::DoStop
virtual void DoStop()=0
CFxWebView::LocalStorageEnabled
@ LocalStorageEnabled
Definition: FxWebWidgetInterfaces.h:123
CFxWebView2
Definition: FxWebWidgetInterfaces.h:255
CFxWebView::GetDefaultUserAgentString
virtual QString GetDefaultUserAgentString()=0
CFxWebWidgetManager::m_pImpl
CFxWebWidgetManagerImpl * m_pImpl
Definition: FxWebWidgetInterfaces.h:339
CFxWebView::GetWidget
virtual QWidget * GetWidget()=0
CFxWebView::m_pManager
CFxWebWidgetManager * m_pManager
Definition: FxWebWidgetInterfaces.h:251
CFxWebView::SetUserAgentString
virtual void SetUserAgentString(const QUrl &url, const QString &userAgentString)=0
CFxWebView::Redo
@ Redo
Definition: FxWebWidgetInterfaces.h:68
CFxWebView::SetTextSizeMultiplier
virtual void SetTextSizeMultiplier(double dFactor)=0
CFxWebView::TouchIconsEnabled
@ TouchIconsEnabled
Definition: FxWebWidgetInterfaces.h:137
CFxWebView2::ConnectToLoadStartedSignal
virtual QMetaObject::Connection ConnectToLoadStartedSignal(std::function< void(void)> slot)=0
CFxWebView::Stop
@ Stop
Definition: FxWebWidgetInterfaces.h:60
CFxWebView::Forward
@ Forward
Definition: FxWebWidgetInterfaces.h:59
CFxWebWidgetFactory
Definition: FxWebWidgetInterfaces.h:289
CFxWebView::FxLinkDelegationPolicy
FxLinkDelegationPolicy
Definition: FxWebWidgetInterfaces.h:155
CFxWebView::FxFindFlag
FxFindFlag
Definition: FxWebWidgetInterfaces.h:104
CFxWebWidgetManager::CreateView
CFxWebView * CreateView()
CFxWebView::SetLinkDelegationPolicy
virtual void SetLinkDelegationPolicy(FxLinkDelegationPolicy linkDelegationPolicy)=0
CFxWebView::SetNetworkAccessManager
virtual void SetNetworkAccessManager(QNetworkAccessManager *manager)=0
CFxWebView::OpenLinkInNewWindow
@ OpenLinkInNewWindow
Definition: FxWebWidgetInterfaces.h:75
QMap
Definition: FxFileData.h:28
CFxWebView::Paste
@ Paste
Definition: FxWebWidgetInterfaces.h:65
FxPragmaPush.h
CFxWebView::Back
@ Back
Definition: FxWebWidgetInterfaces.h:58
CFxWebView::ClearDefaultUserAgentString
virtual void ClearDefaultUserAgentString()=0
CFxWebView::SetCookieForDefaultProfile
virtual void SetCookieForDefaultProfile(QNetworkCookie *pCookie)=0
CFxWebView::FindText
virtual bool FindText(const QString &subString, FxFindFlag options=(FxFindFlag) 0)=0
CFxWebView::Undo
@ Undo
Definition: FxWebWidgetInterfaces.h:67
CFxWebView3::ConnectToRepaintRequestedSignalWebEngine
virtual QMetaObject::Connection ConnectToRepaintRequestedSignalWebEngine(std::function< void(bool)> slot)=0
CFxWebView::SetURL
virtual void SetURL(const QString &sURL)=0
CFxWebView::Load
virtual void Load(const CFxString &sURL)
CFxWebView::ConnectToLinkClickedSignal
virtual QMetaObject::Connection ConnectToLinkClickedSignal(std::function< void(const QUrl &)> slot)=0
CFxWebView::OpenLinkInThisWindow
@ OpenLinkInThisWindow
Definition: FxWebWidgetInterfaces.h:74
CFxWebView::SpatialNavigationEnabled
@ SpatialNavigationEnabled
Definition: FxWebWidgetInterfaces.h:126
CFxWebView::JavascriptCanOpenWindows
@ JavascriptCanOpenWindows
Definition: FxWebWidgetInterfaces.h:120
CFxWebWidgetManager::OnViewDeleted
void OnViewDeleted(CFxWebView *pView)
CFxWebWidgetManager::GetManager
static CFxWebWidgetManager * GetManager()
CFxWebView::ConnectToContentChangedSignal
virtual QMetaObject::Connection ConnectToContentChangedSignal(std::function< void(void)> slot)=0
CFxWebView2::ClearCookies
virtual void ClearCookies()=0
CFxWebView::DoBack
virtual void DoBack()=0
CFxWebView::ClearUserAgentString
virtual void ClearUserAgentString(const QUrl &url)=0
CFxWebView::GetRenderHints
virtual QPainter::RenderHints GetRenderHints() const =0
CFxWebView::ViewSource
@ ViewSource
Definition: FxWebWidgetInterfaces.h:97
CFxWebView::DoReload
virtual void DoReload()=0
CFxWebView::FxWebAction
FxWebAction
Definition: FxWebWidgetInterfaces.h:56
CFxWebView3::~CFxWebView3
virtual ~CFxWebView3()
CFxWebView::GetTitle
virtual QString GetTitle() const =0