17 connect(
this, SIGNAL(textChanged(QString)),
this, SLOT(
markValid()));
22 if(_valid == this->
valid)
46 QLineEdit::focusInEvent(evt);
53 QLineEdit::focusOutEvent(evt);
81 QLineEdit::setEnabled(enabled);
90 else if (hasAcceptableInput())
97 QString address = text();
99 if (
checkValidator->validate(address, pos) == QValidator::Acceptable)
121 QString address = text();
123 if (
checkValidator->validate(address, pos) == QValidator::Acceptable)
void validationDidChange(QValidatedLineEdit *validatedLineEdit)
void focusInEvent(QFocusEvent *evt)
QValidatedLineEdit(QWidget *parent)
const QValidator * checkValidator
void focusOutEvent(QFocusEvent *evt)
void setCheckValidator(const QValidator *v)
void setEnabled(bool enabled)
void setValid(bool valid)