summaryrefslogtreecommitdiffstats
path: root/examples/qmlbarchart/qml
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-05-31 08:15:00 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-05-31 08:36:02 +0300
commit7935b40e8ac46755b21ffe990d4ec1680418d908 (patch)
tree834ade9b90104b0fc9356363c471cd09c4e7a311 /examples/qmlbarchart/qml
parent49e4968b880ae4d1ff414a730329002aef562058 (diff)
Qml2 example added, no real functionality yet
Also reorganized examples a bit; moved duplicate configs to examples.pri. Change-Id: If518447ffa45e2b800fb3da9e6a7425d86209d35 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'examples/qmlbarchart/qml')
-rw-r--r--examples/qmlbarchart/qml/qmlbarchart/main.qml37
1 files changed, 37 insertions, 0 deletions
diff --git a/examples/qmlbarchart/qml/qmlbarchart/main.qml b/examples/qmlbarchart/qml/qmlbarchart/main.qml
new file mode 100644
index 00000000..406596b8
--- /dev/null
+++ b/examples/qmlbarchart/qml/qmlbarchart/main.qml
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2013 Digia Plc
+** All rights reserved.
+** For any questions to Digia, please use contact form at http://qt.digia.com
+**
+** This file is part of the QtDataVis3D module.
+**
+** $QT_BEGIN_LICENSE$
+** Licensees holding valid Qt Commercial licenses may use this file in
+** accordance with the Qt Commercial License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia.
+**
+** If you have questions regarding the use of this file, please use
+** contact form at http://qt.digia.com
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import com.digia.QtDataVis3D 1.0
+
+Rectangle {
+ width: 360
+ height: 360
+ Text {
+ text: qsTr("Hello World")
+ anchors.centerIn: parent
+ }
+ MouseArea {
+ anchors.fill: parent
+ onClicked: {
+ Qt.quit();
+ }
+ }
+}