| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
QLineEdit subclass with built in support for showing/hiding entered password. More...
#include <qgspasswordlineedit.h>

| Public Member Functions | |
| QgsPasswordLineEdit (QWidget *parent=nullptr, bool passwordVisible=false) | |
| Constructor for QgsPasswordLineEdit.  More... | |
| void | setPasswordVisibility (bool visible) | 
| Set state of the password's visibility.  More... | |
| void | setShowLockIcon (bool visible) | 
| Define if a lock icon shall be shown on the left of the widget.  More... | |
| bool | showLockIcon () const | 
| Returns if a lock icon shall be shown on the left of the widget.  More... | |
| Properties | |
| bool | showLockIcon | 
QLineEdit subclass with built in support for showing/hiding entered password.
Definition at line 33 of file qgspasswordlineedit.h.
| QgsPasswordLineEdit::QgsPasswordLineEdit | ( | QWidget * | parent = nullptr, | 
| bool | passwordVisible = false | ||
| ) | 
Constructor for QgsPasswordLineEdit.
| parent | parent widget | 
| passwordVisible | Initial state of the password's visibility | 
Definition at line 21 of file qgspasswordlineedit.cpp.
| void QgsPasswordLineEdit::setPasswordVisibility | ( | bool | visible | ) | 
Set state of the password's visibility.
Definition at line 39 of file qgspasswordlineedit.cpp.
| void QgsPasswordLineEdit::setShowLockIcon | ( | bool | visible | ) | 
Define if a lock icon shall be shown on the left of the widget.
| visible | set to falseto hide the lock icon | 
Definition at line 60 of file qgspasswordlineedit.cpp.
| 
 | inline | 
Returns if a lock icon shall be shown on the left of the widget.
Definition at line 56 of file qgspasswordlineedit.h.
| 
 | readwrite | 
Definition at line 1 of file qgspasswordlineedit.h.