summaryrefslogtreecommitdiff
path: root/qml/tapasboard/ForumPage.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-04 01:59:18 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-04 01:59:18 +0200
commit11b4152301b408c7a4f02a8b202fed9f5e1ee1e7 (patch)
tree162ab60099e7af348b6b7e2476707ea02a59ffe3 /qml/tapasboard/ForumPage.qml
parent3c88a76b1be759d13097810877d6e990b3371726 (diff)
downloadtapasboard-11b4152301b408c7a4f02a8b202fed9f5e1ee1e7.tar.gz
tapasboard-11b4152301b408c7a4f02a8b202fed9f5e1ee1e7.zip
add topic replies counter bubbles
Diffstat (limited to 'qml/tapasboard/ForumPage.qml')
-rw-r--r--qml/tapasboard/ForumPage.qml10
1 files changed, 9 insertions, 1 deletions
diff --git a/qml/tapasboard/ForumPage.qml b/qml/tapasboard/ForumPage.qml
index aed65a0..96b8082 100644
--- a/qml/tapasboard/ForumPage.qml
+++ b/qml/tapasboard/ForumPage.qml
@@ -45,7 +45,7 @@ Page {
Column {
id: topicItemColumn
anchors.left: parent.left
- anchors.right: topicItemImage.left
+ anchors.right: topicRepliesCount.left
anchors.verticalCenter: parent.verticalCenter
Text {
@@ -56,6 +56,14 @@ Page {
}
}
+ CountBubble {
+ id: topicRepliesCount
+ anchors.right: topicItemImage.left
+ anchors.verticalCenter: parent.verticalCenter
+ value: model.numReplies
+ visible: value > 0
+ }
+
Image {
id: topicItemImage
source: "image://theme/icon-m-common-drilldown-arrow" + (theme.inverted ? "-inverse" : "")