equal
deleted
inserted
replaced
1173 focusNextPrevChild(forward); |
1173 focusNextPrevChild(forward); |
1174 |
1174 |
1175 return; } |
1175 return; } |
1176 } |
1176 } |
1177 QAbstractSpinBox::keyPressEvent(event); |
1177 QAbstractSpinBox::keyPressEvent(event); |
1178 if (select && !(event->modifiers() & Qt::ShiftModifier) && !d->edit->hasSelectedText()) { |
1178 if (select && !d->edit->hasSelectedText()) { |
1179 if (inserted && d->sectionAt(d->edit->cursorPosition()) == QDateTimeParser::NoSectionIndex) { |
1179 if (inserted && d->sectionAt(d->edit->cursorPosition()) == QDateTimeParser::NoSectionIndex) { |
1180 QString str = d->displayText(); |
1180 QString str = d->displayText(); |
1181 int pos = d->edit->cursorPosition(); |
1181 int pos = d->edit->cursorPosition(); |
1182 if (validate(str, pos) == QValidator::Acceptable |
1182 if (validate(str, pos) == QValidator::Acceptable |
1183 && (d->sectionNodes.at(oldCurrent).count != 1 |
1183 && (d->sectionNodes.at(oldCurrent).count != 1 |