You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, May 26th 2009, 7:51pm

QComboBox + background color stylesheet -- bug ?

I apply these stylesheets to a qcombobox
QComboBox:on
QComboBox:off
QComboBox::drop-down
QComboBox QAbstractItemView

The result is always perfect.

but when i apply a simple QComboBox {background-color: blue;} , the combobox completly changes and checkboxes are appearing in the drop down list.

Am i doing something wrong, or is it a bug ?
I'd like to hide all these checkboxes, the only thing i want is to paint the current selection background, keeping the existing properties of the combobox.
I hope someone can help me
Thank you

2

Tuesday, February 9th 2010, 4:19pm

Hi meatou,

Did you find the solution for it. I too facing the same issue on my application.

please anyone provide the solution for it.