How do I implement a spinbox with logarithmic increments in Qt?

170 views Asked by At

I'm creating a GUI application with Qt (using Ruby and QtBindings, if that matters). I need to make a spinbox with logarithmic increments: that is, each time the user presses the + or - button, the spinbox value is multiplied or divided by a certain amount, rather than increased or decreased. Is this possible with the Qt Spinbox class, and if so, how can I accomplish it?

0

There are 0 answers