#include "qwindowsxpstyle.h"
#include "qwindowsstyle_p.h"
#include <private/qobject_p.h>
#include <private/qpaintengine_raster_p.h>
#include <qlibrary.h>
#include <qmap.h>
#include <qpainter.h>
#include <qpaintengine.h>
#include <qwidget.h>
#include <qapplication.h>
#include <qpixmapcache.h>
#include <qdesktopwidget.h>
#include <qtoolbutton.h>
#include <qtabbar.h>
#include <qcombobox.h>
#include <qscrollbar.h>
#include <qheaderview.h>
#include <qspinbox.h>
#include <qstackedwidget.h>
#include <qpushbutton.h>
#include <qtoolbar.h>
#include <qdockwidget.h>
#include <qlabel.h>
#include <qt_windows.h>
#include <qdebug.h>
#include <uxtheme.h>
#include <tmschema.h>
#include <limits.h>
Include dependency graph for qwindowsxpstyle.cpp:

Go to the source code of this file.
Classes | |
| struct | _DTBGOPTS |
| class | XPThemeData |
| struct | ThemeMapKey |
| struct | ThemeMapData |
| class | QWindowsXPStylePrivate |
Defines | |
| #define | TMT_TEXTCOLOR 3803 |
| #define | TMT_BORDERCOLORHINT 3822 |
| #define | TMT_BORDERSIZE 2403 |
| #define | TMT_BORDERONLY 2203 |
| #define | TMT_TRANSPARENTCOLOR 3809 |
| #define | TMT_CAPTIONMARGINS 3603 |
| #define | TMT_CONTENTMARGINS 3602 |
| #define | TMT_SIZINGMARGINS 3601 |
| #define | TMT_GLYPHTYPE 4012 |
| #define | TMT_BGTYPE 4001 |
| #define | TMT_TEXTSHADOWTYPE 4010 |
| #define | BT_IMAGEFILE 0 |
| #define | TMT_FILLCOLOR 3802 |
| #define | TMT_TEXTSHADOWCOLOR 3818 |
| #define | TST_NONE 0 |
| #define | GT_NONE 0 |
| #define | GT_IMAGEGLYPH 1 |
| #define | DTBG_CLIPRECT 0x00000001 |
| #define | DTBG_DRAWSOLID 0x00000002 |
| #define | DTBG_OMITBORDER 0x00000004 |
| #define | DTBG_OMITCONTENT 0x00000008 |
| #define | DTBG_COMPUTINGREGION 0x00000010 |
| #define | DTBG_MIRRORDC 0x00000020 |
| #define | MINBS_INACTIVE 5 |
| #define | MAXBS_INACTIVE 5 |
| #define | RBS_INACTIVE 5 |
| #define | HBS_INACTIVE 5 |
| #define | CBS_INACTIVE 5 |
| #define | TBL_STATE(prefix) |
Typedefs | |
| typedef _DTBGOPTS | DTBGOPTS |
| typedef _DTBGOPTS * | PDTBGOPTS |
| typedef bool(WINAPI *) | PtrIsAppThemed () |
| typedef bool(WINAPI *) | PtrIsThemeActive () |
| typedef HRESULT(WINAPI *) | PtrGetThemePartSize (HTHEME hTheme, HDC hdc, int iPartId, int iStateId, OPTIONAL RECT *prc, enum THEMESIZE eSize, OUT SIZE *psz) |
| typedef HTHEME(WINAPI *) | PtrOpenThemeData (HWND hwnd, LPCWSTR pszClassList) |
| typedef HRESULT(WINAPI *) | PtrCloseThemeData (HTHEME hTheme) |
| typedef HRESULT(WINAPI *) | PtrDrawThemeBackground (HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const RECT *pClipRect) |
| typedef HRESULT(WINAPI *) | PtrDrawThemeBackgroundEx (HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const DTBGOPTS *pOptions) |
| typedef HRESULT(WINAPI *) | PtrGetCurrentThemeName (OUT LPWSTR pszThemeFileName, int cchMaxNameChars, OUT OPTIONAL LPWSTR pszColorBuff, int cchMaxColorChars, OUT OPTIONAL LPWSTR pszSizeBuff, int cchMaxSizeChars) |
| typedef HRESULT(WINAPI *) | PtrGetThemeDocumentationProperty (LPCWSTR pszThemeName, LPCWSTR pszPropertyName, OUT LPWSTR pszValueBuff, int cchMaxValChars) |
| typedef HRESULT(WINAPI *) | PtrGetThemeBool (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT BOOL *pfVal) |
| typedef HRESULT(WINAPI *) | PtrGetThemeColor (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT COLORREF *pColor) |
| typedef HRESULT(WINAPI *) | PtrGetThemeEnumValue (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
| typedef HRESULT(WINAPI *) | PtrGetThemeFilename (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT LPWSTR pszThemeFileName, int cchMaxBuffChars) |
| typedef HRESULT(WINAPI *) | PtrGetThemeFont (HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, int iPropId, OUT LOGFONT *pFont) |
| typedef HRESULT(WINAPI *) | PtrGetThemeInt (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
| typedef HRESULT(WINAPI *) | PtrGetThemeIntList (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT INTLIST *pIntList) |
| typedef HRESULT(WINAPI *) | PtrGetThemeMargins (HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, int iPropId, OPTIONAL RECT *prc, OUT MARGINS *pMargins) |
| typedef HRESULT(WINAPI *) | PtrGetThemeMetric (HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
| typedef HRESULT(WINAPI *) | PtrGetThemePartSize (HTHEME hTheme, HDC hdc, int iPartId, int iStateId, OPTIONAL RECT *prc, enum THEMESIZE eSize, OUT SIZE *psz) |
| typedef HRESULT(WINAPI *) | PtrGetThemePosition (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT POINT *pPoint) |
| typedef HRESULT(WINAPI *) | PtrGetThemePropertyOrigin (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT enum PROPERTYORIGIN *pOrigin) |
| typedef HRESULT(WINAPI *) | PtrGetThemeRect (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT RECT *pRect) |
| typedef HRESULT(WINAPI *) | PtrGetThemeString (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT LPWSTR pszBuff, int cchMaxBuffChars) |
| typedef HRESULT(WINAPI *) | PtrGetThemeBackgroundRegion (HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, const RECT *pRect, OUT HRGN *pRegion) |
| typedef BOOL(WINAPI *) | PtrIsThemeBackgroundPartiallyTransparent (HTHEME hTheme, int iPartId, int iStateId) |
Enumerations | |
| enum | AlphaChannelType |
Functions | |
| Q_GUI_EXPORT HDC | qt_win_display_dc () |
| uint | qHash (const ThemeMapKey &key) |
| bool | operator== (const ThemeMapKey &k1, const ThemeMapKey &k2) |
| static bool | buttonVisible (const QStyle::SubControl sc, const QStyleOptionTitleBar *tb) |
Variables | |
| static PtrIsAppThemed | pIsAppThemed = 0 |
| static PtrIsThemeActive | pIsThemeActive = 0 |
| static PtrOpenThemeData | pOpenThemeData = 0 |
| static PtrCloseThemeData | pCloseThemeData = 0 |
| static PtrDrawThemeBackground | pDrawThemeBackground = 0 |
| static PtrDrawThemeBackgroundEx | pDrawThemeBackgroundEx = 0 |
| static PtrGetCurrentThemeName | pGetCurrentThemeName = 0 |
| static PtrGetThemeBool | pGetThemeBool = 0 |
| static PtrGetThemeColor | pGetThemeColor = 0 |
| static PtrGetThemeEnumValue | pGetThemeEnumValue = 0 |
| static PtrGetThemeFilename | pGetThemeFilename = 0 |
| static PtrGetThemeFont | pGetThemeFont = 0 |
| static PtrGetThemeInt | pGetThemeInt = 0 |
| static PtrGetThemeIntList | pGetThemeIntList = 0 |
| static PtrGetThemeMargins | pGetThemeMargins = 0 |
| static PtrGetThemeMetric | pGetThemeMetric = 0 |
| static PtrGetThemePartSize | pGetThemePartSize = 0 |
| static PtrGetThemePosition | pGetThemePosition = 0 |
| static PtrGetThemePropertyOrigin | pGetThemePropertyOrigin = 0 |
| static PtrGetThemeRect | pGetThemeRect = 0 |
| static PtrGetThemeString | pGetThemeString = 0 |
| static PtrGetThemeBackgroundRegion | pGetThemeBackgroundRegion = 0 |
| static PtrGetThemeDocumentationProperty | pGetThemeDocumentationProperty = 0 |
| static PtrIsThemeBackgroundPartiallyTransparent | pIsThemeBackgroundPartiallyTransparent = 0 |
| static const int | windowsItemFrame = 2 |
| static const int | windowsSepHeight = 9 |
| static const int | windowsItemHMargin = 3 |
| static const int | windowsItemVMargin = 0 |
| static const int | windowsArrowHMargin = 6 |
| static const int | windowsCheckMarkHMargin = 0 |
| static const int | windowsRightBorder = 12 |
| #define BT_IMAGEFILE 0 |
| #define CBS_INACTIVE 5 |
Definition at line 173 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl(), and QWindowsXPStyle::standardIconImplementation().
| #define DTBG_CLIPRECT 0x00000001 |
Definition at line 133 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundDirectly(), and QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define DTBG_COMPUTINGREGION 0x00000010 |
Definition at line 145 of file qwindowsxpstyle.cpp.
| #define DTBG_DRAWSOLID 0x00000002 |
Definition at line 136 of file qwindowsxpstyle.cpp.
| #define DTBG_MIRRORDC 0x00000020 |
Definition at line 148 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundDirectly().
| #define DTBG_OMITBORDER 0x00000004 |
Definition at line 139 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundDirectly(), and QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define DTBG_OMITCONTENT 0x00000008 |
Definition at line 142 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundDirectly(), and QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define GT_IMAGEGLYPH 1 |
Definition at line 124 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define GT_NONE 0 |
Definition at line 121 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define HBS_INACTIVE 5 |
Definition at line 170 of file qwindowsxpstyle.cpp.
| #define MAXBS_INACTIVE 5 |
Definition at line 164 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl(), and QWindowsXPStyle::standardIconImplementation().
| #define MINBS_INACTIVE 5 |
Definition at line 161 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl().
| #define RBS_INACTIVE 5 |
Definition at line 167 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl(), and QWindowsXPStyle::standardIconImplementation().
| #define TBL_STATE | ( | prefix | ) |
Value:
if (!tb->isEnabled()) \ stateId = prefix##_DISABLED; \ else if (bflags & (State_Sunken | State_On)) \ stateId = prefix##_PRESSED; \ else if (bflags & State_MouseOver) \ stateId = prefix##_HOT; \ else \ stateId = prefix##_NORMAL;
Referenced by QWindowsXPStyle::drawComplexControl().
| #define TMT_BGTYPE 4001 |
| #define TMT_BORDERCOLORHINT 3822 |
Definition at line 76 of file qwindowsxpstyle.cpp.
| #define TMT_BORDERONLY 2203 |
Definition at line 82 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define TMT_BORDERSIZE 2403 |
Definition at line 79 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundDirectly(), and QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define TMT_CAPTIONMARGINS 3603 |
Definition at line 88 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define TMT_CONTENTMARGINS 3602 |
| #define TMT_FILLCOLOR 3802 |
| #define TMT_GLYPHTYPE 4012 |
Definition at line 97 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define TMT_SIZINGMARGINS 3601 |
Definition at line 94 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl().
| #define TMT_TEXTCOLOR 3803 |
| #define TMT_TEXTSHADOWCOLOR 3818 |
Definition at line 114 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl(), and QWindowsXPStyle::drawControl().
| #define TMT_TEXTSHADOWTYPE 4010 |
Definition at line 103 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl(), and QWindowsXPStyle::drawControl().
| #define TMT_TRANSPARENTCOLOR 3809 |
Definition at line 85 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer().
| #define TST_NONE 0 |
Definition at line 117 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl(), and QWindowsXPStyle::drawControl().
| typedef HRESULT(WINAPI *) PtrCloseThemeData(HTHEME hTheme) |
Definition at line 181 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrDrawThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const RECT *pClipRect) |
Definition at line 182 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrDrawThemeBackgroundEx(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const DTBGOPTS *pOptions) |
Definition at line 183 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetCurrentThemeName(OUT LPWSTR pszThemeFileName, int cchMaxNameChars, OUT OPTIONAL LPWSTR pszColorBuff, int cchMaxColorChars, OUT OPTIONAL LPWSTR pszSizeBuff, int cchMaxSizeChars) |
Definition at line 184 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeBackgroundRegion(HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, const RECT *pRect, OUT HRGN *pRegion) |
Definition at line 200 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeBool(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT BOOL *pfVal) |
Definition at line 186 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeColor(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT COLORREF *pColor) |
Definition at line 187 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeDocumentationProperty(LPCWSTR pszThemeName, LPCWSTR pszPropertyName, OUT LPWSTR pszValueBuff, int cchMaxValChars) |
Definition at line 185 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeEnumValue(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
Definition at line 188 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeFilename(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT LPWSTR pszThemeFileName, int cchMaxBuffChars) |
Definition at line 189 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeFont(HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, int iPropId, OUT LOGFONT *pFont) |
Definition at line 190 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeInt(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
Definition at line 191 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeIntList(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT INTLIST *pIntList) |
Definition at line 192 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeMargins(HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, int iPropId, OPTIONAL RECT *prc, OUT MARGINS *pMargins) |
Definition at line 193 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeMetric(HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
Definition at line 194 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemePartSize(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, OPTIONAL RECT *prc, enum THEMESIZE eSize, OUT SIZE *psz) |
Definition at line 195 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemePartSize(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, OPTIONAL RECT *prc, enum THEMESIZE eSize, OUT SIZE *psz) |
Definition at line 179 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemePosition(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT POINT *pPoint) |
Definition at line 196 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemePropertyOrigin(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT enum PROPERTYORIGIN *pOrigin) |
Definition at line 197 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeRect(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT RECT *pRect) |
Definition at line 198 of file qwindowsxpstyle.cpp.
| typedef HRESULT(WINAPI *) PtrGetThemeString(HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT LPWSTR pszBuff, int cchMaxBuffChars) |
Definition at line 199 of file qwindowsxpstyle.cpp.
| typedef bool(WINAPI *) PtrIsAppThemed() |
Definition at line 177 of file qwindowsxpstyle.cpp.
| typedef bool(WINAPI *) PtrIsThemeActive() |
Definition at line 178 of file qwindowsxpstyle.cpp.
| typedef BOOL(WINAPI *) PtrIsThemeBackgroundPartiallyTransparent(HTHEME hTheme, int iPartId, int iStateId) |
Definition at line 201 of file qwindowsxpstyle.cpp.
| typedef HTHEME(WINAPI *) PtrOpenThemeData(HWND hwnd, LPCWSTR pszClassList) |
Definition at line 180 of file qwindowsxpstyle.cpp.
| enum AlphaChannelType |
Definition at line 296 of file qwindowsxpstyle.cpp.
00296 { 00297 UnknownAlpha = -1, // Alpha of part & state not yet known 00298 NoAlpha, // Totally opaque, no need to touch alpha (RGB) 00299 MaskAlpha, // Alpha channel must be fixed (ARGB) 00300 RealAlpha // Proper alpha values from Windows (ARGB_Premultiplied) 00301 };
| static bool buttonVisible | ( | const QStyle::SubControl | sc, | |
| const QStyleOptionTitleBar * | tb | |||
| ) | [static] |
Definition at line 3383 of file qwindowsxpstyle.cpp.
References flags, QStyle::SC_TitleBarCloseButton, QStyle::SC_TitleBarContextHelpButton, QStyle::SC_TitleBarMaxButton, QStyle::SC_TitleBarMinButton, QStyle::SC_TitleBarNormalButton, QStyle::SC_TitleBarShadeButton, QStyle::SC_TitleBarSysMenu, QStyle::SC_TitleBarUnshadeButton, tb, Qt::WindowContextHelpButtonHint, Qt::WindowMaximizeButtonHint, Qt::WindowMaximized, Qt::WindowMinimizeButtonHint, Qt::WindowMinimized, Qt::WindowShadeButtonHint, and Qt::WindowSystemMenuHint.
Referenced by QWindowsXPStyle::subControlRect().
03383 { 03384 03385 bool isMinimized = tb->titleBarState & Qt::WindowMinimized; 03386 bool isMaximized = tb->titleBarState & Qt::WindowMaximized; 03387 const uint flags = tb->titleBarFlags; 03388 bool retVal = false; 03389 switch (sc) { 03390 case QStyle::SC_TitleBarContextHelpButton: 03391 if (flags & Qt::WindowContextHelpButtonHint) 03392 retVal = true; 03393 break; 03394 case QStyle::SC_TitleBarMinButton: 03395 if (!isMinimized && (flags & Qt::WindowMinimizeButtonHint)) 03396 retVal = true; 03397 break; 03398 case QStyle::SC_TitleBarNormalButton: 03399 if (isMinimized && (flags & Qt::WindowMinimizeButtonHint)) 03400 retVal = true; 03401 else if (isMaximized && (flags & Qt::WindowMaximizeButtonHint)) 03402 retVal = true; 03403 break; 03404 case QStyle::SC_TitleBarMaxButton: 03405 if (!isMaximized && (flags & Qt::WindowMaximizeButtonHint)) 03406 retVal = true; 03407 break; 03408 case QStyle::SC_TitleBarShadeButton: 03409 if (!isMinimized && flags & Qt::WindowShadeButtonHint) 03410 retVal = true; 03411 break; 03412 case QStyle::SC_TitleBarUnshadeButton: 03413 if (isMinimized && flags & Qt::WindowShadeButtonHint) 03414 retVal = true; 03415 break; 03416 case QStyle::SC_TitleBarCloseButton: 03417 if (flags & Qt::WindowSystemMenuHint) 03418 retVal = true; 03419 break; 03420 case QStyle::SC_TitleBarSysMenu: 03421 if (flags & Qt::WindowSystemMenuHint) 03422 retVal = true; 03423 break; 03424 default : 03425 retVal = true; 03426 } 03427 return retVal; 03428 }
| bool operator== | ( | const ThemeMapKey & | k1, | |
| const ThemeMapKey & | k2 | |||
| ) | [inline] |
Definition at line 289 of file qwindowsxpstyle.cpp.
References ThemeMapKey::name, ThemeMapKey::partId, and ThemeMapKey::stateId.
00290 { 00291 return k1.name == k2.name 00292 && k1.partId == k2.partId 00293 && k1.stateId == k2.stateId; 00294 }
| uint qHash | ( | const ThemeMapKey & | key | ) | [inline] |
Definition at line 286 of file qwindowsxpstyle.cpp.
References key, and QHash< Key, T >::qHash().
Here is the call graph for this function:

| Q_GUI_EXPORT HDC qt_win_display_dc | ( | ) |
PtrCloseThemeData pCloseThemeData = 0 [static] |
Definition at line 205 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::cleanupHandleMap(), and QWindowsXPStylePrivate::resolveSymbols().
PtrDrawThemeBackground pDrawThemeBackground = 0 [static] |
Definition at line 206 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundDirectly(), QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), and QWindowsXPStylePrivate::resolveSymbols().
PtrDrawThemeBackgroundEx pDrawThemeBackgroundEx = 0 [static] |
Definition at line 207 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackground(), QWindowsXPStylePrivate::drawBackgroundDirectly(), QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), and QWindowsXPStylePrivate::resolveSymbols().
PtrGetCurrentThemeName pGetCurrentThemeName = 0 [static] |
Definition at line 208 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeBackgroundRegion pGetThemeBackgroundRegion = 0 [static] |
Definition at line 223 of file qwindowsxpstyle.cpp.
Referenced by XPThemeData::mask(), QWindowsXPStylePrivate::region(), and QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeBool pGetThemeBool = 0 [static] |
Definition at line 209 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), and QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeColor pGetThemeColor = 0 [static] |
Definition at line 210 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsXPStyle::drawComplexControl(), QWindowsXPStyle::drawControl(), QWindowsXPStyle::drawPrimitive(), QWindowsXPStyle::polish(), and QWindowsXPStylePrivate::resolveSymbols().
Definition at line 224 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeEnumValue pGetThemeEnumValue = 0 [static] |
Definition at line 211 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsXPStyle::drawComplexControl(), QWindowsXPStyle::drawControl(), QWindowsXPStyle::drawPrimitive(), and QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeFilename pGetThemeFilename = 0 [static] |
Definition at line 212 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeFont pGetThemeFont = 0 [static] |
Definition at line 213 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeInt pGetThemeInt = 0 [static] |
Definition at line 214 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundDirectly(), QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), and QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeIntList pGetThemeIntList = 0 [static] |
Definition at line 215 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeMargins pGetThemeMargins = 0 [static] |
Definition at line 216 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl(), QWindowsXPStylePrivate::resolveSymbols(), and QWindowsXPStyle::subElementRect().
PtrGetThemeMetric pGetThemeMetric = 0 [static] |
Definition at line 217 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemePartSize pGetThemePartSize = 0 [static] |
Definition at line 218 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStyle::drawComplexControl(), QWindowsXPStyle::drawControl(), QWindowsXPStyle::pixelMetric(), QWindowsXPStylePrivate::resolveSymbols(), QWindowsXPStyle::standardIconImplementation(), QWindowsXPStyle::standardPixmap(), and QWindowsXPStylePrivate::tabBody().
PtrGetThemePosition pGetThemePosition = 0 [static] |
Definition at line 219 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemePropertyOrigin pGetThemePropertyOrigin = 0 [static] |
Definition at line 220 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::drawBackgroundDirectly(), QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), QWindowsXPStyle::drawPrimitive(), and QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeRect pGetThemeRect = 0 [static] |
Definition at line 221 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrGetThemeString pGetThemeString = 0 [static] |
Definition at line 222 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols().
PtrIsAppThemed pIsAppThemed = 0 [static] |
Definition at line 202 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols(), and QWindowsXPStylePrivate::useXP().
PtrIsThemeActive pIsThemeActive = 0 [static] |
Definition at line 203 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::resolveSymbols(), and QWindowsXPStylePrivate::useXP().
Definition at line 225 of file qwindowsxpstyle.cpp.
Referenced by QWindowsXPStylePrivate::isTransparent(), XPThemeData::mask(), and QWindowsXPStylePrivate::resolveSymbols().
PtrOpenThemeData pOpenThemeData = 0 [static] |
Definition at line 204 of file qwindowsxpstyle.cpp.
Referenced by XPThemeData::handle(), QWindowsXPStylePrivate::resolveSymbols(), and QWindowsXPStyle::subElementRect().
const int windowsArrowHMargin = 6 [static] |
Definition at line 232 of file qwindowsxpstyle.cpp.
const int windowsCheckMarkHMargin = 0 [static] |
Definition at line 233 of file qwindowsxpstyle.cpp.
const int windowsItemFrame = 2 [static] |
Definition at line 228 of file qwindowsxpstyle.cpp.
const int windowsItemHMargin = 3 [static] |
Definition at line 230 of file qwindowsxpstyle.cpp.
const int windowsItemVMargin = 0 [static] |
Definition at line 231 of file qwindowsxpstyle.cpp.
const int windowsRightBorder = 12 [static] |
Definition at line 234 of file qwindowsxpstyle.cpp.
const int windowsSepHeight = 9 [static] |
Definition at line 229 of file qwindowsxpstyle.cpp.
1.5.1