diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-06-12 10:47:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-14 03:05:41 +0200 |
commit | 0137f092af12110c427f05358f7b207ea95ea341 (patch) | |
tree | f314b8d0f744c4822af8f0d8890ecd9983a284d7 /src/plugins/platforms/windows/qwindowswindow.h | |
parent | 1539e8e310ee3da8ae44a4b5b28d0f72b1345eb4 (diff) |
Introduce QPA API for size grip handling.
- Introduce API to do size grip handling (mouse press
and move).
- Move Windows code to Windows plugin.
- Move X11 code to XCB plugin and activate it.
Change-Id: I2f61d6ddc1fa07447e668554d41ecc820efca23f
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowswindow.h')
-rw-r--r-- | src/plugins/platforms/windows/qwindowswindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwindowswindow.h b/src/plugins/platforms/windows/qwindowswindow.h index ee45be18cd..2fd401029e 100644 --- a/src/plugins/platforms/windows/qwindowswindow.h +++ b/src/plugins/platforms/windows/qwindowswindow.h @@ -122,7 +122,8 @@ public: OpenGLSurface = 0x10, OpenGLDoubleBuffered = 0x20, OpenGlPixelFormatInitialized = 0x40, - BlockedByModal = 0x80 + BlockedByModal = 0x80, + SizeGripOperation = 0x100 }; struct WindowData @@ -173,6 +174,8 @@ public: virtual bool setKeyboardGrabEnabled(bool grab); virtual bool setMouseGrabEnabled(bool grab); + virtual bool startSystemResize(const QPoint &pos, Qt::Corner corner); + Qt::WindowState windowState_sys() const; Qt::WindowStates windowStates_sys() const; |