Qt 4.8
|
#include "qwindowsvistastyle.h"
#include "qwindowsvistastyle_p.h"
#include <private/qstylehelper_p.h>
#include <private/qsystemlibrary_p.h>
Go to the source code of this file.
Macros | |
#define | BP_COMMANDLINK 6 |
#define | BP_COMMANDLINKGLYPH 7 |
#define | CMDLGS_DISABLED 4 |
#define | CMDLGS_HOT 2 |
#define | CMDLGS_NORMAL 1 |
#define | CMDLGS_PRESSED 3 |
#define | LISS_DISABLED 4 |
#define | LISS_HOT 2 |
#define | LISS_HOTSELECTED 6 |
#define | LISS_NORMAL 1 |
#define | LISS_SELECTED 3 |
#define | LISS_SELECTEDNOTFOCUS 5 |
#define | PP_TRANSPARENTBAR 11 |
#define | PP_TRANSPARENTBARVERT 12 |
#define | TMT_CONTENTMARGINS 3602 |
#define | TMT_SIZINGMARGINS 3601 |
Typedefs | |
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 * | 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 * | PtrGetThemeTransitionDuration) (HTHEME hTheme, int iPartId, int iStateFromId, int iStateToId, int iPropId, int *pDuration) |
typedef HRESULT(WINAPI * | PtrIsThemePartDefined) (HTHEME hTheme, int iPartId, int iStateId) |
typedef HTHEME(WINAPI * | PtrOpenThemeData) (HWND hwnd, LPCWSTR pszClassList) |
typedef HRESULT(WINAPI * | PtrSetWindowTheme) (HWND hwnd, LPCWSTR pszSubAppName, LPCWSTR pszSubIdList) |
Functions | |
static int | buttonStateId (int flags, int partId) |
static bool | buttonVisible (const QStyle::SubControl sc, const QStyleOptionTitleBar *tb) |
#define BP_COMMANDLINK 6 |
Definition at line 72 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl().
#define BP_COMMANDLINKGLYPH 7 |
Definition at line 73 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::standardIconImplementation().
#define CMDLGS_DISABLED 4 |
Definition at line 77 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::standardIconImplementation().
#define CMDLGS_HOT 2 |
Definition at line 75 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::standardIconImplementation().
#define CMDLGS_NORMAL 1 |
Definition at line 74 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::standardIconImplementation().
#define CMDLGS_PRESSED 3 |
Definition at line 76 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::standardIconImplementation().
#define LISS_DISABLED 4 |
Definition at line 67 of file qwindowsvistastyle.cpp.
#define LISS_HOT 2 |
Definition at line 65 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive().
#define LISS_HOTSELECTED 6 |
Definition at line 69 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive().
#define LISS_NORMAL 1 |
Definition at line 64 of file qwindowsvistastyle.cpp.
#define LISS_SELECTED 3 |
Definition at line 66 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive().
#define LISS_SELECTEDNOTFOCUS 5 |
Definition at line 68 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive().
#define PP_TRANSPARENTBAR 11 |
Definition at line 80 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl().
#define PP_TRANSPARENTBARVERT 12 |
Definition at line 81 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl().
#define TMT_CONTENTMARGINS 3602 |
Definition at line 58 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::sizeFromContents(), QWindowsXPStyle::sizeFromContents(), QWindowsVistaStyle::subElementRect(), and QWindowsXPStyle::subElementRect().
#define TMT_SIZINGMARGINS 3601 |
Definition at line 61 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), and QWindowsXPStyle::drawComplexControl().
typedef HRESULT(WINAPI * PtrCloseThemeData) (HTHEME hTheme) |
Definition at line 90 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrDrawThemeBackground) (HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const RECT *pClipRect) |
Definition at line 91 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrDrawThemeBackgroundEx) (HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const DTBGOPTS *pOptions) |
Definition at line 92 of file qwindowsvistastyle.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 93 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeBool) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT BOOL *pfVal) |
Definition at line 94 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeColor) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT COLORREF *pColor) |
Definition at line 95 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeEnumValue) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
Definition at line 96 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeFilename) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT LPWSTR pszThemeFileName, int cchMaxBuffChars) |
Definition at line 97 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeFont) (HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, int iPropId, OUT LOGFONT *pFont) |
Definition at line 98 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeInt) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
Definition at line 99 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeIntList) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT INTLIST *pIntList) |
Definition at line 100 of file qwindowsvistastyle.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 101 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeMetric) (HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, int iPropId, OUT int *piVal) |
Definition at line 102 of file qwindowsvistastyle.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 87 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemePosition) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT POINT *pPoint) |
Definition at line 104 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemePropertyOrigin) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT enum PROPERTYORIGIN *pOrigin) |
Definition at line 110 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeRect) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT RECT *pRect) |
Definition at line 105 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeString) (HTHEME hTheme, int iPartId, int iStateId, int iPropId, OUT LPWSTR pszBuff, int cchMaxBuffChars) |
Definition at line 106 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrGetThemeTransitionDuration) (HTHEME hTheme, int iPartId, int iStateFromId, int iStateToId, int iPropId, int *pDuration) |
Definition at line 107 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrIsThemePartDefined) (HTHEME hTheme, int iPartId, int iStateId) |
Definition at line 108 of file qwindowsvistastyle.cpp.
typedef HTHEME(WINAPI * PtrOpenThemeData) (HWND hwnd, LPCWSTR pszClassList) |
Definition at line 88 of file qwindowsvistastyle.cpp.
typedef HRESULT(WINAPI * PtrSetWindowTheme) (HWND hwnd, LPCWSTR pszSubAppName, LPCWSTR pszSubIdList) |
Definition at line 109 of file qwindowsvistastyle.cpp.
|
static |
Definition at line 170 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl(), and QWindowsVistaStyle::drawPrimitive().
|
static |
Definition at line 2105 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::subControlRect().
|
static |
Definition at line 114 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 115 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 116 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 117 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 118 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 119 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive(), QWindowsVistaStyle::polish(), and QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 120 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive(), and QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 121 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 122 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 123 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive(), and QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 124 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 125 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStylePrivate::resolveSymbols(), QWindowsVistaStyle::sizeFromContents(), and QWindowsVistaStyle::subElementRect().
|
static |
Definition at line 126 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 127 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), QWindowsVistaStylePrivate::resolveSymbols(), QWindowsVistaStyle::sizeFromContents(), QWindowsVistaStyle::standardIconImplementation(), and QWindowsVistaStyle::subElementRect().
|
static |
Definition at line 128 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 133 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive(), and QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 129 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 130 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 131 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), and QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 112 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols().
|
static |
Definition at line 113 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), QWindowsVistaStyle::polish(), QWindowsVistaStylePrivate::resolveSymbols(), and QWindowsVistaStyle::subElementRect().
|
static |
Definition at line 132 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate::resolveSymbols(), and QWindowsVistaStylePrivate::treeViewHelper().
|
static |
Definition at line 54 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl().
|
static |
Definition at line 51 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl().
|
static |
Definition at line 52 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl(), and QWindowsVistaStyle::sizeFromContents().
|
static |
Definition at line 53 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl().
|
static |
Definition at line 55 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawControl().