Try calling setStyle() on your menu, with a style defined like this:
{
Q_OBJECT
public:
int pixelMetric
(PixelMetric metric,
const QStyleOption * option
= 0,
const QWidget * widget
= 0 ) const {
if (metric
== QStyle::PM_SmallIconSize) return 32; // default is 16
else
}
};
class myStyle: public QPlastiqueStyle
{
Q_OBJECT
public:
int pixelMetric(PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0 ) const
{
if (metric == QStyle::PM_SmallIconSize)
return 32; // default is 16
else
return QPlastiqueStyle::pixelMetric(metric, option, widget);
}
};
To copy to clipboard, switch view to plain text mode
Bookmarks