[PySide] use text as a button / hyperlink?

Aaron Richiger a.richi at bluewin.ch
Fri Apr 13 15:06:16 CEST 2012


Hello Frank!

There are at least two ways of doing this:

- Create your own ClickableLabel and emit your own signal for mouse clicks.
- Create your own HtmlLabel and use the QLabel-Signal: "linkActivated".

You can see a basic implementation of both possibilities in the 
following paste:

http://pastebin.com/Vaxg99P1

See you!
Aaron



More information about the PySide mailing list