--- /dev/null
+import Qt 4.7
+
+Rectangle {
+ color:"#00000000"
+ border.color: "black"
+ width: 20
+ height: 100
+ property int val:0
+ property int max:100
+ Rectangle {
+ color:"green"
+ anchors.bottom: parent.bottom
+ height:parent.height*val/max
+ width: parent.width
+ }
+}