![]() |
Qt 4.8
|
#include "qwizard_win_p.h"#include <private/qsystemlibrary_p.h>#include "qwizard.h"#include "qpaintengine.h"#include "qapplication.h"#include <QtGui/QMouseEvent>#include <QtGui/QDesktopWidget>#include <uxtheme.h>Go to the source code of this file.
Classes | |
| class | QHackWidget |
| struct | WIZ_DTTOPTS |
| struct | WIZ_MARGINS |
| struct | WIZ_WTA_OPTIONS |
Macros | |
| #define | WIZ_CS_ACTIVE 1 |
| #define | WIZ_DT_CENTER 0x00000001 |
| #define | WIZ_DT_NOPREFIX 0x00000800 |
| #define | WIZ_DT_SINGLELINE 0x00000020 |
| #define | WIZ_DT_VCENTER 0x00000004 |
| #define | WIZ_DTT_COMPOSITED (1UL << 13) |
| #define | WIZ_DTT_GLOWSIZE (1UL << 11) |
| #define | WIZ_TMT_BORDERCOLORHINT 3822 |
| #define | WIZ_TMT_CAPTIONFONT (801) |
| #define | WIZ_TMT_FILLCOLORHINT 3821 |
| #define | WIZ_WM_DWMCOMPOSITIONCHANGED 0x031E |
| #define | WIZ_WM_NCMOUSELEAVE 674 |
| #define | WIZ_WM_THEMECHANGED 0x031A |
| #define | WIZ_WP_CAPTION 1 |
| #define | WIZ_WTNCA_NODRAWCAPTION 0x00000001 |
| #define | WIZ_WTNCA_NODRAWICON 0x00000002 |
Typedefs | |
| typedef HRESULT(WINAPI * | PtrCloseThemeData) (HANDLE hTheme) |
| typedef HRESULT(WINAPI * | PtrDrawThemeBackground) (HANDLE hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const RECT *pClipRect) |
| typedef HRESULT(WINAPI * | PtrDrawThemeTextEx) (HANDLE hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int cchText, DWORD dwTextFlags, LPRECT pRect, const WIZ_DTTOPTS *pOptions) |
| typedef BOOL(WINAPI * | PtrDwmDefWindowProc) (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult) |
| typedef HRESULT(WINAPI * | PtrDwmExtendFrameIntoClientArea) (HWND hWnd, const WIZ_MARGINS *pMarInset) |
| typedef HRESULT(WINAPI * | PtrDwmIsCompositionEnabled) (BOOL *pfEnabled) |
| typedef HRESULT(WINAPI * | PtrGetThemeColor) (HANDLE hTheme, int iPartId, int iStateId, int iPropId, OUT COLORREF *pColor) |
| typedef HRESULT(WINAPI * | PtrGetThemePartSize) (HANDLE hTheme, HDC hdc, int iPartId, int iStateId, OPTIONAL RECT *prc, enum THEMESIZE eSize, OUT SIZE *psz) |
| typedef HRESULT(WINAPI * | PtrGetThemeSysFont) (HANDLE hTheme, int iFontId, LOGFONTW *plf) |
| typedef bool(WINAPI * | PtrIsAppThemed) () |
| typedef bool(WINAPI * | PtrIsThemeActive) () |
| typedef HANDLE(WINAPI * | PtrOpenThemeData) (HWND hwnd, LPCWSTR pszClassList) |
| typedef HRESULT(WINAPI * | PtrSetWindowThemeAttribute) (HWND hwnd, enum WIZ_WINDOWTHEMEATTRIBUTETYPE eAttribute, PVOID pvAttribute, DWORD cbAttribute) |
Enumerations | |
| enum | WIZ_NAV_BACKBUTTONSTATES { WIZ_NAV_BB_NORMAL = 1, WIZ_NAV_BB_HOT = 2, WIZ_NAV_BB_PRESSED = 3, WIZ_NAV_BB_DISABLED = 4 } |
| enum | WIZ_NAVIGATIONPARTS { WIZ_NAV_BACKBUTTON = 1, WIZ_NAV_FORWARDBUTTON = 2, WIZ_NAV_MENUBUTTON = 3 } |
| enum | WIZ_WINDOWTHEMEATTRIBUTETYPE { WIZ_WTA_NONCLIENT = 1 } |
Functions | |
| static int | getWindowBottomMargin () |
Variables | |
| static PtrCloseThemeData | pCloseThemeData = 0 |
| static PtrDrawThemeBackground | pDrawThemeBackground = 0 |
| static PtrDrawThemeTextEx | pDrawThemeTextEx = 0 |
| static PtrDwmDefWindowProc | pDwmDefWindowProc = 0 |
| static PtrDwmExtendFrameIntoClientArea | pDwmExtendFrameIntoClientArea = 0 |
| static PtrDwmIsCompositionEnabled | pDwmIsCompositionEnabled = 0 |
| static PtrGetThemeColor | pGetThemeColor = 0 |
| static PtrGetThemePartSize | pGetThemePartSize = 0 |
| static PtrGetThemeSysFont | pGetThemeSysFont = 0 |
| static PtrIsAppThemed | pIsAppThemed = 0 |
| static PtrIsThemeActive | pIsThemeActive = 0 |
| static PtrOpenThemeData | pOpenThemeData = 0 |
| static PtrSetWindowThemeAttribute | pSetWindowThemeAttribute = 0 |
| #define WIZ_CS_ACTIVE 1 |
Definition at line 132 of file qwizard_win.cpp.
Referenced by QVistaHelper::basicWindowFrameColor().
| #define WIZ_DT_CENTER 0x00000001 |
Definition at line 107 of file qwizard_win.cpp.
Referenced by QVistaHelper::drawTitleText().
| #define WIZ_DT_NOPREFIX 0x00000800 |
Definition at line 110 of file qwizard_win.cpp.
Referenced by QVistaHelper::drawTitleText().
| #define WIZ_DT_SINGLELINE 0x00000020 |
Definition at line 109 of file qwizard_win.cpp.
Referenced by QVistaHelper::drawTitleText().
| #define WIZ_DT_VCENTER 0x00000004 |
Definition at line 108 of file qwizard_win.cpp.
Referenced by QVistaHelper::drawTitleText().
| #define WIZ_DTT_COMPOSITED (1UL << 13) |
Definition at line 126 of file qwizard_win.cpp.
Referenced by QVistaHelper::drawTitleText().
| #define WIZ_DTT_GLOWSIZE (1UL << 11) |
Definition at line 127 of file qwizard_win.cpp.
Referenced by QVistaHelper::drawTitleText().
| #define WIZ_TMT_BORDERCOLORHINT 3822 |
Definition at line 134 of file qwizard_win.cpp.
Referenced by QVistaHelper::basicWindowFrameColor().
| #define WIZ_TMT_CAPTIONFONT (801) |
Definition at line 125 of file qwizard_win.cpp.
Referenced by QVistaHelper::getCaptionFont().
| #define WIZ_TMT_FILLCOLORHINT 3821 |
Definition at line 133 of file qwizard_win.cpp.
Referenced by QVistaHelper::basicWindowFrameColor().
| #define WIZ_WM_DWMCOMPOSITIONCHANGED 0x031E |
Definition at line 98 of file qwizard_win.cpp.
Referenced by QVistaHelper::handleWinEvent().
| #define WIZ_WM_NCMOUSELEAVE 674 |
Definition at line 129 of file qwizard_win.cpp.
| #define WIZ_WM_THEMECHANGED 0x031A |
Definition at line 97 of file qwizard_win.cpp.
Referenced by QVistaHelper::handleWinEvent().
| #define WIZ_WP_CAPTION 1 |
Definition at line 131 of file qwizard_win.cpp.
Referenced by QVistaHelper::basicWindowFrameColor().
| #define WIZ_WTNCA_NODRAWCAPTION 0x00000001 |
Definition at line 104 of file qwizard_win.cpp.
Referenced by QVistaHelper::setTitleBarIconAndCaptionVisible().
| #define WIZ_WTNCA_NODRAWICON 0x00000002 |
Definition at line 105 of file qwizard_win.cpp.
Referenced by QVistaHelper::setTitleBarIconAndCaptionVisible().
| typedef HRESULT(WINAPI * PtrCloseThemeData) (HANDLE hTheme) |
Definition at line 150 of file qwizard_win.cpp.
| typedef HRESULT(WINAPI * PtrDrawThemeBackground) (HANDLE hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const RECT *pClipRect) |
Definition at line 153 of file qwizard_win.cpp.
| typedef HRESULT(WINAPI * PtrDrawThemeTextEx) (HANDLE hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int cchText, DWORD dwTextFlags, LPRECT pRect, const WIZ_DTTOPTS *pOptions) |
Definition at line 152 of file qwizard_win.cpp.
| typedef BOOL(WINAPI * PtrDwmDefWindowProc) (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult) |
Definition at line 136 of file qwizard_win.cpp.
| typedef HRESULT(WINAPI * PtrDwmExtendFrameIntoClientArea) (HWND hWnd, const WIZ_MARGINS *pMarInset) |
Definition at line 138 of file qwizard_win.cpp.
| typedef HRESULT(WINAPI * PtrDwmIsCompositionEnabled) (BOOL *pfEnabled) |
Definition at line 137 of file qwizard_win.cpp.
| typedef HRESULT(WINAPI * PtrGetThemeColor) (HANDLE hTheme, int iPartId, int iStateId, int iPropId, OUT COLORREF *pColor) |
Definition at line 155 of file qwizard_win.cpp.
| typedef HRESULT(WINAPI * PtrGetThemePartSize) (HANDLE hTheme, HDC hdc, int iPartId, int iStateId, OPTIONAL RECT *prc, enum THEMESIZE eSize, OUT SIZE *psz) |
Definition at line 154 of file qwizard_win.cpp.
| typedef HRESULT(WINAPI * PtrGetThemeSysFont) (HANDLE hTheme, int iFontId, LOGFONTW *plf) |
Definition at line 151 of file qwizard_win.cpp.
| typedef bool(WINAPI * PtrIsAppThemed) () |
Definition at line 147 of file qwizard_win.cpp.
| typedef bool(WINAPI * PtrIsThemeActive) () |
Definition at line 148 of file qwizard_win.cpp.
| typedef HANDLE(WINAPI * PtrOpenThemeData) (HWND hwnd, LPCWSTR pszClassList) |
Definition at line 149 of file qwizard_win.cpp.
| typedef HRESULT(WINAPI * PtrSetWindowThemeAttribute) (HWND hwnd, enum WIZ_WINDOWTHEMEATTRIBUTETYPE eAttribute, PVOID pvAttribute, DWORD cbAttribute) |
Definition at line 139 of file qwizard_win.cpp.
| Enumerator | |
|---|---|
| WIZ_NAV_BB_NORMAL | |
| WIZ_NAV_BB_HOT | |
| WIZ_NAV_BB_PRESSED | |
| WIZ_NAV_BB_DISABLED | |
Definition at line 118 of file qwizard_win.cpp.
| enum WIZ_NAVIGATIONPARTS |
| Enumerator | |
|---|---|
| WIZ_NAV_BACKBUTTON | |
| WIZ_NAV_FORWARDBUTTON | |
| WIZ_NAV_MENUBUTTON | |
Definition at line 112 of file qwizard_win.cpp.
| Enumerator | |
|---|---|
| WIZ_WTA_NONCLIENT | |
Definition at line 100 of file qwizard_win.cpp.
|
inlinestatic |
Definition at line 741 of file qwizard_win.cpp.
Referenced by QVistaHelper::frameSize().
|
static |
Definition at line 160 of file qwizard_win.cpp.
Referenced by QVistaHelper::resolveSymbols().
|
static |
Definition at line 163 of file qwizard_win.cpp.
Referenced by QVistaBackButton::paintEvent(), and QVistaHelper::resolveSymbols().
|
static |
Definition at line 162 of file qwizard_win.cpp.
Referenced by QVistaHelper::drawTitleText(), and QVistaHelper::resolveSymbols().
|
static |
Definition at line 141 of file qwizard_win.cpp.
Referenced by QVistaHelper::resolveSymbols(), and QVistaHelper::winEvent().
|
static |
Definition at line 143 of file qwizard_win.cpp.
Referenced by QVistaHelper::resolveSymbols(), and QVistaHelper::setDWMTitleBar().
|
static |
Definition at line 142 of file qwizard_win.cpp.
Referenced by QVistaHelper::isCompositionEnabled(), and QVistaHelper::resolveSymbols().
|
static |
Definition at line 165 of file qwizard_win.cpp.
Referenced by QVistaHelper::basicWindowFrameColor(), and QVistaHelper::resolveSymbols().
|
static |
Definition at line 164 of file qwizard_win.cpp.
Referenced by QVistaHelper::resolveSymbols().
|
static |
Definition at line 161 of file qwizard_win.cpp.
Referenced by QVistaHelper::getCaptionFont(), and QVistaHelper::resolveSymbols().
|
static |
Definition at line 157 of file qwizard_win.cpp.
Referenced by QVistaHelper::resolveSymbols().
|
static |
Definition at line 158 of file qwizard_win.cpp.
Referenced by QVistaHelper::isThemeActive(), and QVistaHelper::resolveSymbols().
|
static |
Definition at line 159 of file qwizard_win.cpp.
Referenced by QVistaHelper::basicWindowFrameColor(), QVistaHelper::drawTitleText(), QVistaBackButton::paintEvent(), and QVistaHelper::resolveSymbols().
|
static |
Definition at line 144 of file qwizard_win.cpp.
Referenced by QVistaHelper::resolveSymbols(), and QVistaHelper::setTitleBarIconAndCaptionVisible().