PDA

View Full Version : SetSinglestep



akkarachai
21st October 2019, 08:04
How can I setSinglestep in spinbox when the value is 100 setSinglestep to 100 and when value is 100 setSinglestep to 1000??

thank you for reply;):)

Lesiok
21st October 2019, 08:29
Connect to the signal QSpinBox::valueChanged(int i) and in slot use QSpinBox::setSingleStep.

akkarachai
21st October 2019, 11:12
I'll try . Thank you