connect(ui.horizontalSlider,SIGNAL(valueChanged(int)),this,SLOT(slotSliderValueChange(int)));
QSlider inherits a comprehensive set of signals:
Signal | Description |
---|---|
valueChanged() | Emitted when the slider's value has changed. The tracking() determines whether this signal is emitted during user interaction. |
sliderPressed() | Emitted when the user starts to drag the slider. |
sliderMoved() | Emitted when the user drags the slider. |
sliderReleased() | Emitted when the user releases the slider. |