hi,
i have a qtextbrowser which shows some text with hrefs. clicking on a link
a new widget should be created and be shown. the link is not an url but only
a string which is interpreted in a slot connected to anchorClicked().
problem is that the textbrowser handles navigation automatically when
setSource is not be called in the slot. actually, i want the textbrowser do
nothing, i.e. i connect anchorClicked() to a slot, do something with the passed
string in the slot but the textbrowser should not do anything.
any chance to turn off the default handling of anchors?
best regards,
jh




Reply With Quote
Bookmarks