-
1 Attachment(s)
QComboBox and style
Hi,
while experimenting with NorwegianWoodStyle I tried to derive it from PlastiqueStyle rather than MotifStyle, everything is ok apart from the area arounf the combobox.
Since I'd like to make a custom style I can't understand how to fix it deriving from Plastique.
thanks for any help
-
Re: QComboBox and style
You may start from examining QPlastiqueStyle::drawComplexControl()... ;)
The plastique style most probably uses only a background color instead of a brush for drawing combo box's background.
-
Re: QComboBox and style
Thanks, I'll try to figure it out which enum tag represents combo box's background.
Anyone knows?
bye
-
Re: QComboBox and style
I'm pretty sure the background is drawn in QStyle::drawComplexControl(CC_ComboBox).