summaryrefslogtreecommitdiff
path: root/qmafwwatchlet/metawatch-digital.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-01-03 21:28:12 +0100
committerJavier S. Pedro <maemo@javispedro.com>2012-01-03 21:28:12 +0100
commitaad1e8e930bade201aa9bb1db4568423394ced14 (patch)
treef571e7a8e38f2c2dc64e0828aed79c0fbf40f1b3 /qmafwwatchlet/metawatch-digital.qml
parenta3210a8825dcc49227e3af41d5b107d7f8c79b32 (diff)
downloadsowatch-aad1e8e930bade201aa9bb1db4568423394ced14.tar.gz
sowatch-aad1e8e930bade201aa9bb1db4568423394ced14.zip
adding icon & moving qmafwwatchlet qml out of qrc
Diffstat (limited to 'qmafwwatchlet/metawatch-digital.qml')
-rw-r--r--qmafwwatchlet/metawatch-digital.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/qmafwwatchlet/metawatch-digital.qml b/qmafwwatchlet/metawatch-digital.qml
index 7ceda73..e5a6eb4 100644
--- a/qmafwwatchlet/metawatch-digital.qml
+++ b/qmafwwatchlet/metawatch-digital.qml
@@ -1,4 +1,5 @@
import QtQuick 1.0
+import com.javispedro.sowatch.metawatch 1.0
Rectangle {
width: 96
@@ -6,6 +7,15 @@ Rectangle {
color: "white"
+ MWTitle {
+ anchors.top: parent.top
+ anchors.left: parent.left
+ anchors.right: parent.right
+ visible: player.mediaArt.length == 0
+ text: qsTr("Music")
+ icon.source: "icon.png"
+ }
+
Image {
anchors.fill: parent
fillMode: Image.PreserveAspectFit