![]() |
Qt 4.8
|
#include "qapplication.h"#include "qapplication_p.h"#include "qbitmap.h"#include "qcursor.h"#include "qdesktopwidget.h"#include "qevent.h"#include "qimage.h"#include "qlayout.h"#include "qpainter.h"#include "qstack.h"#include "qthread.h"#include "qt_windows.h"#include "qwidget.h"#include "qwidget_p.h"#include "private/qbackingstore_p.h"#include "private/qwindowsurface_raster_p.h"#include "qscrollbar.h"#include "qabstractscrollarea.h"#include <private/qabstractscrollarea_p.h>#include <qdebug.h>#include <private/qapplication_p.h>#include <private/qwininputcontext_p.h>#include <private/qpaintengine_raster_p.h>#include <private/qsystemlibrary_p.h>#include "qguifunctions_wince.h"#include <ddraw.h>#include <private/qimage_p.h>#include <wintab.h>#include <pktdef.h>#include "qwidget_wince.cpp"Go to the source code of this file.
Classes | |
| class | QOnScreenRasterPaintEngine |
Macros | |
| #define | GWLP_WNDPROC GWL_WNDPROC |
| #define | PACKETDATA |
| #define | PACKETMODE 0 |
| #define | WRECT_MAX 16383 |
| #define | XCOORD_MAX 16383 |
Typedefs | |
| typedef BOOL(WINAPI * | PtrSetLayeredWindowAttributes) (HWND hwnd, COLORREF crKey, BYTE bAlpha, DWORD dwFlags) |
| typedef BOOL(API * | PtrWTClose) (HCTX) |
| typedef BOOL(API * | PtrWTEnable) (HCTX, BOOL) |
| typedef BOOL(API * | PtrWTGet) (HCTX, LPLOGCONTEXT) |
| typedef UINT(API * | PtrWTInfo) (UINT, UINT, LPVOID) |
| typedef HCTX(API * | PtrWTOpen) (HWND, LPLOGCONTEXT, BOOL) |
| typedef BOOL(API * | PtrWTOverlap) (HCTX, BOOL) |
| typedef int(API * | PtrWTPacketsGet) (HCTX, int, LPVOID) |
| typedef int(API * | PtrWTQueueSizeGet) (HCTX) |
| typedef BOOL(API * | PtrWTQueueSizeSet) (HCTX, int) |
Functions | |
| static void | init_wintab_functions () |
| HICON | qt_createIcon (QIcon icon, int xSize, int ySize, QPixmap **cache) |
| QWidget * | qt_get_tablet_widget () |
| QCursor * | qt_grab_cursor () |
| bool | qt_nograb () |
| QOleDropTarget * | qt_olednd_register (QWidget *widget) |
| void | qt_olednd_unregister (QWidget *widget, QOleDropTarget *dst) |
| const QString | qt_reg_winclass (QWidget *w) |
| static void | qt_tablet_cleanup () |
| static void | qt_tablet_init () |
| HRGN | qt_tryCreateRegion (QRegion::RegionType type, int left, int top, int right, int bottom) |
| HRGN | qt_win_bitmapToRegion (const QBitmap &bitmap) |
| Q_GUI_EXPORT HDC | qt_win_display_dc () |
| void | qt_win_initialize_directdraw () |
| void | qt_wince_full_screen (HWND hwnd, bool fullScreen, UINT swpf) |
| bool | qt_wince_is_mobile () |
| void | qt_wince_maximize (QWidget *widget) |
| void | qt_wince_minimize (HWND hwnd) |
| void | qt_wince_unmaximize (QWidget *widget) |
| LRESULT QT_WIN_CALLBACK | QtWndProc (HWND, UINT, WPARAM, LPARAM) |
| void | qWinRequestConfig (WId, int, int, int, int, int) |
Variables | |
| static HHOOK | journalRec = 0 |
| static QWidget * | keyboardGrb = 0 |
| static QWidget * | mouseGrb = 0 |
| static QCursor * | mouseGrbCur = 0 |
| static PtrSetLayeredWindowAttributes | ptrSetLayeredWindowAttributes = 0 |
| static PtrWTClose | ptrWTClose = 0 |
| static PtrWTInfo | ptrWTInfo = 0 |
| static PtrWTOpen | ptrWTOpen = 0 |
| static PtrWTQueueSizeGet | ptrWTQueueSizeGet = 0 |
| static PtrWTQueueSizeSet | ptrWTQueueSizeSet = 0 |
| static IDirectDraw * | qt_ddraw_object |
| static IDirectDrawSurface * | qt_ddraw_primary |
| bool | qt_is_gui_used |
| static uchar * | qt_primary_surface_bits |
| static QImage::Format | qt_primary_surface_format |
| static int | qt_primary_surface_stride |
| HCTX | qt_tablet_context |
| bool | qt_tablet_tilt_support |
| static QWidget * | qt_tablet_widget = 0 |
| #define GWLP_WNDPROC GWL_WNDPROC |
Definition at line 101 of file qwidget_win.cpp.
| #define PACKETDATA |
Definition at line 105 of file qwidget_win.cpp.
Referenced by qt_tablet_init().
| #define PACKETMODE 0 |
Definition at line 107 of file qwidget_win.cpp.
Referenced by qt_tablet_init().
| #define WRECT_MAX 16383 |
Definition at line 256 of file qwidget_win.cpp.
Referenced by qt_grab_cursor().
| #define XCOORD_MAX 16383 |
Definition at line 255 of file qwidget_win.cpp.
Referenced by qt_grab_cursor().
| typedef BOOL(WINAPI * PtrSetLayeredWindowAttributes) (HWND hwnd, COLORREF crKey, BYTE bAlpha, DWORD dwFlags) |
Definition at line 80 of file qwidget_win.cpp.
| typedef BOOL(API * PtrWTClose) (HCTX) |
Definition at line 114 of file qwidget_win.cpp.
| typedef BOOL(API * PtrWTEnable) (HCTX, BOOL) |
Definition at line 116 of file qwidget_win.cpp.
| typedef BOOL(API * PtrWTGet) (HCTX, LPLOGCONTEXT) |
Definition at line 119 of file qwidget_win.cpp.
| typedef UINT(API * PtrWTInfo) (UINT, UINT, LPVOID) |
Definition at line 115 of file qwidget_win.cpp.
| typedef HCTX(API * PtrWTOpen) (HWND, LPLOGCONTEXT, BOOL) |
Definition at line 113 of file qwidget_win.cpp.
| typedef BOOL(API * PtrWTOverlap) (HCTX, BOOL) |
Definition at line 117 of file qwidget_win.cpp.
| typedef int(API * PtrWTPacketsGet) (HCTX, int, LPVOID) |
Definition at line 118 of file qwidget_win.cpp.
| typedef int(API * PtrWTQueueSizeGet) (HCTX) |
Definition at line 120 of file qwidget_win.cpp.
| typedef BOOL(API * PtrWTQueueSizeSet) (HCTX, int) |
Definition at line 121 of file qwidget_win.cpp.
|
static |
Definition at line 145 of file qwidget_win.cpp.
Referenced by qt_tablet_init().
Definition at line 798 of file qwidget_win.cpp.
| QWidget* qt_get_tablet_widget | ( | ) |
| QCursor* qt_grab_cursor | ( | ) |
Definition at line 858 of file qwidget_win.cpp.
Referenced by qt_try_modal(), and QETWidget::translateMouseEvent().
| bool qt_nograb | ( | ) |
Definition at line 482 of file qapplication_mac.mm.
Referenced by qt_grab_cursor(), and qt_tablet_cleanup().
| QOleDropTarget* qt_olednd_register | ( | QWidget * | widget | ) |
Referenced by qt_tablet_cleanup().
| void qt_olednd_unregister | ( | QWidget * | widget, |
| QOleDropTarget * | dst | ||
| ) |
Referenced by qt_tablet_cleanup().
Definition at line 969 of file qapplication_win.cpp.
Referenced by qt_tablet_cleanup().
|
static |
|
static |
Definition at line 161 of file qwidget_win.cpp.
| HRGN qt_tryCreateRegion | ( | QRegion::RegionType | type, |
| int | left, | ||
| int | top, | ||
| int | right, | ||
| int | bottom | ||
| ) |
Definition at line 55 of file qregion_win.cpp.
Referenced by qt_grab_cursor().
| HRGN qt_win_bitmapToRegion | ( | const QBitmap & | bitmap | ) |
Referenced by qt_tablet_cleanup().
| Q_GUI_EXPORT HDC qt_win_display_dc | ( | ) |
Definition at line 942 of file qapplication_win.cpp.
Referenced by qt_grab_cursor().
| void qt_win_initialize_directdraw | ( | ) |
Definition at line 1969 of file qwidget_win.cpp.
Referenced by qt_init().
| void qt_wince_full_screen | ( | HWND | hwnd, |
| bool | fullScreen, | ||
| UINT | swpf | ||
| ) |
Definition at line 366 of file qguifunctions_wince.cpp.
Referenced by qt_tablet_cleanup_wce().
| bool qt_wince_is_mobile | ( | ) |
| void qt_wince_maximize | ( | QWidget * | widget | ) |
Definition at line 312 of file qguifunctions_wince.cpp.
Referenced by qt_grab_cursor(), and qt_tablet_cleanup_wce().
| void qt_wince_minimize | ( | HWND | hwnd | ) |
Definition at line 347 of file qguifunctions_wince.cpp.
Referenced by qt_tablet_cleanup_wce().
| void qt_wince_unmaximize | ( | QWidget * | widget | ) |
Definition at line 337 of file qguifunctions_wince.cpp.
Referenced by qt_tablet_cleanup_wce().
| LRESULT QT_WIN_CALLBACK QtWndProc | ( | HWND | , |
| UINT | , | ||
| WPARAM | , | ||
| LPARAM | |||
| ) |
Definition at line 1475 of file qapplication_win.cpp.
| void qWinRequestConfig | ( | WId | , |
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) |
Definition at line 1148 of file qapplication_win.cpp.
Referenced by qt_grab_cursor().
|
static |
Definition at line 251 of file qwidget_win.cpp.
Referenced by qJournalRecordProc(), and qt_grab_cursor().
|
static |
Definition at line 250 of file qwidget_win.cpp.
Referenced by qt_grab_cursor().
|
static |
Definition at line 248 of file qwidget_win.cpp.
Referenced by qJournalRecordProc(), and qt_grab_cursor().
|
static |
Definition at line 249 of file qwidget_win.cpp.
Referenced by qJournalRecordProc(), and qt_grab_cursor().
|
static |
Definition at line 81 of file qwidget_win.cpp.
Referenced by qt_grab_cursor().
|
static |
Definition at line 124 of file qwidget_win.cpp.
Referenced by init_wintab_functions(), qt_tablet_cleanup(), and qt_tablet_cleanup_wce().
|
static |
Definition at line 125 of file qwidget_win.cpp.
Referenced by init_wintab_functions(), and qt_tablet_init().
|
static |
Definition at line 123 of file qwidget_win.cpp.
Referenced by init_wintab_functions(), qt_tablet_init(), and qt_tablet_init_wce().
|
static |
Definition at line 126 of file qwidget_win.cpp.
Referenced by init_wintab_functions(), qt_tablet_init(), and qt_tablet_init_wce().
|
static |
Definition at line 127 of file qwidget_win.cpp.
Referenced by init_wintab_functions(), qt_tablet_init(), and qt_tablet_init_wce().
|
static |
Definition at line 86 of file qwidget_win.cpp.
Referenced by qt_win_initialize_directdraw().
|
static |
Definition at line 87 of file qwidget_win.cpp.
Referenced by QOnScreenRasterPaintEngine::begin(), QOnScreenRasterPaintEngine::end(), and qt_win_initialize_directdraw().
| bool qt_is_gui_used |
Definition at line 492 of file qapplication.cpp.
Referenced by init_wintab_functions(), and qt_get_tablet_widget().
|
static |
Definition at line 1965 of file qwidget_win.cpp.
Referenced by QOnScreenRasterPaintEngine::begin().
|
static |
Definition at line 1967 of file qwidget_win.cpp.
|
static |
Definition at line 1966 of file qwidget_win.cpp.
| HCTX qt_tablet_context |
Definition at line 261 of file qapplication_win.cpp.
Referenced by qt_tablet_cleanup(), qt_tablet_cleanup_wce(), qt_tablet_init(), qt_tablet_init_wce(), and QtWndProc().
| bool qt_tablet_tilt_support |
Definition at line 262 of file qapplication_win.cpp.
Referenced by qt_tablet_init(), qt_tablet_init_wce(), and QETWidget::translateTabletEvent().
|
static |
Definition at line 136 of file qwidget_win.cpp.
Referenced by qt_get_tablet_widget(), qt_tablet_cleanup(), qt_tablet_cleanup_wce(), and qt_tablet_init_wce().