2013/12/6 Damian Ivanov <damianator...@gmail.com> > Sry again, it worked, but now > Slider {id:opacitySlider; minimumValue:30; > maximumValue:100; stepSize:1; } > Binding {target:testSettings; > property:"testOpacity"; value:opacitySlider.value} } > this works no loop, but the slider is by default set to 0.0 but the > initial value should represent: testSettings.testOpacity > > How is that achieved? > > 2013/12/6 Damian Ivanov <damianator...@gmail.com>:
Try Slider { id: opacitySlider ... Component.onCompleted: opacitySlider.value = testSettings.testOpacity ... }
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest