PDA

View Full Version : Own QT Pseudostate



LukasO
18th May 2011, 10:39
Hi,

to style my Widgets I use the QSS concept. In some cases I need my own QSS pseudo-states for a fast switching between the styles.

My question:
Is it possible to assign pseudo-states to my own custom widgets? Specifically, have some logic that tracks which of a set of custom widgets is "selected", and would like to be able to set the ":selected" pseudo state for that widget.

Thanks and regards,
Lukas

wysota
18th May 2011, 11:25
No, stylesheets do not support custom widgets.