Add indeterminate ProgressBar to test

REVIEW: 120491
This commit is contained in:
Kai Uwe Broulik 2014-10-04 22:40:27 +02:00
parent ab98c3a8c8
commit 759b75314d

View File

@ -6,7 +6,7 @@ Rectangle {
id: root
color: "white"
width: 800
height: 300
height: 500
Flow {
anchors.fill: parent
@ -97,6 +97,26 @@ Rectangle {
}
}
Column {
Text {
text: "should be a continuous movement,<br>from one end to the other and back"
}
PlasmaComponents.ProgressBar {
indeterminate: indeterminateCheckBox.checked
value: 0.5
}
}
Column {
Text {
text: "Checking and unchecking should not break the layout,<br>should look like 50% if unchecked"
}
PlasmaComponents.CheckBox {
id: indeterminateCheckBox
text: "Indeterminate"
checked: true
}
}
}
}
}