18 QLineEdit::setText(text);
24 if(_valid == this->
valid)
45 QLineEdit::focusInEvent(evt);
52 QLineEdit::focusOutEvent(evt);
80 QLineEdit::setEnabled(enabled);
89 else if (hasAcceptableInput())
96 QString address = text();
98 if (
checkValidator->validate(address, pos) == QValidator::Acceptable)
121 QString address = text();
123 if (
checkValidator->validate(address, pos) == QValidator::Acceptable)
void setText(const QString &)
QValidatedLineEdit(QWidget *parent)
void validationDidChange(QValidatedLineEdit *validatedLineEdit)
void focusOutEvent(QFocusEvent *evt) override
void setValid(bool valid)
void focusInEvent(QFocusEvent *evt) override
void setEnabled(bool enabled)
void setCheckValidator(const QValidator *v)
const QValidator * checkValidator