diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-12-10 12:53:20 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-12-10 12:53:20 +0100 |
commit | 9f831dde07cb2411808534e76669b28a1b76e21d (patch) | |
tree | ed6252d64c9a3ab27aa93786272cda1b6008f3c7 /share/qtcreator/templates/qtquick/qtquickcontrols_1_1/qml/app/main.qml | |
parent | cdac81f896ef4b052d76f96485a08e6ec13696b8 (diff) | |
parent | ea1a92484ac99057b06130a012164bf9788650e9 (diff) | |
download | qt-creator-wip/clang.tar.gz |
Merge remote-tracking branch 'origin/master' into wip/clangwip/clang
Change-Id: I8a2c8068a3f2b15034fb1bf6304c9a0f3f0e3c8f
Diffstat (limited to 'share/qtcreator/templates/qtquick/qtquickcontrols_1_1/qml/app/main.qml')
-rw-r--r-- | share/qtcreator/templates/qtquick/qtquickcontrols_1_1/qml/app/main.qml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/share/qtcreator/templates/qtquick/qtquickcontrols_1_1/qml/app/main.qml b/share/qtcreator/templates/qtquick/qtquickcontrols_1_1/qml/app/main.qml new file mode 100644 index 0000000000..b257de0b83 --- /dev/null +++ b/share/qtcreator/templates/qtquick/qtquickcontrols_1_1/qml/app/main.qml @@ -0,0 +1,23 @@ +import QtQuick 2.2 +import QtQuick.Controls 1.1 + +ApplicationWindow { + title: qsTr("Hello World") + width: 640 + height: 480 + + menuBar: MenuBar { + Menu { + title: qsTr("File") + MenuItem { + text: qsTr("Exit") + onTriggered: Qt.quit(); + } + } + } + + Button { + text: qsTr("Hello World") + anchors.centerIn: parent + } +} |