diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-02-05 14:59:49 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-07 04:47:04 +0100 |
commit | b9fe8e30cbd7564d9610e097e219212663e42165 (patch) | |
tree | c01e98ba781b34741d743afecbefbbc8a551d44f /src/gui/kernel/qplatformwindow.h | |
parent | b2d5e7805abe569a926eb087a75bd903261b734f (diff) |
QPA: Introduce QPlatformWindow::normalGeometry().
QWidgetWindow stores the normal geometry obtained from the widget when
transiting to other states. This does not work reliably on Windows,
where this geometry is already that of the new state. Instead,
introduce QPlatformWindow::normalGeometry(), add implementation
for Windows and use that in QWidgetWindow.
Task-number: QTBUG-21371
Change-Id: I3819ebaf55b4e7d2f7eef1affe6c20712ba45d7c
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/gui/kernel/qplatformwindow.h')
-rw-r--r-- | src/gui/kernel/qplatformwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformwindow.h b/src/gui/kernel/qplatformwindow.h index 7dfbae036f..0adeb223f1 100644 --- a/src/gui/kernel/qplatformwindow.h +++ b/src/gui/kernel/qplatformwindow.h @@ -84,6 +84,7 @@ public: virtual void setGeometry(const QRect &rect); virtual QRect geometry() const; + virtual QRect normalGeometry() const; virtual QMargins frameMargins() const; |