PDA

View Full Version : QSilder - I need some advice



xtlc
28th July 2013, 17:37
I am working on a GUI to operate a µController. For some settings I use the QSlider, which I might not use perfectly. I use the slider with the "slider_released()" signal. Next to the slider I have a Qlabel, which shows the value of the Slider. Problem is: As long as I don't release the slider, I don't get a value. So what I did was I made a second Signal with "value_changed(int)" and gave that value to the label. But I think there might be an easier way?

Ginsengelf
29th July 2013, 08:15
Hi, QSlider inherits the valueChanged(int) signal from QAbstractSlider.

Ginsengelf