summaryrefslogtreecommitdiffstats
path: root/tests/qmlcamera/qml/qmlcamera/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qmlcamera/qml/qmlcamera/main.qml')
-rw-r--r--tests/qmlcamera/qml/qmlcamera/main.qml11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/qmlcamera/qml/qmlcamera/main.qml b/tests/qmlcamera/qml/qmlcamera/main.qml
index c357accf..444e175c 100644
--- a/tests/qmlcamera/qml/qmlcamera/main.qml
+++ b/tests/qmlcamera/qml/qmlcamera/main.qml
@@ -67,7 +67,7 @@ Rectangle {
scene.activeCamera.zoomLevel: zoomSlider.value
inputHandler: null
- customItemList: [shuttleItem]
+ customItemList: [shuttleItem, labelItem]
}
Custom3DItem {
@@ -78,6 +78,15 @@ Rectangle {
scaling: Qt.vector3d(0.2,0.2,0.2)
}
+ Custom3DLabel {
+ id: labelItem
+ facingCamera: true
+ positionAbsolute: true
+ position: Qt.vector3d(0.0,1.5,0.0)
+ scaling: Qt.vector3d(1.0,1.0,1.0)
+ text: "Qt Shuttle"
+ }
+
MouseArea {
id: inputArea
anchors.fill: parent