ejoshva
2nd May 2015, 08:09
I am porting from QGraphicsWebView from QWebEngineView
I want to emit linkClicked(QUrl) signal, when a href is clicked on the QWebEnginePage similar to the ones found in QWebPage.
The signals found in QWebEnginePage are as below but not able to find linkClicked(QUrl).
void authenticationRequired(const QUrl & requestUrl, QAuthenticator * authenticator)
void featurePermissionRequestCanceled(const QUrl & securityOrigin, QWebEnginePage::Feature feature)
void featurePermissionRequested(const QUrl & securityOrigin, QWebEnginePage::Feature feature)
void geometryChangeRequested(const QRect & geom)
void iconUrlChanged(const QUrl & url)
void linkHovered(const QString & url)
void loadFinished(bool ok)
void loadProgress(int progress)
void loadStarted()
void proxyAuthenticationRequired(const QUrl & requestUrl, QAuthenticator * authenticator, const QString & proxyHost)
void selectionChanged()
void titleChanged(const QString & title)
void urlChanged(const QUrl & url)
void windowCloseRequested()
http://doc.qt.io/qt-5/qwebenginepage.html
How to emulate linkClickedSignal(QUrl)
Any help will be of great use. Thanks
I want to emit linkClicked(QUrl) signal, when a href is clicked on the QWebEnginePage similar to the ones found in QWebPage.
The signals found in QWebEnginePage are as below but not able to find linkClicked(QUrl).
void authenticationRequired(const QUrl & requestUrl, QAuthenticator * authenticator)
void featurePermissionRequestCanceled(const QUrl & securityOrigin, QWebEnginePage::Feature feature)
void featurePermissionRequested(const QUrl & securityOrigin, QWebEnginePage::Feature feature)
void geometryChangeRequested(const QRect & geom)
void iconUrlChanged(const QUrl & url)
void linkHovered(const QString & url)
void loadFinished(bool ok)
void loadProgress(int progress)
void loadStarted()
void proxyAuthenticationRequired(const QUrl & requestUrl, QAuthenticator * authenticator, const QString & proxyHost)
void selectionChanged()
void titleChanged(const QString & title)
void urlChanged(const QUrl & url)
void windowCloseRequested()
http://doc.qt.io/qt-5/qwebenginepage.html
How to emulate linkClickedSignal(QUrl)
Any help will be of great use. Thanks