I try to make a slider, where I could change a color of selected part of groove, but I really have no idea, how it can be done.
Asked
Active
Viewed 49 times
0
-
1This should be possible using a label overlay. First draw a QSlider, then put a label on top of it and set rgba style for the label. Then use label.setAttribute(Qt.WA_TransparentForMouseEvents) - this will force mouse events to propagate to the slider through the label on top - as the label wasn't there. – Bart M May 29 '21 at 18:11
-
Can you please clarify what you want to achieve, maybe by providing a mockup of the possible final result? – musicamante May 30 '21 at 00:04