18#ifndef QGSPASSWORDLINEEDIT_H
19#define QGSPASSWORDLINEEDIT_H
59 void setPasswordVisibility(
bool visible );
62 void togglePasswordVisibility(
bool toggled );
65 QAction *mActionShowHidePassword =
nullptr;
66 QAction *mActionLock =
nullptr;
68 QIcon mShowPasswordIcon;
69 QIcon mHidePasswordIcon;
71 bool mLockIconVisible =
false;
QgsPasswordLineEdit(QWidget *parent=nullptr, bool passwordVisible=false)
Constructor for QgsPasswordLineEdit.
bool showLockIcon() const
Returns if a lock icon shall be shown on the left of the widget.
void setShowLockIcon(bool visible)
Define if a lock icon shall be shown on the left of the widget.