[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma/declarative-applets/replacements/news/package/contents/ui/ComplexComponents
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-03-27 15:29:22
Message-ID: 20110327152922.1750AAC8CA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1226192 by mart:

a scrollbar


 M  +21 -0     ArticleView.qml  


--- trunk/playground/base/plasma/declarative-applets/replacements/news/package/contents/ui/ComplexComponents/ArticleView.qml \
#1226191:1226192 @@ -32,4 +32,25 @@
     onUrlChanged: {
         customUrl = (url != "about:blank")
     }
+
+    onLoadProgress: {
+        progressBar.visible = true
+        progressBar.value = percent
 }
+    onLoadFinished: {
+        progressBar.visible = false
+    }
+
+    PlasmaWidgets.Meter {
+        id: progressBar
+        minimum: 0
+        maximum: 100
+        anchors.left: bodyView.left
+        anchors.right: bodyView.right
+        anchors.bottom: bodyView.bottom
+        height: 32
+
+        svg: "widgets/bar_meter_horizontal"
+        meterType: PlasmaWidgets.Meter.BarMeterHorizontal
+    }
+}


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic