Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Line edit that can be marked as "invalid" to show input validation feedback. More...
#include <qvalidatedlineedit.h>
Inheritance diagram for QValidatedLineEdit:
Collaboration diagram for QValidatedLineEdit: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) |
| void | focusOutEvent (QFocusEvent *evt) |
Private Slots | |
| void | markValid () |
| void | checkValidity () |
Private Attributes | |
| bool | valid |
| const QValidator * | checkValidator |
Detailed Description
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.
Constructor & Destructor Documentation
◆ QValidatedLineEdit()
|
explicit |
Definition at line 10 of file qvalidatedlineedit.cpp.
References markValid().
Member Function Documentation
◆ checkValidity
|
privateslot |
Definition at line 79 of file qvalidatedlineedit.cpp.
References checkValidator, setValid(), and validationDidChange().
Referenced by focusOutEvent(), and setEnabled().
◆ clear()
| void QValidatedLineEdit::clear | ( | ) |
Definition at line 57 of file qvalidatedlineedit.cpp.
References setValid().
◆ focusInEvent()
|
protected |
Definition at line 36 of file qvalidatedlineedit.cpp.
References setValid().
◆ focusOutEvent()
|
protected |
Definition at line 44 of file qvalidatedlineedit.cpp.
References checkValidity().
◆ isValid()
| bool QValidatedLineEdit::isValid | ( | ) |
Definition at line 111 of file qvalidatedlineedit.cpp.
References checkValidator, and valid.
Referenced by OptionsDialog::updateProxyValidationState().
◆ markValid
|
privateslot |
Definition at line 51 of file qvalidatedlineedit.cpp.
References setValid().
Referenced by QValidatedLineEdit().
◆ setCheckValidator()
| void QValidatedLineEdit::setCheckValidator | ( | const QValidator * | v | ) |
Definition at line 106 of file qvalidatedlineedit.cpp.
References checkValidator.
Referenced by GUIUtil::setupAddressWidget().
◆ setEnabled
|
slot |
Definition at line 63 of file qvalidatedlineedit.cpp.
References checkValidity(), and setValid().
◆ setValid
|
slot |
Definition at line 18 of file qvalidatedlineedit.cpp.
References GUIUtil::getThemedStyleQString(), GUIUtil::TS_INVALID, and valid.
Referenced by checkValidity(), clear(), focusInEvent(), markValid(), and setEnabled().
◆ validationDidChange
|
signal |
Referenced by checkValidity().
Member Data Documentation
◆ checkValidator
|
private |
Definition at line 29 of file qvalidatedlineedit.h.
Referenced by checkValidity(), isValid(), and setCheckValidator().
◆ valid
|
private |
Definition at line 28 of file qvalidatedlineedit.h.
Referenced by isValid(), and setValid().
The documentation for this class was generated from the following files:
- src/qt/qvalidatedlineedit.h
- src/qt/qvalidatedlineedit.cpp

