PDA

View Full Version : QPopup BGColor Issue



AP.Sakkthivel
18th July 2006, 07:55
Hi to all,

I am about to work in QStyle class to create my own
custom style.
Now I am dealing with QPopupmenu.

I am able to change the popupmenu background using
QStyle::drawControl () API.

Bt, I am not able to change the default color when
the menu item got focus, it is always have blue color selection.

I need a solution to change the background color when it gets focus instead
of blue color, i need to give some other color or pattern.

Thanks in Advance

wysota
19th August 2006, 12:25
Which Qt version are we talking about here? Did you try by modifying the default palette for the style?