42 #ifndef QCLEANLOOKSSTYLE_H 43 #define QCLEANLOOKSSTYLE_H 45 #include <QtWidgets/qproxystyle.h> 46 #include <QtCore/qelapsedtimer.h> 64 const QStyleOption *option,
65 QPainter *painter,
const QWidget *widget = 0)
const Q_DECL_OVERRIDE;
66 void drawControl(ControlElement ce,
const QStyleOption *option, QPainter *painter,
67 const QWidget *widget)
const Q_DECL_OVERRIDE;
68 int pixelMetric(PixelMetric metric,
const QStyleOption *option = 0,
const QWidget *widget = 0)
const Q_DECL_OVERRIDE;
70 QPainter *painter,
const QWidget *widget)
const Q_DECL_OVERRIDE;
71 QRect
subElementRect(SubElement r,
const QStyleOption *opt,
const QWidget *widget = 0)
const Q_DECL_OVERRIDE;
73 const QSize &size,
const QWidget *widget)
const Q_DECL_OVERRIDE;
75 const QPoint &pt,
const QWidget *w = 0)
const Q_DECL_OVERRIDE;
76 QRect
subControlRect(ComplexControl cc,
const QStyleOptionComplex *opt,
77 SubControl sc,
const QWidget *widget)
const Q_DECL_OVERRIDE;
79 const QStyleOption *opt)
const Q_DECL_OVERRIDE;
80 int styleHint(StyleHint hint,
const QStyleOption *option = 0,
const QWidget *widget = 0,
81 QStyleHintReturn *returnData = 0)
const Q_DECL_OVERRIDE;
82 QRect
itemPixmapRect(
const QRect &r,
int flags,
const QPixmap &pixmap)
const Q_DECL_OVERRIDE;
84 const QWidget *widget = 0)
const Q_DECL_OVERRIDE;
86 const QWidget *widget = 0)
const Q_DECL_OVERRIDE;
88 int alignment,
const QPixmap &pixmap)
const Q_DECL_OVERRIDE;
90 int flags,
const QPalette &pal,
bool enabled,
91 const QString &text, QPalette::ColorRole textRole = QPalette::NoRole)
const Q_DECL_OVERRIDE;
92 void polish(QWidget *widget) Q_DECL_OVERRIDE;
93 void polish(QApplication *app) Q_DECL_OVERRIDE;
94 void polish(QPalette &pal) Q_DECL_OVERRIDE;
95 void unpolish(QWidget *widget) Q_DECL_OVERRIDE;
96 void unpolish(QApplication *app) Q_DECL_OVERRIDE;
100 void timerEvent(QTimerEvent *) Q_DECL_OVERRIDE;
101 bool eventFilter(QObject *o, QEvent *e) Q_DECL_OVERRIDE;
108 QElapsedTimer startTime;
116 #endif // QCLEANLOOKSSTYLE_H QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const Q_DECL_OVERRIDE
void timerEvent(QTimerEvent *) Q_DECL_OVERRIDE
void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const Q_DECL_OVERRIDE
void drawPrimitive(PrimitiveElement elem, const QStyleOption *option, QPainter *painter, const QWidget *widget=0) const Q_DECL_OVERRIDE
QRect subControlRect(ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *widget) const Q_DECL_OVERRIDE
void drawItemText(QPainter *painter, const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole) const Q_DECL_OVERRIDE
QPalette standardPalette() const Q_DECL_OVERRIDE
QRect itemPixmapRect(const QRect &r, int flags, const QPixmap &pixmap) const Q_DECL_OVERRIDE
QRect subElementRect(SubElement r, const QStyleOption *opt, const QWidget *widget=0) const Q_DECL_OVERRIDE
int styleHint(StyleHint hint, const QStyleOption *option=0, const QWidget *widget=0, QStyleHintReturn *returnData=0) const Q_DECL_OVERRIDE
QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget=0) const Q_DECL_OVERRIDE
void stopProgressAnimation(QObject *o, QProgressBar *bar)
void startProgressAnimation(QObject *o, QProgressBar *bar)
void drawControl(ControlElement ce, const QStyleOption *option, QPainter *painter, const QWidget *widget) const Q_DECL_OVERRIDE
QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option=0, const QWidget *widget=0) const Q_DECL_OVERRIDE
void polish(QWidget *widget) Q_DECL_OVERRIDE
QSize sizeFromContents(ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const Q_DECL_OVERRIDE
void unpolish(QWidget *widget) Q_DECL_OVERRIDE
void drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const Q_DECL_OVERRIDE
int pixelMetric(PixelMetric metric, const QStyleOption *option=0, const QWidget *widget=0) const Q_DECL_OVERRIDE
bool eventFilter(QObject *o, QEvent *e) Q_DECL_OVERRIDE
SubControl hitTestComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *w=0) const Q_DECL_OVERRIDE