[PySide] use text as a button / hyperlink?

Frank Rueter | OHUfx frank at ohufx.com
Sat Apr 14 05:41:56 CEST 2012


Thanks Aaron.
Option one is what I have done for now.


On 14/04/12 1:06 AM, Aaron Richiger wrote:
> 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
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside



More information about the PySide mailing list