diff options
Diffstat (limited to 'share/qtcreator/templates/qtquick/qtquick_2_4/MainForm.ui.qml')
-rw-r--r-- | share/qtcreator/templates/qtquick/qtquick_2_4/MainForm.ui.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/share/qtcreator/templates/qtquick/qtquick_2_4/MainForm.ui.qml b/share/qtcreator/templates/qtquick/qtquick_2_4/MainForm.ui.qml new file mode 100644 index 0000000000..2e69644364 --- /dev/null +++ b/share/qtcreator/templates/qtquick/qtquick_2_4/MainForm.ui.qml @@ -0,0 +1,18 @@ +import QtQuick 2.3 + +Rectangle { + property alias mouseArea: mouseArea + + width: 360 + height: 360 + + MouseArea { + id: mouseArea + anchors.fill: parent + } + + Text { + anchors.centerIn: parent + text: "Hello World" + } +} |