Bitcoin ABC 0.26.3
P2P Digital Currency
|
Line edit that can be marked as "invalid" to show input validation feedback. More...
#include <qvalidatedlineedit.h>
Public Slots | |
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 |
const QValidator * | checkValidator |
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 14 of file qvalidatedlineedit.h.
|
explicit |
|
privateslot |
Definition at line 66 of file qvalidatedlineedit.cpp.
void QValidatedLineEdit::clear | ( | ) |
|
overrideprotected |
|
overrideprotected |
bool QValidatedLineEdit::isValid | ( | ) |
|
privateslot |
Definition at line 44 of file qvalidatedlineedit.cpp.
void QValidatedLineEdit::setCheckValidator | ( | const QValidator * | v | ) |
Definition at line 88 of file qvalidatedlineedit.cpp.
Definition at line 16 of file qvalidatedlineedit.cpp.
|
signal |
|
private |
Definition at line 29 of file qvalidatedlineedit.h.
|
private |
Definition at line 28 of file qvalidatedlineedit.h.