@@ -78,9 +78,6 @@ Item {
7878 background: "/usr/share/backgrounds/warty-final-ubuntu.png"
7979 focus: true
8080
81− Component.onCompleted: {
82− edgeBarrierControls.target = testCase.findChild(this, "edgeBarrierController");
83− }
8481 Component.onDestruction: {
8582 stageLoader.itemDestroyed = true;
8683 }
@@ -128,11 +125,22 @@ Item {
128125 }
129126 }
130127
131− EdgeBarrierControls {
132− id: edgeBarrierControls
133− text: "Drag here to pull out spread"
134− backgroundColor: "blue"
135− onDragged: { stageLoader.item.pushRightEdge(amount); }
128+ Label {
129+ text: "Right edge push progress"
130+ }
131+
132+ Slider {
133+ id: rightEdgePushSlider
134+ width: parent.width
135+ live: true
136+ minimumValue: 0.0
137+ maximumValue: 1.0
138+ onPressedChanged: {
139+ if (!pressed) {
140+ value = 0;
141+ }
142+ }
143+ Binding { target: stageLoader.item; property: "rightEdgePushProgress"; value: rightEdgePushSlider.value }
136144 }
137145
138146 Divider {}