Hi,
First I am new to the qcentre forums and I would like to introduce myself. My name is Susan and am fairly new to Qt4 (I've experience with Qt3); I have been working with it for the last couple of months.
I am working on a prototype and have to apply custom colors to almost everything. This is really easy to do with ColorRoles, etc. in widget palettes. But I have been stumped when trying to apply a color to a popup or pulldown menu.
For example, the menu that is displayed when a combo box is activated needs a specific color. I haven't been able to figure out how to do that. When I access the backgroundRole or foregroundRole of the QAbstractItemView (via the ::view() method), it is Window and WindowText respectively, and when set the view's palette (setting these roles to different colors) I get no change in color!
Any hints on what needs to be done for menus?
Much appreciated in advance,
Susan Macchia
Bookmarks