Line edit that can be marked as "invalid" to show input validation feedback.
More...
#include <qvalidatedlineedit.h>
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.
◆ QValidatedLineEdit()
QValidatedLineEdit::QValidatedLineEdit |
( |
QWidget * |
parent | ) |
|
|
explicit |
◆ checkValidity
void QValidatedLineEdit::checkValidity |
( |
| ) |
|
|
privateslot |
◆ clear()
void QValidatedLineEdit::clear |
( |
| ) |
|
◆ focusInEvent()
void QValidatedLineEdit::focusInEvent |
( |
QFocusEvent * |
evt | ) |
|
|
overrideprotected |
◆ focusOutEvent()
void QValidatedLineEdit::focusOutEvent |
( |
QFocusEvent * |
evt | ) |
|
|
overrideprotected |
◆ isValid()
bool QValidatedLineEdit::isValid |
( |
| ) |
|
◆ markValid
void QValidatedLineEdit::markValid |
( |
| ) |
|
|
privateslot |
◆ setCheckValidator()
void QValidatedLineEdit::setCheckValidator |
( |
const QValidator * |
v | ) |
|
◆ setEnabled
void QValidatedLineEdit::setEnabled |
( |
bool |
enabled | ) |
|
|
slot |
◆ setText
void QValidatedLineEdit::setText |
( |
const QString & |
text | ) |
|
|
slot |
◆ setValid
void QValidatedLineEdit::setValid |
( |
bool |
valid | ) |
|
|
slot |
◆ validationDidChange
◆ checkValidator
const QValidator* QValidatedLineEdit::checkValidator {nullptr} |
|
private |
◆ valid
bool QValidatedLineEdit::valid {true} |
|
private |
The documentation for this class was generated from the following files: