qslider Questions
4
2
Solved
I'm using Qt 5.3 and trying to style a QSlider. However, when I apply my style-sheet, the tick marks disappear. Does anyone know how to keep the styling without affecting the tick marks?
Here is t...
Howard asked 17/12, 2014 at 17:38
4
Solved
I'd like to specify the steps that a QSlider can slide, like it is possible for the QSpinBox by using setSingleStep. I tried to use setSingleStep of QAbstractSlider, but this seems to have no effec...
Atomic asked 28/1, 2011 at 11:51
3
Solved
I have a QSlider that I want to move to the position of the mouse cursor when the user presses the left mouse button. I've been hunting around and couldn't find anything that was recent and solved ...
Occultation asked 7/10, 2018 at 13:39
3
Solved
Is it possible to show minimum, maximum and current selected value of QSlider? Of course I can use labels to display this, but I think there must be such possibility in QSlider
12
Solved
Instead of stepping when the user clicks somewhere on the qslider I want to make the slider jump to that position. How can this be implemented ?
3
Solved
My aim is to have a custom QSlider with tickmarks and tick labels in Python 3 using PySide2 module. In order to do so I edit the default paintEvent of the QSlider class in a derived class. However,...
Prud asked 17/1, 2019 at 22:9
1
Solved
Here is my code, i want to display the minimum and maximum range values for slider.I tried many ways but i didn't get anything.Can anyone please help me how to display the slider as shown in the be...
2
Solved
I'm using QSlider in my GUI application in order to perform a heavy task after value changed in the QSlider. I'm doing that as follows.
self.slider.valueChanged.connect(self.value_changed) # Insid...
Infanticide asked 1/4, 2017 at 3:28
2
Solved
How do I increase the height of this slider's handle:
As shown here:
Is subclassing QAbstractSlider the only way?
Here is the stylesheet from my code:
QSlider::groove:horizontal {
border: 1px so...
Avantgarde asked 7/12, 2017 at 9:42
2
Solved
I am making a gui with multiple QSlider in a scrollarea, for some of my sliders i need an interval of 10 and not 1.
When i open the gui the ticks are correct and have a jump of 10, but when i ret...
Etter asked 26/11, 2017 at 10:4
2
Solved
I'd like the handle of the slider to go from blue to yellow. When set on the left, it's blue; and when you move it to the right, it will have a gradient from blue to yellow.
If it is possible thro...
Extravehicular asked 19/10, 2016 at 13:18
1
I need a range selection using QSlider. Is it possible to get two handles, if not, is there any piece of code available to handle that smartly?
Below is an image illustrating what I need.
2
Solved
My problem is that I just can't seem to make my QSlider work with double values instead of integer, because I need to make it return double values to a QLineEdit and also set it's own value when I ...
2
I am trying to use a QSlider, but if somebody clicks on a position X, where he wants to put the slider to, the slider always sets the value to maximum or minimum at first and then to the value X. S...
1
Solved
I'm using a QSlider (v4.6) for input as well as to provide feedback to the user. For the feedback I will be calling the setValue method. I'm trying to find a signal that will fire only if the user ...
1
© 2022 - 2024 — McMap. All rights reserved.