Hi all
I am quite new to QT and I want to get the mouse position when clicked on a web page. As far as I know there is a mousePressEvent function that can be used through the QWebView widgent. What I have done so fare is as follow
Qt Code:
// I have set a page to the webview QWebFrame* pFrame = webView->page()->mainFrame(); QWebElement document = pFrame->documentElement(); qDebug()<<(e->pos());To copy to clipboard, switch view to plain text mode
Obviously this does not work. So can anyone help me please how to make this work?
Thanks in advance
Bookmarks