[PySide] use text as a button / hyperlink?
Ludo Visser
ludo.visser at gmail.com
Fri Apr 13 11:47:43 CEST 2012
On Apr 13, 2012, at 9:39 am, Frank Rueter | OHUfx wrote:
> ah, I think the penny just dropped. I thought I need an actual "event"
> method in my class but I don't, and the event argument for the
> mousePressEvent simply holds the actual event object.
>
> is that correct?
>
That is correct. You could also reimplement the event function if you need custom behavior for your widget, but this seems not to be necessary in your case.
Bests,
Ludo
More information about the PySide
mailing list