28 #ifndef dooble_web_engine_view_h
29 #define dooble_web_engine_view_h
32 #include <QWebEngineView>
44 QWebEngineProfile *web_engine_profile(
void)
const;
45 bool is_private(
void)
const;
46 void download(
const QString &file_name,
const QUrl &url);
47 void save(
const QString &file_name);
48 void set_feature_permission(
const QUrl &security_origin,
49 QWebEnginePage::Feature feature,
50 QWebEnginePage::PermissionPolicy policy);
53 QSize sizeHint(
void)
const;
55 void contextMenuEvent(QContextMenuEvent *event);
56 void resizeEvent(QResizeEvent *event);
59 QList<dooble_web_engine_view *> m_dialog_requests;
60 QTimer m_dialog_requests_timer;
65 void slot_accept_or_block_domain(
void);
66 void slot_certificate_exception_accepted(
const QUrl &url);
67 void slot_create_dialog_requests(
void);
68 void slot_load_progress(
int progress);
69 void slot_load_started(
void);
70 void slot_open_link_in_current_page(
void);
71 void slot_open_link_in_new_private_window(
void);
72 void slot_open_link_in_new_tab(
void);
73 void slot_open_link_in_new_window(
void);
74 void slot_search(
void);
75 void slot_settings_applied(
void);
82 #if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
83 void downloadRequested(QWebEngineDownloadItem *download);
85 void downloadRequested(QWebEngineDownloadRequest *download);
87 void featurePermissionRequestCanceled(
const QUrl &security_origin,
88 QWebEnginePage::Feature feature);
89 void featurePermissionRequested(
const QUrl &security_origin,
90 QWebEnginePage::Feature feature);
91 void open_link_in_current_page(
const QUrl &url);
92 void open_link_in_new_private_window(
const QUrl &url);
93 void open_link_in_new_tab(
const QUrl &url);
94 void open_link_in_new_window(
const QUrl &url);
95 #if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
96 void printRequested(
void);
98 void windowCloseRequested(
void);
Definition: dooble_web_engine_page.h:37
Definition: dooble_web_engine_view.h:37