aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/nodetypes/main.qml
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-05-02 11:41:46 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-05-03 10:12:36 +0000
commit3551093f426ef7bbc222b543f573d5d341a43d8e (patch)
treec86c0d68c99ae1047e809c9a77ad4c2f4dc7e21e /tests/manual/nodetypes/main.qml
parentdc5b2fd31ccf36f5f6e0ec3a7222bda023c6b1eb (diff)
D3D12: Painter node
Only supports QImage backing. As a bonus add some notes to the Context2D docs too. Change-Id: I18457a1f766d2f136c6864ec06fe596668d5e726 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'tests/manual/nodetypes/main.qml')
-rw-r--r--tests/manual/nodetypes/main.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/manual/nodetypes/main.qml b/tests/manual/nodetypes/main.qml
index 10f5840262..87d42da3bb 100644
--- a/tests/manual/nodetypes/main.qml
+++ b/tests/manual/nodetypes/main.qml
@@ -71,5 +71,8 @@ Item {
if (event.key === Qt.Key_E)
loader.source = "qrc:/Effects.qml";
+
+ if (event.key === Qt.Key_P)
+ loader.source = "qrc:/Painter.qml";
}
}