[Qt-interest] Target attribute from QUrl.

Niegodziwy Beru niegodziwy.beru at gmail.com
Mon Mar 22 11:16:58 CET 2010


Hi. I have QTextBrowser widget, and html that contain "a" tags with
"target" attributes. I can use anchorClicked() signal to catch urls
("href" attribute value). I wonder is there any way to get "target"
attribute value. I search in Qt documentation but I don't found
anything.

For example - how to get "jkl" string when user click on this link?
simple text <a href=\"asdf.hml\" target=\"jkl\">link</a>

-- 
Ad maiorem Dei gloriam



More information about the Qt-interest-old mailing list