[Qt-interest] Change Background color of Qaction.Qt, GUI, QAction, Menu, QToolBar
Efan...
efanharris at gmail.com
Wed Aug 4 19:59:06 CEST 2010
made change in subject line for those who filter on Tags
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
>
--
Harris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100804/4271a2b4/attachment.html
More information about the Qt-interest-old
mailing list