Merge lp:~renatofilho/indicators-client/fix-1089465 into lp:indicators-client

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Approved by: Gustavo Pichorim Boiko
Approved revision: 195
Merged at revision: 195
Proposed branch: lp:~renatofilho/indicators-client/fix-1089465
Merge into: lp:indicators-client
Diff against target: 32 lines (+17/-0)
1 file modified
plugins/messagingplugin/qml/QuickReply.qml (+17/-0)
To merge this branch: bzr merge lp:~renatofilho/indicators-client/fix-1089465
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Gustavo Pichorim Boiko (community) Approve
Review via email: mp+152491@code.launchpad.net

Commit message

[Messaging] Implemented visual feedbak when clicking on quick reply message on snap decisions

To post a comment you must log in.
Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Looks good.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/messagingplugin/qml/QuickReply.qml'
2--- plugins/messagingplugin/qml/QuickReply.qml 2013-01-11 15:05:30 +0000
3+++ plugins/messagingplugin/qml/QuickReply.qml 2013-03-08 19:19:18 +0000
4@@ -105,12 +105,29 @@
5 }
6
7 MouseArea {
8+ id: __mouseArea
9+
10 anchors.fill: parent
11 onClicked: {
12 __actionTextField.text = modelData
13+ }
14+ }
15+
16+ Rectangle {
17+ id: __mask
18+
19+ anchors.fill: parent
20+ color: "black"
21+ opacity: __mouseArea.pressed ? 0.3 : 0.0
22+ Behavior on opacity {
23+ NumberAnimation {
24+ duration: 200
25+ easing.type: Easing.OutQuad
26+ }
27 }
28 }
29 }
30+
31 }
32 }
33

Subscribers

People subscribed via source and target branches