Closed horaceho closed 10 years ago
When I run the sample app > Json data, the "Progress" slider is disabled (the slider cannot be moved). I tried moving the line:
{ "type":"QFloatElement", "title":"Progress", "floatValue":0.5},
into another json file (e.g. jsonadvancedsample.json), it is also disabled.
How can I make the slider slidable?
Fixed by adding minimumValue and maximumValue:
minimumValue
maximumValue
{ "type":"QFloatElement", "title":"Progress", "floatValue":0.5, "minimumValue":0.1, "maximumValue":2.0},
When I run the sample app > Json data, the "Progress" slider is disabled (the slider cannot be moved). I tried moving the line:
{ "type":"QFloatElement", "title":"Progress", "floatValue":0.5},
into another json file (e.g. jsonadvancedsample.json), it is also disabled.
How can I make the slider slidable?