How can i select text in qwebkit , and get the html Behind the selection ?
-
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.