16 connect(
this, SIGNAL(textChanged(QString)),
this, SLOT(
markValid()));
21 if(_valid == this->
valid)
28 QWidget *widget = this->parentWidget();
29 if(widget && widget->inherits(
"QComboBox"))
31 widget->setStyleSheet(
"");
40 QWidget *widget = this->parentWidget();
41 if(widget && widget->inherits(
"QComboBox"))
58 QLineEdit::focusInEvent(evt);
65 QLineEdit::focusOutEvent(evt);
103 QLineEdit::setEnabled(enabled);
112 else if (hasAcceptableInput())
121 if (
checkValidator->validate(address, pos) == QValidator::Acceptable)
145 if (
checkValidator->validate(address, pos) == QValidator::Acceptable)
#define SetObjectStyleSheet(object, name)
void setEmptyIsValid(bool value)
void validationDidChange(QValidatedLineEdit *validatedLineEdit)
void focusInEvent(QFocusEvent *evt)
bool getEmptyIsValid() const
QValidatedLineEdit(QWidget *parent)
const QValidator * checkValidator
void focusOutEvent(QFocusEvent *evt)
void setCheckValidator(const QValidator *v)
void setEnabled(bool enabled)
struct evm_uint160be address(struct evm_env *env)
void setValid(bool valid)