(core): Allow SParameters to send value changed signals only when sliders are released
Description
Currently, when sliders in SParameters are dragged by the user, the updated value is sent periodically via a signal. This can however be problematic when the receiving slot, associated to a service, takes a little time to process the new value.
This introduces a little delay that could be prevented if only the latest value was sent.
Proposal
- Currently, the valueChanged() signal is used. In order to only send a value on release, there are two options:
- Use the sliderReleased() signal
- Use the setTracking(...) method, which will prevent the valueChanged() signals to be sent until the slider is released