Office2007Style Class
Office2007Style class implements Microsoft Office 2007 style. More...
Header: | #include <Office2007Style> |
Inherits: | OfficeStyle |
Properties
- theme : Theme
Public Functions
Office2007Style() | |
virtual | ~Office2007Style() |
void | setTheme(Office2007Style::Theme theme) |
Office2007Style::Theme | theme() const |
Reimplemented Public Functions
virtual QSize | sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget = QWIDGET_NULL) const override |
virtual int | styleHint(QStyle::StyleHint hint, const QStyleOption *opt, const QWidget *widget, QStyleHintReturn *shret) const override |
Detailed Description
Property Documentation
theme : Theme
Sets the theme of the office style. You can choose from Blue, Black, Silver or Aqua theme's families.
Access functions:
Office2007Style::Theme | theme() const |
void | setTheme(Office2007Style::Theme theme) |
See also Theme.
Member Function Documentation
Office2007Style::Office2007Style()
Constuctor of Office2007Style class.
[virtual noexcept]
Office2007Style::~Office2007Style()
Destructor of Office2007Style class.
[override virtual]
QSize Office2007Style::sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget = QWIDGET_NULL) const
Reimplements: OfficeStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget) const.
[override virtual]
int Office2007Style::styleHint(QStyle::StyleHint hint, const QStyleOption *opt, const QWidget *widget, QStyleHintReturn *shret) const
Reimplements: OfficeStyle::styleHint(QStyle::StyleHint hint, const QStyleOption *opt, const QWidget *widget, QStyleHintReturn *shret) const.