[Qt-interest] Setting a hypertext in my QTextBrowser problem!
Sahar Payandeh
s.payandeh at gmail.com
Thu Jan 1 13:04:56 CET 2009
I want to set MimeSourceFactory in my QTextBrowser , I use the code in
below, but my program intrupt during click on a hypertext :
textBrowser = QTextBrowser ()
mime = QMimeSourceFactory()
mime.defaultFactory().setText("some tag","some tag")
textBrowser.setMimeSourceFactory( mime )
.
.
.
textBrowser.append(' <a href = " some tag " > some tag </a>
<http://www.nabble.com/forum/some%20tag>')
...
I want to use " linkClicked" signal to show a message to user while clicking
on "some tag" hypertext, would you please help me and guide with some
example code?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090101/2ac04f2a/attachment.html
More information about the Qt-interest-old
mailing list