[Qt-interest] Change Background color of Qaction.
Efan...
efanharris at gmail.com
Wed Aug 4 19:51:53 CEST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100804/8eb51e4b/attachment.html
More information about the Qt-interest-old
mailing list