Hi all,
anchorClicked signal is emitted when the user clicks an anchor in the QTextBrowser and the URL referred to by the anchor is passed in link. But this signal can not be connected to a slot having paramater. So i am connecting this signal as follows - connect(browser,SIGNAL(anchorClicked (const QUrl &)),this,SLOT(onResourcesLinkClick ()));.
so please tell me how to get the URL referred to by the anchor. QTextBrowser has a method
anchorAt, but how to get index(QPoint) for it.
Thanks in advance.
Bookmarks