VisualStudio2019Style Class
Class implements Microsoft Visual Studio 2019 style for Qt application with three themes: Light, Dark and Blue. More...
Header: | #include <VisualStudio2019Style> |
Inherits: | CommonStyle |
Properties
- theme : Theme
Public Functions
VisualStudio2019Style() | |
void | setTheme(VisualStudio2019Style::Theme theme) |
VisualStudio2019Style::Theme | theme() const |
Reimplemented Public Functions
virtual void | polish(QApplication *app) override |
virtual void | polish(QWidget *widget) override |
virtual QSize | sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget = QWIDGET_NULL) const override |
virtual QPixmap | standardPixmap(QStyle::StandardPixmap sp, const QStyleOption *opt, const QWidget *widget = QWIDGET_NULL) const override |
virtual void | unpolish(QWidget *widget) override |
Detailed Description
Property Documentation
theme : Theme
Sets the theme of the office style. You can choose from Blue, Dark or Light theme's families.
Access functions:
VisualStudio2019Style::Theme | theme() const |
void | setTheme(VisualStudio2019Style::Theme theme) |
See also Theme.
Member Function Documentation
[explicit]
VisualStudio2019Style::VisualStudio2019Style()
Constuctor of VisualStudio2019Style class.
[override virtual]
void VisualStudio2019Style::polish(QApplication *app)
Reimplements: CommonStyle::polish(QApplication *app).
[override virtual]
void VisualStudio2019Style::polish(QWidget *widget)
Reimplements: CommonStyle::polish(QWidget *widget).
[override virtual]
QSize VisualStudio2019Style::sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget = QWIDGET_NULL) const
Reimplements: CommonStyle::sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget) const.
[override virtual]
QPixmap VisualStudio2019Style::standardPixmap(QStyle::StandardPixmap sp, const QStyleOption *opt, const QWidget *widget = QWIDGET_NULL) const
Reimplements: CommonStyle::standardPixmap(QStyle::StandardPixmap sp, const QStyleOption *opt, const QWidget *widget) const.
[override virtual]
void VisualStudio2019Style::unpolish(QWidget *widget)
Reimplements: CommonStyle::unpolish(QWidget *widget).