@Pl45m4 said in QSlider linked with other QSlider - hints needed:
@MasterBLB said in QSlider linked with other QSlider - hints needed:
And again, soon after I post here I get stroke of genius, and find solution on my own. Happens almost every time.
Rubber Duck Debugging at its best :))
Yepp, though before posting I spent several hours testing different approaches - most interesting finding was that for press and hold lmb on non-handle element of the slider invokes timer events. The most important discovery was:
value() returns something an event happens if the event was some kind which affect the value now, just after QSlider::event(), the value() should be differentafter realizing that the rest was easy.