summaryrefslogtreecommitdiffstats
path: root/basicsuite/Sensors/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/Sensors/main.qml')
-rw-r--r--basicsuite/Sensors/main.qml28
1 files changed, 28 insertions, 0 deletions
diff --git a/basicsuite/Sensors/main.qml b/basicsuite/Sensors/main.qml
new file mode 100644
index 0000000..2e1b820
--- /dev/null
+++ b/basicsuite/Sensors/main.qml
@@ -0,0 +1,28 @@
+import QtQuick 2.0
+import QtSensors 5.0
+
+Item {
+ id: root
+ width: 800
+ height: 1280
+ Rectangle {
+ id: main
+ width: root.height
+ height: root.width
+ anchors.centerIn: parent
+ rotation: 90
+ border.width: 1
+
+ Light {
+ id: lys
+ width: main.width
+ height: main.height / 2
+ }
+
+ Accelbubble {
+ width: main.width
+ height: main.height / 2
+ anchors.top: lys.bottom
+ }
+ }
+}