Subgroup: other
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.
Methods
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
Set state of the password’s visibility setShowLockIcon
Define if a lock icon shall be shown on the left of the widget sharedPainter
showEvent
showLockIcon
Returns if a lock icon shall be shown on the left of the widget tabletEvent
timerEvent
updateMicroFocus
wheelEvent
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
()¶