![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QWindows11Style class provides a look and feel suitable for applications on Microsoft Windows 11. More...
#include <qwindows11style_p.h>
Public Member Functions | |
| QWindows11Style () | |
| Constructs a QWindows11Style object. | |
| ~QWindows11Style () override | |
| Destructor. | |
| void | drawComplexControl (ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const override |
| void | drawPrimitive (PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const override |
| QRect | subElementRect (QStyle::SubElement element, const QStyleOption *option, const QWidget *widget=nullptr) const override |
| QRect | subControlRect (ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const override |
| void | drawControl (ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const override |
| int | styleHint (StyleHint hint, const QStyleOption *opt=nullptr, const QWidget *widget=nullptr, QStyleHintReturn *returnData=nullptr) const override |
| void | polish (QWidget *widget) override |
| QSize | sizeFromContents (ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const override |
| int | pixelMetric (PixelMetric metric, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const override |
| void | polish (QPalette &pal) override |
| void | unpolish (QWidget *widget) override |
| QPixmap | standardPixmap (StandardPixmap standardPixmap, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const override |
| QIcon | standardIcon (StandardPixmap standardIcon, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const override |
| Public Member Functions inherited from QWindowsVistaStyle | |
| QWindowsVistaStyle () | |
| Constructs a QWindowsVistaStyle object. | |
| ~QWindowsVistaStyle () override | |
| Destructor. | |
| void | drawPrimitive (PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget=nullptr) const override |
| void | drawControl (ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const override |
| void | drawComplexControl (ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const override |
| QSize | sizeFromContents (ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const override |
| QRect | subElementRect (SubElement element, const QStyleOption *option, const QWidget *widget) const override |
| QRect | subControlRect (ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *widget) const override |
| SubControl | hitTestComplexControl (ComplexControl control, const QStyleOptionComplex *option, const QPoint &pos, const QWidget *widget=nullptr) const override |
| QIcon | standardIcon (StandardPixmap standardIcon, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const override |
| \reimp | |
| QPixmap | standardPixmap (StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget=nullptr) const override |
| int | pixelMetric (PixelMetric metric, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const override |
| int | styleHint (StyleHint hint, const QStyleOption *opt=nullptr, const QWidget *widget=nullptr, QStyleHintReturn *returnData=nullptr) const override |
| void | polish (QWidget *widget) override |
| void | unpolish (QWidget *widget) override |
| void | polish (QPalette &pal) override |
| void | polish (QApplication *app) override |
Protected Member Functions | |
| QWindows11Style (QWindows11StylePrivate &dd) | |
| Protected Member Functions inherited from QWindowsVistaStyle | |
| QWindowsVistaStyle (QWindowsVistaStylePrivate &dd) | |
Friends | |
| class | QStyleFactory |
The QWindows11Style class provides a look and feel suitable for applications on Microsoft Windows 11.
\inmodule QtWidgets
Definition at line 62 of file qwindows11style_p.h.
| QWindows11Style::QWindows11Style | ( | ) |
Constructs a QWindows11Style object.
Definition at line 277 of file qwindows11style.cpp.
|
overridedefault |
Destructor.
|
protected |
Constructs a QWindows11Style object.
Definition at line 285 of file qwindows11style.cpp.
|
override |
see drawPrimitive for comments on the animation support
Definition at line 304 of file qwindows11style.cpp.
References StyleOptionHelper::Hover, QPaintEngine::painter(), StyleOptionHelper::Pressed, and subtleHighlightColor.
|
override |
Definition at line 1188 of file qwindows11style.cpp.
References contentHMargin, contentItemHMargin, and QPaintEngine::painter().
|
override |
Definition at line 767 of file qwindows11style.cpp.
References QPaintEngine::painter(), QPaintEngine::QPainter, and secondLevelRoundingRadius.
|
override |
Definition at line 2291 of file qwindows11style.cpp.
Definition at line 2561 of file qwindows11style.cpp.
Definition at line 2378 of file qwindows11style.cpp.
|
override |
Definition at line 2126 of file qwindows11style.cpp.
References contentItemHMargin.
|
override |
Definition at line 2608 of file qwindows11style.cpp.
|
override |
Definition at line 2592 of file qwindows11style.cpp.
|
override |
Definition at line 1850 of file qwindows11style.cpp.
|
override |
Definition at line 1942 of file qwindows11style.cpp.
References contentHMargin.
|
override |
Definition at line 1870 of file qwindows11style.cpp.
References contentHMargin.
Definition at line 2445 of file qwindows11style.cpp.
|
friend |
Definition at line 113 of file qwindows11style_p.h.