[Qt-interest] context menu problem
Benjamin
ikipou at gmail.com
Fri Dec 5 00:24:24 CET 2008
I think it is not possible. Since QAction is not a QWidget, you have
no way to set the palette. Maybe you can use the font to create
emphasis instead of the color?
2008/12/4 Ankit Agarwal <ankit17.ag at gmail.com>:
> Hi,
> I have a context menu with 10 QMenu entries. Now, I want that out of those
> 10 entries, 3 entries should be visible in red and rest in the default
> colour. Please suggest how can i achive this.
>
> --
> Regards,
> Ankit Agarwal
> SW Engineer
> Vegayan Systems
> email : ankit_agarwal at vegayan.com
> Blog : http://ankit17.wordpress.com
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
More information about the Qt-interest-old
mailing list