[Qt-interest] change color of menu item
Efan...
efanharris at gmail.com
Wed Aug 5 02:26:25 CEST 2009
Hi Donal,QMenuItem is not derived from widget, it is derived from QAction
and it does not have setStyleSheet() .. :(:(
On Tue, Aug 4, 2009 at 2:35 PM, Donal O'Connor <donaloconnor at gmail.com>wrote:
> myMenuItem->setStyleSheet(""); should just set it to that or any children
> of that.
>
>
> On Tue, Aug 4, 2009 at 6:54 PM, Efan... <efanharris at gmail.com> wrote:
>
>> Hi guys, Can you please point me how to change the color of individual
>> menu item of my menus.
>> I tried stylesheet but that changes the color of all menu item, How can
>> only change the color of only one or two item?
>>
>> Rgds,
>>
>> Efan Harris
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
--
Efan Harris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090804/0167e949/attachment.html
More information about the Qt-interest-old
mailing list