summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-07-07 15:38:59 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-07-07 15:38:59 +0200
commitc34471994d7393cba9840feb04d250f179cf815a (patch)
tree5b33c9a925b49ed135c59693e4082f3f2dd14c81
parent3b823c5c2c8af3ae8b2c32f4968b512c8b7c58d8 (diff)
downloadsowatch-c34471994d7393cba9840feb04d250f179cf815a.tar.gz
sowatch-c34471994d7393cba9840feb04d250f179cf815a.zip
-rw-r--r--metawatchwatchlets/metawatch-digital-notification.qml54
-rw-r--r--qtc_packaging/debian_fremantle/changelog11
-rw-r--r--qtc_packaging/debian_harmattan/changelog11
-rw-r--r--testnotification/testnotificationprovider.cpp2
4 files changed, 67 insertions, 11 deletions
diff --git a/metawatchwatchlets/metawatch-digital-notification.qml b/metawatchwatchlets/metawatch-digital-notification.qml
index 6856bac..616185b 100644
--- a/metawatchwatchlets/metawatch-digital-notification.qml
+++ b/metawatchwatchlets/metawatch-digital-notification.qml
@@ -20,7 +20,7 @@ MWPage {
Column {
id: defaultContainer
- visible: false
+ visible: true
anchors.left: parent.left
anchors.leftMargin: 1
width: page.width - 3
@@ -37,6 +37,35 @@ MWPage {
}
Column {
+ id: callContainer
+ visible: false
+ anchors.top: parent.top
+ anchors.topMargin: 10
+ anchors.left: parent.left
+ anchors.leftMargin: 1
+ width: page.width - 5
+ spacing: 2
+
+ Image {
+ source: "notification-phone.png"
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
+ MWLabel {
+ text: curNotification ? curNotification.title : ""
+ font.pixelSize: 16
+ wrapMode: Text.WordWrap
+ horizontalAlignment: Text.AlignHCenter
+ width: parent.width
+ }
+ MWLabel {
+ text: curNotification ? curNotification.body : ""
+ wrapMode: Text.WordWrap
+ horizontalAlignment: Text.AlignHCenter
+ width: parent.width
+ }
+ }
+
+ Column {
id: emailContainer
visible: false
anchors.left: parent.left
@@ -83,19 +112,24 @@ MWPage {
states: [
State {
- when: curNotification && curNotification.type === Notification.EmailNotification
- PropertyChanges { target: emailContainer; visible: true; }
+ name: "CallNotification"
+ when: curNotification.type === Notification.CallNotification
+ PropertyChanges { target: defaultContainer; visible: false; }
+ PropertyChanges { target: callContainer; visible: true; }
},
State {
- when: curNotification && (
- curNotification.type === Notification.ImNotification ||
- curNotification.type === Notification.SmsNotification ||
- curNotification.type === Notification.MmsNotification)
- PropertyChanges { target: chatContainer; visible: true; }
+ name: "EmailNotification"
+ when: curNotification.type === Notification.EmailNotification
+ PropertyChanges { target: defaultContainer; visible: false; }
+ PropertyChanges { target: emailContainer; visible: true; }
},
State {
- when: curNotification // Any other notification type
- PropertyChanges { target: defaultContainer; visible: true; }
+ name: "ImNotification"
+ when: curNotification.type === Notification.ImNotification ||
+ curNotification.type === Notification.SmsNotification ||
+ curNotification.type === Notification.MmsNotification
+ PropertyChanges { target: defaultContainer; visible: false; }
+ PropertyChanges { target: chatContainer; visible: true; }
}
]
diff --git a/qtc_packaging/debian_fremantle/changelog b/qtc_packaging/debian_fremantle/changelog
index 1cbd548..ed32332 100644
--- a/qtc_packaging/debian_fremantle/changelog
+++ b/qtc_packaging/debian_fremantle/changelog
@@ -1,3 +1,14 @@
+sowatch (0.5.2) unstable; urgency=low
+
+ * Fix some packaging issues.
+ * Fix MW notifications, including incoming call one.
+ * Add some support for LiveView notifications (currently fails to turn
+ (the LV on, but it does vibrate at least).
+ * Support more watchlets in LV.
+ * Removal of more old code.
+
+ -- Javier S. Pedro <maemo@javispedro.com> Sun, 07 Jul 2013 15:37:12 +0200
+
sowatch (0.5.1) unstable; urgency=low
* Fix issues with MW configuration crashing.
diff --git a/qtc_packaging/debian_harmattan/changelog b/qtc_packaging/debian_harmattan/changelog
index 1cbd548..ed32332 100644
--- a/qtc_packaging/debian_harmattan/changelog
+++ b/qtc_packaging/debian_harmattan/changelog
@@ -1,3 +1,14 @@
+sowatch (0.5.2) unstable; urgency=low
+
+ * Fix some packaging issues.
+ * Fix MW notifications, including incoming call one.
+ * Add some support for LiveView notifications (currently fails to turn
+ (the LV on, but it does vibrate at least).
+ * Support more watchlets in LV.
+ * Removal of more old code.
+
+ -- Javier S. Pedro <maemo@javispedro.com> Sun, 07 Jul 2013 15:37:12 +0200
+
sowatch (0.5.1) unstable; urgency=low
* Fix issues with MW configuration crashing.
diff --git a/testnotification/testnotificationprovider.cpp b/testnotification/testnotificationprovider.cpp
index 49e49b1..1e9fcdc 100644
--- a/testnotification/testnotificationprovider.cpp
+++ b/testnotification/testnotificationprovider.cpp
@@ -10,7 +10,7 @@ TestNotificationProvider::TestNotificationProvider(QObject *parent) :
NotificationProvider(parent),
_timer(new QTimer(this))
{
- const int initial_delay = 4000;
+ const int initial_delay = 2000;
const int burst_num = 1;
const int burst_delay = 500;
const int extra_delay = 100 * 1000;