summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxscreen.h
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>2012-09-12 15:53:46 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-19 19:54:44 +0200
commit89d9f8fe949e65e7455fabe288ea284aa6de06b1 (patch)
treed67be8e8812e961eeb3b06bd59f2443e048580e0 /src/plugins/platforms/qnx/qqnxscreen.h
parent2794b99bc66734b6a31f99c83b593831c03be710 (diff)
Rotate non maximized windows
There are two types of rotation to be considered: 1. Rotation of native widgets The corresponding window should be rotated and resized proportionally to the new screen geometry. 2. Rotation of toplevel windows. The window will be only rotated. It will be only moved or resized if it becomes clipped, in order to be fitted on the screen properly. Change-Id: Ice92427ac07a9bea284e68917ff3e0f436722bc0 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxscreen.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxscreen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxscreen.h b/src/plugins/platforms/qnx/qqnxscreen.h
index c2b7c68e2f..402203e7d2 100644
--- a/src/plugins/platforms/qnx/qqnxscreen.h
+++ b/src/plugins/platforms/qnx/qqnxscreen.h
@@ -106,6 +106,9 @@ private Q_SLOTS:
void keyboardHeightChanged(int height);
private:
+ void resizeNativeWidgetWindow(QQnxWindow *w, const QRect &previousScreenGeometry) const;
+ void resizeTopLevelWindow(QQnxWindow *w, const QRect &previousScreenGeometry) const;
+ void resizeWindows(const QRect &previousScreenGeometry);
void addOverlayWindow(screen_window_t window);
void removeOverlayWindow(screen_window_t window);