Hi,

I'd like to have a QSpinBox to display value from a QVector only. At first I thought that a new slot and signal in my widget would do the trick, using valueChanged(int) signal and setValue(int) slot from QSpinBox, but I enter an infinite loop since setValue emit valueChanged...
I heard that subclassing QAbstractSpinBox might work, but I really don't know how, nor which signals/slots to reimplement.
Any idea ? Maybe a better solution than subclassing ?

Thanks !!