summaryrefslogtreecommitdiff
path: root/app/qml/cover
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-07 00:59:11 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-09 01:57:32 +0200
commit164b95968d67f2363a270540d00a028741e58976 (patch)
tree7e7e200234c0eedf60fcf9da15ccc300b3dcf222 /app/qml/cover
parent54a34201f993c3dc5bff0347349e1727febacf97 (diff)
Implemented ManagerPage and WatchPage
Diffstat (limited to 'app/qml/cover')
-rw-r--r--app/qml/cover/CoverPage.qml17
1 files changed, 15 insertions, 2 deletions
diff --git a/app/qml/cover/CoverPage.qml b/app/qml/cover/CoverPage.qml
index 8b9942a..7822b5c 100644
--- a/app/qml/cover/CoverPage.qml
+++ b/app/qml/cover/CoverPage.qml
@@ -36,12 +36,25 @@ CoverBackground {
Label {
id: label
anchors.centerIn: parent
- text: watchPage.name ? watchPage.name : "Pebble"
+ font.pointSize: Theme.fontSizeLarge
+ text: pebbled.name ? pebbled.name : "Pebble"
}
Label {
anchors.top: label.bottom
anchors.horizontalCenter: parent.horizontalCenter
font.pointSize: Theme.fontSizeSmall
- text: watchPage.connected ? "connected" : "disconnected"
+ text: pebbled.connected ? qsTr("connected") : qsTr("disconnected")
+ }
+
+ CoverActionList {
+ id: coverAction
+
+ CoverAction {
+ iconSource: pebbled.connected ? "image://theme/icon-cover-transfers" : "image://theme/icon-cover-sync"
+ onTriggered: {
+ // FIXME: implement
+ console.log('reconnect');
+ }
+ }
}
}