summaryrefslogtreecommitdiff
path: root/sowatchui/qml/main.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-09 01:53:38 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-09 01:53:38 +0200
commit3aa62b0543d978c1a01c5cf05a898fd8d805c44b (patch)
tree84ebdd8d94728375cd21457d8f5773f46ee0dcc7 /sowatchui/qml/main.qml
parent081aa7b760986092377be7f62cac3bdee7400874 (diff)
downloadsowatch-3aa62b0543d978c1a01c5cf05a898fd8d805c44b.tar.gz
sowatch-3aa62b0543d978c1a01c5cf05a898fd8d805c44b.zip
new watch scanning ui
Diffstat (limited to 'sowatchui/qml/main.qml')
-rw-r--r--sowatchui/qml/main.qml22
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")
}
}
}