![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquickwindowsxpstyle_p_p.h>
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 67 of file qquickwindowsxpstyle_p_p.h.
|
inlineexplicit |
Definition at line 70 of file qquickwindowsxpstyle_p_p.h.
References XPThemeData(), painter, partId, stateId, and theme.
Referenced by XPThemeData().
HTHEME QQC2::XPThemeData::handle | ( | ) |
Definition at line 56 of file qquickwindowsxpstyle.cpp.
References QQC2::QWindowsXPStylePrivate::useXP().
bool QQC2::XPThemeData::isValid | ( | ) |
Definition at line 45 of file qquickwindowsxpstyle.cpp.
Referenced by QQC2::QWindowsXPStyle::drawControl(), QQC2::QWindowsXPStyle::drawPrimitive(), margins(), margins(), size(), and QQC2::QWindowsXPStyle::sizeFromContents().
|
inline |
Definition at line 266 of file qquickwindowsxpstyle_p_p.h.
References isValid().
|
inline |
Definition at line 278 of file qquickwindowsxpstyle_p_p.h.
References isValid().
|
inline |
Definition at line 255 of file qquickwindowsxpstyle_p_p.h.
References isValid().
|
inlinestatic |
Definition at line 295 of file qquickwindowsxpstyle_p_p.h.
|
inlinestatic |
Definition at line 302 of file qquickwindowsxpstyle_p_p.h.
|
inlinestatic |
Definition at line 289 of file qquickwindowsxpstyle_p_p.h.
|
static |
Definition at line 69 of file qquickwindowsxpstyle.cpp.
HTHEME QQC2::XPThemeData::htheme = nullptr |
Definition at line 96 of file qquickwindowsxpstyle_p_p.h.
uint QQC2::XPThemeData::mirrorHorizontally |
Definition at line 100 of file qquickwindowsxpstyle_p_p.h.
uint QQC2::XPThemeData::mirrorVertically |
Definition at line 101 of file qquickwindowsxpstyle_p_p.h.
uint QQC2::XPThemeData::noBorder |
Definition at line 102 of file qquickwindowsxpstyle_p_p.h.
uint QQC2::XPThemeData::noContent |
Definition at line 103 of file qquickwindowsxpstyle_p_p.h.
QPainter* QQC2::XPThemeData::painter |
Definition at line 93 of file qquickwindowsxpstyle_p_p.h.
Referenced by XPThemeData(), QQC2::QWindowsXPStylePrivate::drawBackground(), QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), and QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
int QQC2::XPThemeData::partId |
Definition at line 97 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::ThemeMapKey::ThemeMapKey(), XPThemeData(), QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStylePrivate::isTransparent(), QQC2::operator<<(), and QQC2::populateTitleBarButtonTheme().
QRect QQC2::XPThemeData::rect |
Definition at line 105 of file qquickwindowsxpstyle_p_p.h.
uint QQC2::XPThemeData::rotate = 0 |
Definition at line 104 of file qquickwindowsxpstyle_p_p.h.
int QQC2::XPThemeData::stateId |
Definition at line 98 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::ThemeMapKey::ThemeMapKey(), XPThemeData(), QQC2::QWindowsXPStylePrivate::drawBackgroundDirectly(), QQC2::QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QQC2::QWindowsXPStyle::drawComplexControl(), QQC2::QWindowsXPStylePrivate::isTransparent(), QQC2::operator<<(), and QQC2::populateTitleBarButtonTheme().
int QQC2::XPThemeData::theme |
Definition at line 95 of file qquickwindowsxpstyle_p_p.h.
Referenced by QQC2::ThemeMapKey::ThemeMapKey(), XPThemeData(), and QQC2::operator<<().
const QWindow* QQC2::XPThemeData::window |
Definition at line 92 of file qquickwindowsxpstyle_p_p.h.