plasma-framework/tests/components/busyindicator.qml
Kai Uwe Broulik 65a6861476 Migrate BusyIndicator to QtQuick.Controls
Comes with a test for the seamless pause/resume

REVIEW: 121070
2014-11-09 01:16:30 +01:00

38 lines
813 B
QML

import QtQuick 2.0
import org.kde.plasma.components 2.0 as PlasmaComponents
Rectangle {
width: 600
height: 300
color: "white"
Column {
anchors.fill: parent
anchors.margins: 20
spacing: 20
PlasmaComponents.Label {
width: parent.width
wrapMode: Text.WordWrap
text: "When checking and unchecking the checkbox, " +
"the busy indicator should resume where it has " +
"paused and not glitch around"
}
Row {
spacing: 20
PlasmaComponents.BusyIndicator {
running: runningButton.checked
}
PlasmaComponents.CheckBox {
id: runningButton
text: "Running"
}
}
}
}