[PyQt] using url in QTextEdit problem.
s.payandeh at gmail.com
Tue Dec 9 12:26:46 GMT 2008
I would like to add URL type tags to the text that gets printed in QTextEdit
window, and if clicked I can get a function called. For that, but I have a
I use this code:
textEdit = QTextEdit( self )
textEdit.moveCursor( QTextEdit.MoveEnd,False )
textEdit.append( ' http://www.w3schools.com my Page ' )
In textEdit window that is showed, I can see "my page" that is written in
blue and underlined, just like a web browser, but it isn't clickable. :(
what is the problem? what should I do?
View this message in context: http://www.nabble.com/using-url-in-QTextEdit-problem.-tp20913744p20913744.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt