public:
public slots:
public:
void polish(QPalette &pal);
void polish(QWidget *w);
void unpolish(QWidget *w);
int styleHint(StyleHint hint, const QStyleOption *opt, const QWidget *widget, QStyleHintReturn *returnData);
int pixelMetric(PixelMetric pm, const QStyleOption *option, const QWidget *widget);
void drawComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p, const QWidget *w);
void drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *w);
QRect subControlRect(ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *w);
public slots:
QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *option, const QWidget *widget);
To copy to clipboard, switch view to plain text mode
I also added some tracing in the begging of each method (output to stdout). Tracing showed that only polish (both overloaded methods) is called when creating a widget, other methods are not called (so only widget's palette is altered according to the style).
Bookmarks