I am working on a web browser with qt and I want to get the link when a user clicks on open in new tab. I know that I can use QWebEngineView::pageAction
to get the action QWebEnginePage::OpenLinkInNewTab
when the users clicks on open in new tab.Is there a way to retrieve the link when we click on open in new tab in QWebEngineView ? I have seen that I can use QWebEnginePage::createWindow
but I don't really understand how it works
没有评论:
发表评论