Qt 6.11 is out! See what's new in the release
blog
How can i select text in qwebkit , and get the html Behind the selection ?
General and Desktop
3
Posts
2
Posters
2.2k
Views
1
Watching
-
Take a look at "this":http://doc.qt.nokia.com/4.7/webkit-simpleselector.html. It doesn't do exactly what you want, but its a good example for the use of QWebElement.
You could modify the example to use the selected text instead of using a text from a line edit. "QWebView::selectedText()":http://developer.qt.nokia.com/doc/qt-4.8/qwebview.html#selectedText-prop is what you may be looking for.