diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-05 03:18:46 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-05 03:18:46 +0200 |
commit | 12cf6df3f1c90c6ccbab398f0ae03c946e4af638 (patch) | |
tree | a205f1240a421a1a6ac4d97e592730e5be00533b /metawatchwatchlets/metawatch-digital-watchface.qml | |
parent | 12d61ddf50f5f34cafd25d7cbdc827156cfb184c (diff) | |
download | sowatch-12cf6df3f1c90c6ccbab398f0ae03c946e4af638.tar.gz sowatch-12cf6df3f1c90c6ccbab398f0ae03c946e4af638.zip |
continue working on qml watchface support
Diffstat (limited to 'metawatchwatchlets/metawatch-digital-watchface.qml')
-rw-r--r-- | metawatchwatchlets/metawatch-digital-watchface.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/metawatchwatchlets/metawatch-digital-watchface.qml b/metawatchwatchlets/metawatch-digital-watchface.qml new file mode 100644 index 0000000..712dbeb --- /dev/null +++ b/metawatchwatchlets/metawatch-digital-watchface.qml @@ -0,0 +1,18 @@ +import QtQuick 1.0 +import com.javispedro.sowatch.metawatch 1.0 + +MWPage { + // Remember that firmware draws top 30 lines + + Connections { + target: watch + onActiveChanged: { + console.log("watchface is now " + (watch.active ? "active" : "inactive")) + } + } + + MWLabel { + anchors.centerIn: parent + text: "This is a test" + } +} |