In the past(QT3), I can use setValidator() for QSpinBox
for example,
However I found that it is not possible to do so when porting to QT4.QRegExpValidator *rv = new QRegExpValidator( rx, 0);
spinBox->setValidator( rv );
Can anyone tell me what to do?
thanks
Bookmarks