![]() |
Qt 6.x
The Qt SDK
|
#include <qquickwindowsxpstyle_p_p.h>
Collaboration diagram for QQC2::XPThemeData:Public Member Functions | |
| XPThemeData (const QWindow *w=nullptr, QPainter *p=nullptr, int themeIn=-1, int part=0, int state=0, const QRect &r=QRect()) | |
| 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 RECT | toRECT (const QRect &qr) |
| static QSizeF | themeSize (const QWindow *w=nullptr, QPainter *p=nullptr, int themeIn=-1, int part=0, int state=0) |
| static QMarginsF | themeMargins (const QRect &rect, const QWindow *w=nullptr, QPainter *p=nullptr, int themeIn=-1, int part=0, int state=0, int propId=TMT_CONTENTMARGINS) |
| static QMarginsF | themeMargins (const QWindow *w=nullptr, QPainter *p=nullptr, int themeIn=-1, int part=0, int state=0, int propId=TMT_CONTENTMARGINS) |
Public Attributes | |
| const QWindow * | window |
| QPainter * | painter |
| int | theme |
| HTHEME | htheme = nullptr |
| int | partId |
| int | stateId |
| uint | mirrorHorizontally: 1 |
| uint | mirrorVertically: 1 |
| uint | noBorder: 1 |
| uint | noContent: 1 |
| uint | rotate = 0 |
| QRect | rect |
Definition at line 66 of file qquickwindowsxpstyle_p_p.h.
|
inlineexplicit |
Definition at line 69 of file qquickwindowsxpstyle_p_p.h.
| HTHEME QQC2::XPThemeData::handle | ( | ) |
Definition at line 55 of file qquickwindowsxpstyle.cpp.
References QQC2::QWindowsXPStylePrivate::createTheme(), htheme, theme, QQC2::QWindowsXPStylePrivate::useXP(), window, and QQC2::QWindowsXPStylePrivate::winId().
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStyle::drawControl(), QQC2::QWindowsXPStyle::drawPrimitive(), QQC2::QWindowsXPStylePrivate::isTransparent(), isValid(), margins(), margins(), QQC2::QWindowsXPStylePrivate::region(), size(), and QQC2::QWindowsXPStyle::subElementRect().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QQC2::XPThemeData::isValid | ( | ) |
Definition at line 44 of file qquickwindowsxpstyle.cpp.
References handle(), theme, and QQC2::QWindowsXPStylePrivate::useXP().
Referenced by QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStyle::drawControl(), QQC2::QWindowsXPStyle::drawPrimitive(), margins(), margins(), size(), QQC2::QWindowsXPStyle::sizeFromContents(), QQC2::QWindowsXPStyle::standardIcon(), and QQC2::QWindowsXPStyle::standardPixmap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 265 of file qquickwindowsxpstyle_p_p.h.
References handle(), isValid(), margins(), partId, rect, stateId, and toRECT().
Referenced by margins(), margins(), QQC2::QWindowsXPStylePrivate::scrollBarGripperBounds(), and QQC2::QWindowsXPStyle::sizeFromContents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 254 of file qquickwindowsxpstyle_p_p.h.
References handle(), isValid(), partId, size(), SIZE, and stateId.
Referenced by QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStyle::drawControl(), QQC2::QWindowsXPStylePrivate::scrollBarGripperBounds(), size(), QQC2::QWindowsXPStyle::standardIcon(), and QQC2::QWindowsXPStyle::standardPixmap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 294 of file qquickwindowsxpstyle_p_p.h.
|
inlinestatic |
Definition at line 301 of file qquickwindowsxpstyle_p_p.h.
|
inlinestatic |
Definition at line 288 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::pixelMetricFromSystemDp().
Here is the caller graph for this function:
|
static |
Definition at line 68 of file qquickwindowsxpstyle.cpp.
References QRect::height(), QRect::width(), QRect::x(), and QRect::y().
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), margins(), and QQC2::QWindowsXPStylePrivate::region().
Here is the call graph for this function:
Here is the caller graph for this function:| HTHEME QQC2::XPThemeData::htheme = nullptr |
Definition at line 95 of file qquickwindowsxpstyle_p_p.h.
Referenced by handle().
| uint QQC2::XPThemeData::mirrorHorizontally |
Definition at line 99 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStyle::drawControl(), and QQC2::QWindowsXPStyle::drawPrimitive().
| uint QQC2::XPThemeData::mirrorVertically |
Definition at line 100 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawControl(), and QQC2::QWindowsXPStyle::drawPrimitive().
| uint QQC2::XPThemeData::noBorder |
Definition at line 101 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), and QQC2::QWindowsXPStyle::drawPrimitive().
| uint QQC2::XPThemeData::noContent |
| QPainter* QQC2::XPThemeData::painter |
| int QQC2::XPThemeData::partId |
Definition at line 96 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStyle::drawControl(), QQC2::QWindowsXPStyle::drawPrimitive(), QQC2::QWindowsXPStylePrivate::isTransparent(), margins(), margins(), QQC2::populateTitleBarButtonTheme(), QQC2::QWindowsXPStylePrivate::region(), QQC2::QWindowsXPStylePrivate::scrollBarGripperBounds(), size(), and QQC2::QWindowsXPStyle::standardIcon().
| QRect QQC2::XPThemeData::rect |
Definition at line 104 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackground(), QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStyle::drawControl(), QQC2::QWindowsXPStyle::drawPrimitive(), margins(), QQC2::populateTitleBarButtonTheme(), QQC2::QWindowsXPStylePrivate::region(), QQC2::QWindowsXPStylePrivate::scrollBarGripperBounds(), QQC2::QWindowsXPStyle::standardIcon(), and themeMargins().
| uint QQC2::XPThemeData::rotate = 0 |
Definition at line 103 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawControl(), and QQC2::QWindowsXPStyle::drawPrimitive().
| int QQC2::XPThemeData::stateId |
Definition at line 97 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStyle::drawPrimitive(), QQC2::QWindowsXPStylePrivate::isTransparent(), margins(), margins(), QQC2::populateTitleBarButtonTheme(), QQC2::QWindowsXPStylePrivate::region(), size(), and QQC2::QWindowsXPStyle::standardIcon().
| int QQC2::XPThemeData::theme |
Definition at line 94 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), handle(), isValid(), themeMargins(), themeMargins(), and themeSize().
| const QWindow* QQC2::XPThemeData::window |
Definition at line 91 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::QWindowsXPStylePrivate::drawBackground(), handle(), QQC2::QWindowsXPStylePrivate::region(), and QQC2::QWindowsXPStylePrivate::scrollBarGripperBounds().