Class: QgsPasswordLineEdit¶
-
class
qgis.gui.
QgsPasswordLineEdit
(parent: QWidget = None, passwordVisible: bool = False)¶ Bases:
PyQt5.QtWidgets.QLineEdit
Constructor for QgsPasswordLineEdit.
- Parameters
parent – parent widget
passwordVisible – Initial state of the password’s visibility
QLineEdit subclass with built in support for showing/hiding entered password.
New in version 3.0: Enums
Methods
Set state of the password’s visibility
Define if a lock icon shall be shown on the left of the widget
Returns if a lock icon shall be shown on the left of the widget
Signals
Attributes
-
actionEvent
()¶
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
cursorRect
()¶
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
initPainter
()¶
-
initStyleOption
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
receivers
()¶
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setPasswordVisibility
(self, visible: bool)¶ Set state of the password’s visibility
-
setShowLockIcon
(self, visible: bool)¶ Define if a lock icon shall be shown on the left of the widget
- Parameters
visible – set to
False
to hide the lock icon
-
showEvent
()¶
-
showLockIcon
(self) → bool¶ Returns if a lock icon shall be shown on the left of the widget
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶