Finding what the stylesheet elements in a QCheckBox are
-
Hi. I am trying to change the stylesheet of a QCheckBox, and am having trouble understanding what the "indicator" element might be from the examples, so I went to the QCheckBox documentation, but was unable to find an element like that documented in the stylesheet context.
I am unsure where to find documentation that lists out the available stylesheet elements of a QCheckBox, as the stylesheet examples seem to be only examples, and not the full documentation. What would be a good starting poin for finding the stylesheet elements?
-
The
::indicator
sub-control lets you customize the check 'icon' appearance of a QCheckBox and other widgets, for instance:Unchecked:
Checked:Start by looking at the Qt Style Sheets Examples. And to have a deep understanding, you could check the Qt Style Sheets Reference.
-
The
::indicator
sub-control lets you customize the check 'icon' appearance of a QCheckBox and other widgets, for instance:Unchecked:
Checked:Start by looking at the Qt Style Sheets Examples. And to have a deep understanding, you could check the Qt Style Sheets Reference.
@SamurayH The stylesheet full reference is what I'm looking for. Thanks!
-
Hi,