[Qt-interest] Change Background color of Qaction.
Irfan Omair
irfan.omair.qt at gmail.com
Wed Aug 4 20:07:34 CEST 2010
Your Idea of changing subject line with some specific key word brought your
other email in my attention and I have replied to that.
Regards,
Irfan Omair
On Wed, Aug 4, 2010 at 10:51 AM, Efan... <efanharris at gmail.com> wrote:
> How do I change a background color of a QAction? I created a toolbar and
> added several actions into it using the method:QAction discoverAction
> =toolBar->addAction(QIcon(":/Resources/search.png"), "Discover"); It appears
> that all actions that I added are displayed as toolButtons
> within the toolbar. How do I modify the background color of it? I would
> like to highlight my discoverAction, but I do not know how to do
> this. It does not appear that this uses a palette. I can modify the
> background of the toolbar itself, but not individual buttons.
>
> --
> Harris
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100804/8d51a01d/attachment.html
More information about the Qt-interest-old
mailing list