summaryrefslogtreecommitdiff
path: root/share/qtcreator/templates/qml/qtquickcontrols_1_0/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/templates/qml/qtquickcontrols_1_0/main.qml')
-rw-r--r--share/qtcreator/templates/qml/qtquickcontrols_1_0/main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/qtcreator/templates/qml/qtquickcontrols_1_0/main.qml b/share/qtcreator/templates/qml/qtquickcontrols_1_0/main.qml
index f886b99fb9..51f84b5106 100644
--- a/share/qtcreator/templates/qml/qtquickcontrols_1_0/main.qml
+++ b/share/qtcreator/templates/qml/qtquickcontrols_1_0/main.qml
@@ -11,6 +11,10 @@ ApplicationWindow {
Menu {
title: qsTr("File")
MenuItem {
+ text: qsTr("&Open")
+ onTriggered: console.log("Open action triggered");
+ }
+ MenuItem {
text: qsTr("Exit")
onTriggered: Qt.quit();
}