diff options
Diffstat (limited to 'sowatchui/qml/main.qml')
-rw-r--r-- | sowatchui/qml/main.qml | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/sowatchui/qml/main.qml b/sowatchui/qml/main.qml index eb4c081..ca838a2 100644 --- a/sowatchui/qml/main.qml +++ b/sowatchui/qml/main.qml @@ -1,5 +1,5 @@ import QtQuick 1.1 -import com.nokia.meego 1.0 +import com.nokia.meego 1.1 PageStackWindow { id: appWindow @@ -10,30 +10,14 @@ PageStackWindow { id: mainPage } - ToolBarLayout { - id: commonTools - visible: true - ToolIcon { - platformIconId: "toolbar-view-menu" - anchors.right: (parent === undefined) ? undefined : parent.right - onClicked: (myMenu.status === DialogStatus.Closed) ? myMenu.open() : myMenu.close() - } - } - Menu { id: myMenu visualParent: pageStack MenuLayout { MenuItem { - text: qsTr("Start service") - onClicked: { - Sowatch.start(); - } - } - MenuItem { - text: qsTr("Stop service") + text: qsTr("Crap") onClicked: { - Sowatch.stop(); + console.log("Crap") } } } |