User and programic generated signals
-
I want two sliders: coarse and fine like microscope. Fine will 10x (or more) finer, for example has range 50 (pixels for graphic action), where coarse has range 500 pixels.
If I move coarse - must be moved fine and go action, if I move fine , must move coarse and also go action.
Each change each slider must turn off signals other slider and next turn on? -
I want two sliders: coarse and fine like microscope. Fine will 10x (or more) finer, for example has range 50 (pixels for graphic action), where coarse has range 500 pixels.
If I move coarse - must be moved fine and go action, if I move fine , must move coarse and also go action.
Each change each slider must turn off signals other slider and next turn on? -
What is your question?
You can do what you describe with Qt signals and twoQSliders
.
Re-implementQSlider
, make your ownQSlider
class and start with implementing your behavior.Here is example of class FineSlider on github
-
Here is example of class FineSlider on github