PyQt4: Clickable links in QLabel?

Tina I tinaweb at bestemselv.com
Thu Mar 1 03:00:14 EST 2007


Hi everyone,

A short and sweet question: Is it possible to put a clickable link in a 
QLabel that will open in the systems default browser?
I tried to put in some HTML but it did (of course?) simply display the 
code instead of a link. I also tried to set openExternalLinks 'true' but 
then pyuic4 bombed.
I see that QLabel does not have a html text format but I'm still hoping 
it's possible. I really need a link on my main window form.

Thanks
Tina



More information about the Python-list mailing list