PDA

View Full Version : How to get Line Number in QWebView



nish
16th December 2009, 14:02
Hi,
we are developing a epub reader and for that we have used QWebView to display the epub file. (epub file is nothing but simple html). So far so good .. everything is working fine..

For some reason i need to know the line number of the clicked position. I find no way to get the line number from QWebView/QWebPage... anybody know how to do that? or there is some another thing we should try?
There are some tricks on the net for getting the line number in a QTextEdit/QTextBrowser... but we can not use them coz they do not render images.

thanks :)