From 0137f092af12110c427f05358f7b207ea95ea341 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 12 Jun 2012 10:47:42 +0200 Subject: Introduce QPA API for size grip handling. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- src/plugins/platforms/windows/qwindowswindow.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/windows/qwindowswindow.h') 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; -- cgit v1.2.3