Show/Hide signal...

Added by Plug Gulp 10 months ago

Hi,

What signal should I handle so that the code understands when a widget is shown or hidden? E.g. say I have a push button, and within the code I show or hide the button on some condition. Now, say some other part of the code needs to know when the button is shown or hidden. So what signal will the push button widget emit to indicate that it is hidden/shown?

Thanks and regards,

~Plug


Replies (1)

RE: Show/Hide signal... - Added by Koen Deforche 10 months ago

Hey,

There is no such signal by default, but you can do it by specializing the button and reimplement setHidden() to emit a signal of your choice.

Regards,
koen

(1-1/1)