how is it possible to make the background of the dropdown list of a QComboBox semi transparent?
thank you in advance for your help
how is it possible to make the background of the dropdown list of a QComboBox semi transparent?
thank you in advance for your help
i tried
Qt Code:
cbox->view()->setWindowOpacity(.5);To copy to clipboard, switch view to plain text mode
and also
Qt Code:
cbox->view()->setPalette(pal);To copy to clipboard, switch view to plain text mode
both does not work
it does not make any difference...
i am in style plastique, i got the feeling a background color is written first then the 50% opacity is added on top.. how to make sure there is no background paint on this wiget
You may have to provide a custom delegate to the view. One that does not paint the background or does it with translucency.
Bookmarks