Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.7.0 Beta
-
None
-
221c3ce846e5a6167aa0b2d356c23d5b9c7e32cb
Description
Currently, Slider reports changes of visual position on a continuous basis, but not on value, which is set only when the handle is released. While I understand the rationale behind this choice, it would be good to provide a way to get updated value in real time, for instance if another control depends on it (which is my use case).
I see two ways of doing so:
- provide a property like visualValue
- provide a public method that maps the position to the value
Attachments
For Gerrit Dashboard: QTBUG-53847 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
162199,3 | Slider: expose valueAt(pos) for getting continuous value updates | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |