summaryrefslogtreecommitdiff
path: root/app/qml/pages/WatchPage.qml
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2015-03-31 15:51:45 +0200
committerTomasz Sterna <tomek@xiaoka.com>2015-03-31 16:37:37 +0200
commit5481f054ccd53d401bcc6763c01d5e217663b2b4 (patch)
treec814847fa6f9a5d4f5f3e675a8aafcea9820dd78 /app/qml/pages/WatchPage.qml
parentc01b9da9f441d74578792ffeca2db25734b19704 (diff)
Implemented Watch Info page
Diffstat (limited to 'app/qml/pages/WatchPage.qml')
-rw-r--r--app/qml/pages/WatchPage.qml18
1 files changed, 10 insertions, 8 deletions
diff --git a/app/qml/pages/WatchPage.qml b/app/qml/pages/WatchPage.qml
index b36280f..7d4375c 100644
--- a/app/qml/pages/WatchPage.qml
+++ b/app/qml/pages/WatchPage.qml
@@ -60,19 +60,21 @@ Page {
Button {
+ text: qsTr("Info")
+ width: parent.width / 3
+ onClicked: pageStack.push(Qt.resolvedUrl("WatchInfo.qml"))
+ }
+
+ Button {
text: qsTr("Ping")
- width: parent.width / 2
- onClicked: {
- pebbled.ping(66)
- }
+ width: parent.width / 3
+ onClicked: pebbled.ping(66)
}
Button {
text: qsTr("Sync Time")
- width: parent.width / 2
- onClicked: {
- pebbled.time()
- }
+ width: parent.width / 3
+ onClicked: pebbled.time()
}
}