15 const QValidator::State rc = QSpinBox::validate(input, p);
16 if (rc!=QValidator::Acceptable)
19 const int pf = prefix().length();
20 const int sf = suffix().length();
21 const int len = input.length();
23 return input.mid(pf, len-sf-pf).toUInt()%4==0 ? QValidator::Acceptable : QValidator::Intermediate;