diff options
author | Balazs Kelemen <kbalazs@webkit.org> | 2012-09-27 12:24:25 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-28 18:50:32 +0200 |
commit | 75445c228476e4905cef3fb89a849f93f33e768f (patch) | |
tree | f8a9cb3a9eca2e85e8893e57078d912870d3ad3a /src/quick/items/qquickwindow_p.h | |
parent | e03363dfd1aeddd085c4c86d9a1964da769d7980 (diff) |
Allow grabbing windows rendered without showing for testing.
To make QQuickWindowPrivate::setRenderWithoutShowing more useful
for autotesting we can allow grabbing such windows. This is safe
if the platform window have been created and the window has a valid
size.
Change-Id: I8b9a2aaeb93935f662b75ef29651730b890441d5
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/quick/items/qquickwindow_p.h')
-rw-r--r-- | src/quick/items/qquickwindow_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h index fc8da0bd31..530e547f3e 100644 --- a/src/quick/items/qquickwindow_p.h +++ b/src/quick/items/qquickwindow_p.h @@ -173,6 +173,8 @@ public: void syncSceneGraph(); void renderSceneGraph(const QSize &size); + bool isRenderable() const; + bool renderWithoutShowing; void setRenderWithoutShowing(bool enabled); |