#include <webpage.h>
|
| | WebPage (QObject *parent=nullptr) |
| |
| | ~WebPage () override |
| |
| WebView * | view () const |
| |
| bool | execPrintPage (QPrinter *printer, int timeout=1000) |
| |
| QVariant | execJavaScript (const QString &scriptSource, quint32 worldId=UnsafeJsWorld, int timeout=500) |
| |
| QPointF | mapToViewport (const QPointF &pos) const |
| |
| WebHitTestResult | hitTestContent (const QPoint &pos) const |
| |
| void | scroll (int x, int y) |
| |
| void | setScrollPosition (const QPointF &pos) |
| |
| bool | javaScriptPrompt (const QUrl &securityOrigin, const QString &msg, const QString &defaultValue, QString *result) override |
| |
| bool | javaScriptConfirm (const QUrl &securityOrigin, const QString &msg) override |
| |
| void | javaScriptAlert (const QUrl &securityOrigin, const QString &msg) override |
| |
| void | javaScriptConsoleMessage (JavaScriptConsoleMessageLevel level, const QString &message, int lineNumber, const QString &sourceID) override |
| |
| QStringList | autoFillUsernames () const |
| |
| QUrl | registerProtocolHandlerRequestUrl () const |
| |
| QString | registerProtocolHandlerRequestScheme () const |
| |
| bool | isRunningLoop () |
| |
| bool | isLoading () const |
| |
Definition at line 38 of file webpage.h.
◆ JsWorld
| Enumerator |
|---|
| UnsafeJsWorld | |
| SafeJsWorld | |
Definition at line 43 of file webpage.h.
◆ WebPage()
| WebPage::WebPage |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~WebPage()
◆ addSupportedScheme()
| void WebPage::addSupportedScheme |
( |
const QString & |
scheme | ) |
|
|
static |
◆ autoFillUsernames()
| QStringList WebPage::autoFillUsernames |
( |
| ) |
const |
◆ execJavaScript()
| QVariant WebPage::execJavaScript |
( |
const QString & |
scriptSource, |
|
|
quint32 |
worldId = UnsafeJsWorld, |
|
|
int |
timeout = 500 |
|
) |
| |
◆ execPrintPage()
| bool WebPage::execPrintPage |
( |
QPrinter * |
printer, |
|
|
int |
timeout = 1000 |
|
) |
| |
◆ finished
| void WebPage::finished |
( |
| ) |
|
|
protectedslot |
◆ hitTestContent()
◆ internalSchemes()
| QStringList WebPage::internalSchemes |
( |
| ) |
|
|
static |
◆ isLoading()
| bool WebPage::isLoading |
( |
| ) |
const |
◆ isRunningLoop()
| bool WebPage::isRunningLoop |
( |
| ) |
|
◆ javaScriptAlert()
| void WebPage::javaScriptAlert |
( |
const QUrl & |
securityOrigin, |
|
|
const QString & |
msg |
|
) |
| |
|
override |
◆ javaScriptConfirm()
| bool WebPage::javaScriptConfirm |
( |
const QUrl & |
securityOrigin, |
|
|
const QString & |
msg |
|
) |
| |
|
override |
◆ javaScriptConsoleMessage()
| void WebPage::javaScriptConsoleMessage |
( |
JavaScriptConsoleMessageLevel |
level, |
|
|
const QString & |
message, |
|
|
int |
lineNumber, |
|
|
const QString & |
sourceID |
|
) |
| |
|
override |
◆ javaScriptPrompt()
| bool WebPage::javaScriptPrompt |
( |
const QUrl & |
securityOrigin, |
|
|
const QString & |
msg, |
|
|
const QString & |
defaultValue, |
|
|
QString * |
result |
|
) |
| |
|
override |
◆ mapToViewport()
| QPointF WebPage::mapToViewport |
( |
const QPointF & |
pos | ) |
const |
◆ navigationRequestAccepted
| void WebPage::navigationRequestAccepted |
( |
const QUrl & |
url, |
|
|
QWebEnginePage::NavigationType |
type, |
|
|
bool |
isMainFrame |
|
) |
| |
|
signal |
◆ printRequested
| void WebPage::printRequested |
( |
| ) |
|
|
signal |
◆ privacyChanged
| void WebPage::privacyChanged |
( |
bool |
status | ) |
|
|
signal |
◆ progress
| void WebPage::progress |
( |
int |
prog | ) |
|
|
protectedslot |
◆ registerProtocolHandlerRequestScheme()
| QString WebPage::registerProtocolHandlerRequestScheme |
( |
| ) |
const |
◆ registerProtocolHandlerRequestUrl()
| QUrl WebPage::registerProtocolHandlerRequestUrl |
( |
| ) |
const |
◆ removeSupportedScheme()
| void WebPage::removeSupportedScheme |
( |
const QString & |
scheme | ) |
|
|
static |
◆ scroll()
| void WebPage::scroll |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ setScrollPosition()
| void WebPage::setScrollPosition |
( |
const QPointF & |
pos | ) |
|
◆ supportedSchemes()
| QStringList WebPage::supportedSchemes |
( |
| ) |
|
|
static |
◆ view()
◆ WebView
The documentation for this class was generated from the following files: