QSpinBox and Alphabets
-
Hi, I'm quite new to Qt so it's hard to understand Qt's API.
I am trying to display Alphabets A-Z in a spin box I made but according to the API QSpinbox's setRange or setValue takes ints...is there a way to display chars? Thank you.
-
You can inherit your custom spin box from QSpinBox and reimplement textFromValue(int value) function.
-
Ok thank you I'll try that. :)