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
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