![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
Line edit that can be marked as "invalid" to show input validation feedback. More...
#include <qvalidatedlineedit.h>
Public Slots | |
| void | setText (const QString &) |
| void | setValid (bool valid) |
| void | setEnabled (bool enabled) |
Signals | |
| void | validationDidChange (QValidatedLineEdit *validatedLineEdit) |
Public Member Functions | |
| QValidatedLineEdit (QWidget *parent) | |
| void | clear () |
| void | setCheckValidator (const QValidator *v) |
| bool | isValid () |
Protected Member Functions | |
| void | focusInEvent (QFocusEvent *evt) override |
| void | focusOutEvent (QFocusEvent *evt) override |
Private Slots | |
| void | markValid () |
| void | checkValidity () |
Private Attributes | |
| bool | valid {true} |
| const QValidator * | checkValidator {nullptr} |
Line edit that can be marked as "invalid" to show input validation feedback.
When marked as invalid, it will get a red background until it is focused.
Definition at line 13 of file qvalidatedlineedit.h.
|
explicit |
|
privateslot |
Definition at line 83 of file qvalidatedlineedit.cpp.
| void QValidatedLineEdit::clear | ( | ) |
|
overrideprotected |
|
overrideprotected |
| bool QValidatedLineEdit::isValid | ( | ) |
|
privateslot |
Definition at line 55 of file qvalidatedlineedit.cpp.
| void QValidatedLineEdit::setCheckValidator | ( | const QValidator * | v | ) |
Definition at line 22 of file qvalidatedlineedit.cpp.
|
signal |
|
private |
Definition at line 29 of file qvalidatedlineedit.h.
Definition at line 28 of file qvalidatedlineedit.h.