![]() |
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 |
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 61 of file qwindows11style_p.h.
QWindows11Style::QWindows11Style | ( | ) |
Constructs a QWindows11Style object.
Definition at line 272 of file qwindows11style.cpp.
|
overridedefault |
Destructor.
|
protected |
Constructs a QWindows11Style object.
Definition at line 280 of file qwindows11style.cpp.
|
override |
see drawPrimitive for comments on the animation support
Definition at line 299 of file qwindows11style.cpp.
References StyleOptionHelper::Hover, QPaintEngine::painter(), StyleOptionHelper::Pressed, and subtleHighlightColor.
|
override |
Definition at line 1178 of file qwindows11style.cpp.
References QPaintEngine::painter().
|
override |
Definition at line 765 of file qwindows11style.cpp.
References QPaintEngine::painter(), QPaintEngine::QPainter, and secondLevelRoundingRadius.
|
override |
Definition at line 2209 of file qwindows11style.cpp.
Definition at line 2429 of file qwindows11style.cpp.
Definition at line 2253 of file qwindows11style.cpp.
|
override |
Definition at line 2096 of file qwindows11style.cpp.
|
override |
Definition at line 1862 of file qwindows11style.cpp.
|
override |
Definition at line 1939 of file qwindows11style.cpp.
|
override |
Definition at line 1882 of file qwindows11style.cpp.
Definition at line 2320 of file qwindows11style.cpp.
|
friend |
Definition at line 108 of file qwindows11style_p.h.