[Qt-interest] QWidgetAction background color

Manuel Fiorelli manuel.fiorelli at gmail.com
Thu Aug 6 18:02:23 CEST 2009


Hello,
I inserted a QWidgetAction in a QMenu in order to display some labels
and progress bars. Unfortunately I noticed that the box corresponding
to the QWidgetAction has a different background color (gray, as an
ordinary widget) than the QMenu (a light gray).

Does anyone know how I can make the QWidgetAction background color
look like a QMenu?

Manuel Fiorelli



More information about the Qt-interest-old mailing list