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