I need a spinbox (or something similar) to have a fixed set of values to use. SetSingleStep does not do the trick because i need something like:
1 -> 5 -> 10 -> 100
Any suggestions?
I need a spinbox (or something similar) to have a fixed set of values to use. SetSingleStep does not do the trick because i need something like:
1 -> 5 -> 10 -> 100
Any suggestions?
Copyright © 2021 Jogjafile Inc.
So i finally have a solution to the problem. I created a custom spinbox by subcalssing QSpinBox and overwriting the byStep method like so:
i hope this helps!