AdobePhotoshopStyle Class
AdobePhotoshopStyle class implements Adobe Photoshop style for application with four themes: Light Gray, Gray, Dark Gray and Black. More...
Header: | #include <AdobePhotoshopStyle> |
Inherits: | CommonStyle |
Properties
- theme : Theme
Public Functions
AdobePhotoshopStyle() | |
void | setTheme(AdobePhotoshopStyle::Theme theme) |
AdobePhotoshopStyle::Theme | theme() const |
Reimplemented Public Functions
virtual void | polish(QApplication *app) override |
virtual void | polish(QWidget *widget) override |
virtual QSize | sizeFromContents(QStyle::ContentsType type, const QStyleOption *opt, const QSize &size, const QWidget *widget = QWIDGET_NULL) const override |
virtual QIcon | standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption *opt = QSTYLEOPTION_NULL, const QWidget *widget = QWIDGET_NULL) const override |
virtual int | styleHint(QStyle::StyleHint hint, const QStyleOption *opt = QSTYLEOPTION_NULL, const QWidget *widget = QWIDGET_NULL, QStyleHintReturn *shret = Q_NULL) const override |
virtual QRect | subControlRect(QStyle::ComplexControl control, const QStyleOptionComplex *option, QStyle::SubControl subControl, const QWidget *widget = QWIDGET_NULL) const override |
Detailed Description
Property Documentation
theme : Theme
Sets the theme of the office style. You can choose from Light Gray, Gray, Dark Gray or Black theme's families.
Access functions:
AdobePhotoshopStyle::Theme | theme() const |
void | setTheme(AdobePhotoshopStyle::Theme theme) |
See also Theme.
Member Function Documentation
AdobePhotoshopStyle::AdobePhotoshopStyle()
Constuctor of AdobePhotoshopStyle class.
[override virtual]
void AdobePhotoshopStyle::polish(QApplication *app)
Reimplements: CommonStyle::polish(QApplication *app).
[override virtual]
void AdobePhotoshopStyle::polish(QWidget *widget)
Reimplements: CommonStyle::polish(QWidget *widget).
[override virtual]
QSize AdobePhotoshopStyle::sizeFromContents(QStyle::ContentsType type, const QStyleOption *opt, const QSize &size, const QWidget *widget = QWIDGET_NULL) const
Reimplements: CommonStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget) const.
[override virtual]
QIcon AdobePhotoshopStyle::standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption *opt = QSTYLEOPTION_NULL, const QWidget *widget = QWIDGET_NULL) const
Reimplements: CommonStyle::standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption *opt, const QWidget *widget) const.
[override virtual]
int AdobePhotoshopStyle::styleHint(QStyle::StyleHint hint, const QStyleOption *opt = QSTYLEOPTION_NULL, const QWidget *widget = QWIDGET_NULL, QStyleHintReturn *shret = Q_NULL) const
Reimplements: CommonStyle::styleHint(QStyle::StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const.