[ACCEPTED]-QSlider Value Changed Signal-qslider
Accepted answer
Good question, I checked the API and also 6 couldn't find a signal that would be triggered 5 only if value was modified by user. The 4 workaround you proposed may be the only 3 option, just keep in mind that you don't 2 have to disconnect / connect all signals, just 1 use QObject::blockSignals
method:
slider->blockSignals(true);
slider->setValue(x);
slider->blockSignals(false);
Hope that helps.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.