![]() |
Qt 6.x
The Qt SDK
|
#include <qwindowsthemedata_p.h>
Collaboration diagram for QWindowsThemeData:Public Member Functions | |
| QWindowsThemeData (const QWidget *w=nullptr, QPainter *p=nullptr, int themeIn=-1, int part=0, int state=0, const QRect &r=QRect()) | |
| HRGN | mask (QWidget *widget) |
| HTHEME | handle () |
| bool | isValid () |
| QSizeF | size () |
| QMarginsF | margins (const QRect &rect, int propId=TMT_CONTENTMARGINS) |
| QMarginsF | margins (int propId=TMT_CONTENTMARGINS) |
Static Public Member Functions | |
| static QSizeF | themeSize (const QWidget *w=nullptr, QPainter *p=nullptr, int themeIn=-1, int part=0, int state=0) |
| static RECT | toRECT (const QRect &qr) |
Public Attributes | |
| const QWidget * | widget |
| QPainter * | painter |
| int | theme |
| HTHEME | htheme = nullptr |
| int | partId |
| int | stateId |
| uint | mirrorHorizontally: 1 |
| uint | mirrorVertically: 1 |
| uint | noBorder: 1 |
| uint | noContent: 1 |
| uint | invertPixels: 1 |
| uint | rotate = 0 |
| QRect | rect |
Definition at line 53 of file qwindowsthemedata_p.h.
|
inlineexplicit |
Definition at line 56 of file qwindowsthemedata_p.h.
| HTHEME QWindowsThemeData::handle | ( | ) |
Definition at line 20 of file qwindowsthemedata.cpp.
References QWindowsVistaStylePrivate::createTheme(), htheme, theme, QWindowsVistaStylePrivate::useVista(), widget, and QWindowsVistaStylePrivate::winId().
Referenced by QWindowsVistaStylePrivate::drawBackgroundDirectly(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), QWindowsVistaStylePrivate::isTransparent(), isValid(), margins(), margins(), mask(), QWindowsVistaStyle::polish(), QWindowsVistaStylePrivate::region(), and size().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QWindowsThemeData::isValid | ( | ) |
Definition at line 10 of file qwindowsthemedata.cpp.
References handle(), theme, and QWindowsVistaStylePrivate::useVista().
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), margins(), margins(), size(), QWindowsVistaStyle::sizeFromContents(), QWindowsVistaStyle::standardIcon(), QWindowsVistaStyle::standardPixmap(), and QWindowsVistaStyle::subElementRect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 160 of file qwindowsthemedata_p.h.
References handle(), isValid(), margins(), partId, rect, stateId, and toRECT().
Referenced by QWindowsVistaStyle::drawControl(), margins(), margins(), and QWindowsVistaStyle::sizeFromContents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| HRGN QWindowsThemeData::mask | ( | QWidget * | widget | ) |
Definition at line 47 of file qwindowsthemedata.cpp.
References handle(), QWindowsVistaStylePrivate::hdcForWidgetBackingStore(), partId, rect, stateId, toRECT(), and widget.
Here is the call graph for this function:
|
inline |
Definition at line 143 of file qwindowsthemedata_p.h.
References handle(), isValid(), partId, size(), SIZE, and stateId.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), size(), QWindowsVistaStyle::sizeFromContents(), QWindowsVistaStyle::standardIcon(), QWindowsVistaStyle::standardPixmap(), and QWindowsVistaStyle::subElementRect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 154 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::pixelMetricFromSystemDp().
Here is the caller graph for this function:
|
static |
Definition at line 33 of file qwindowsthemedata.cpp.
References QRect::height(), QRect::width(), QRect::x(), and QRect::y().
Referenced by QWindowsVistaStylePrivate::drawBackgroundDirectly(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), margins(), mask(), and QWindowsVistaStylePrivate::region().
Here is the call graph for this function:
Here is the caller graph for this function:| HTHEME QWindowsThemeData::htheme = nullptr |
Definition at line 79 of file qwindowsthemedata_p.h.
Referenced by handle().
| uint QWindowsThemeData::invertPixels |
Definition at line 87 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackground(), and QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer().
| uint QWindowsThemeData::mirrorHorizontally |
| uint QWindowsThemeData::mirrorVertically |
Definition at line 84 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackground(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsVistaStyle::drawControl(), and QWindowsVistaStyle::drawPrimitive().
| uint QWindowsThemeData::noBorder |
Definition at line 85 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackgroundDirectly(), and QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer().
| uint QWindowsThemeData::noContent |
Definition at line 86 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackgroundDirectly(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsVistaStyle::drawComplexControl(), and QWindowsVistaStyle::drawPrimitive().
| QPainter* QWindowsThemeData::painter |
Definition at line 76 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackground(), QWindowsVistaStylePrivate::drawBackgroundDirectly(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsVistaStyle::drawControl(), and QWindowsVistaStyle::standardIcon().
| int QWindowsThemeData::partId |
Definition at line 80 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackgroundDirectly(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), isFullyOpaque(), QWindowsVistaStylePrivate::isTransparent(), margins(), margins(), mask(), populateTitleBarButtonTheme(), QWindowsVistaStylePrivate::region(), size(), QWindowsVistaStyle::sizeFromContents(), and QWindowsVistaStyle::standardIcon().
| QRect QWindowsThemeData::rect |
Definition at line 89 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackground(), QWindowsVistaStylePrivate::drawBackgroundDirectly(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), margins(), mask(), populateTitleBarButtonTheme(), QWindowsVistaStylePrivate::region(), and QWindowsVistaStyle::standardIcon().
| uint QWindowsThemeData::rotate = 0 |
Definition at line 88 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackground(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), and QWindowsVistaStyle::drawControl().
| int QWindowsThemeData::stateId |
Definition at line 81 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackgroundDirectly(), QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), QWindowsVistaStylePrivate::isTransparent(), margins(), margins(), mask(), populateTitleBarButtonTheme(), QWindowsVistaStylePrivate::region(), size(), QWindowsVistaStyle::sizeFromContents(), and QWindowsVistaStyle::standardIcon().
| int QWindowsThemeData::theme |
Definition at line 78 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackgroundThruNativeBuffer(), handle(), isFullyOpaque(), isValid(), and themeSize().
| const QWidget* QWindowsThemeData::widget |
Definition at line 75 of file qwindowsthemedata_p.h.
Referenced by QWindowsVistaStylePrivate::drawBackground(), handle(), mask(), and QWindowsVistaStylePrivate::region().