11 isValidManually(false)
13 connect(
this, SIGNAL(textChanged()),
this, SLOT(
markValid()));
33 QString
address = toPlainText();
35 if (
checkValidator->validate(address, pos) == QValidator::Acceptable)
44 if(_valid == this->
valid)
73 QTextEdit::setEnabled(enabled);
88 QString
address = toPlainText();
90 if (
checkValidator->validate(address, pos) == QValidator::Acceptable)
108 QTextEdit::focusInEvent(event);
114 QTextEdit::focusOutEvent(event);
#define SetObjectStyleSheet(object, name)
void setIsValidManually(bool value)
void setValid(bool valid)
const QValidator * checkValidator
void setEnabled(bool enabled)
void focusInEvent(QFocusEvent *event)
QValidatedTextEdit(QWidget *parent)
void focusOutEvent(QFocusEvent *event)
void setEmptyIsValid(bool value)
void setCheckValidator(const QValidator *v)
bool getIsValidManually() const
struct evm_uint160be address(struct evm_env *env)
bool getEmptyIsValid() const