summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/qandroidplatformforeignwindow.h
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2014-09-08 17:22:42 +0200
committerChristian Stromme <christian.stromme@digia.com>2014-09-26 23:45:13 +0200
commit10a0f93c86e8be018119a07123b88d3e4a5e584c (patch)
tree32b478785da92f72bbb797c16678258245037076 /src/plugins/platforms/android/qandroidplatformforeignwindow.h
parentafece6e49697983e7fd55647e1674504f7bc7235 (diff)
Android: Add function to change the stacking order in the layout.
This change enables us to reorder the stacking order used by the layout. This is necessary if we want to influence the drawing order. Lowering or raising views are done separately for native views and Qt surface views, that is, the two different view "types" are moved relative to other views of the same type and Native views are always placed on top. Change-Id: I01cbb88f8efee08877b5972cf330fd25266a2aa9 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformforeignwindow.h')
-rw-r--r--src/plugins/platforms/android/qandroidplatformforeignwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/android/qandroidplatformforeignwindow.h b/src/plugins/platforms/android/qandroidplatformforeignwindow.h
index 974ffbc376..df11c78b7c 100644
--- a/src/plugins/platforms/android/qandroidplatformforeignwindow.h
+++ b/src/plugins/platforms/android/qandroidplatformforeignwindow.h
@@ -45,6 +45,8 @@ class QAndroidPlatformForeignWindow : public QAndroidPlatformWindow
public:
explicit QAndroidPlatformForeignWindow(QWindow *window);
~QAndroidPlatformForeignWindow();
+ void lower() Q_DECL_OVERRIDE;
+ void raise() Q_DECL_OVERRIDE;
void setGeometry(const QRect &rect) Q_DECL_OVERRIDE;
void setVisible(bool visible) Q_DECL_OVERRIDE;
void applicationStateChanged(Qt::ApplicationState state) Q_DECL_OVERRIDE;