QLineEdit¶

PyQt5.QtWidgets.QLineEdit

Inherits from QWidget.

Description¶

TODO

Enums¶

ActionPosition

TODO

Member

Value

Description

LeadingPosition

TODO

TODO

TrailingPosition

TODO

TODO


EchoMode

TODO

Member

Value

Description

NoEcho

TODO

TODO

Normal

TODO

TODO

Password

TODO

TODO

PasswordEchoOnEdit

TODO

TODO

Methods¶

__init__(parent: QWidget = None)

TODO


__init__(str, parent: QWidget = None)

TODO


addAction(QAction)

TODO


addAction(QAction, ActionPosition)

TODO


addAction(QIcon, ActionPosition) → QAction

TODO


alignment() → Alignment

TODO


backspace()

TODO


changeEvent(QEvent)

TODO


clear()

TODO


completer() → QCompleter

TODO


contextMenuEvent(QContextMenuEvent)

TODO


copy()

TODO


createStandardContextMenu() → QMenu

TODO


cursorBackward(bool, steps: int = 1)

TODO


cursorForward(bool, steps: int = 1)

TODO


cursorMoveStyle() → CursorMoveStyle

TODO


cursorPosition() → int

TODO


cursorPositionAt(QPoint) → int

TODO


cursorRect() → QRect

TODO


cursorWordBackward(bool)

TODO


cursorWordForward(bool)

TODO


cut()

TODO


del_()

TODO


deselect()

TODO


displayText() → str

TODO


dragEnabled() → bool

TODO


dragEnterEvent(QDragEnterEvent)

TODO


dragLeaveEvent(QDragLeaveEvent)

TODO


dragMoveEvent(QDragMoveEvent)

TODO


dropEvent(QDropEvent)

TODO


echoMode() → EchoMode

TODO


end(bool)

TODO


event(QEvent) → bool

TODO


focusInEvent(QFocusEvent)

TODO


focusOutEvent(QFocusEvent)

TODO


getTextMargins() → (int, int, int, int)

TODO


hasAcceptableInput() → bool

TODO


hasFrame() → bool

TODO


hasSelectedText() → bool

TODO


home(bool)

TODO


initStyleOption(QStyleOptionFrame)

TODO


inputMask() → str

TODO


inputMethodEvent(QInputMethodEvent)

TODO


inputMethodQuery(InputMethodQuery) → Any

TODO


inputMethodQuery(InputMethodQuery, Any) → Any

TODO


insert(str)

TODO


isClearButtonEnabled() → bool

TODO


isModified() → bool

TODO


isReadOnly() → bool

TODO


isRedoAvailable() → bool

TODO


isUndoAvailable() → bool

TODO


keyPressEvent(QKeyEvent)

TODO


maxLength() → int

TODO


minimumSizeHint() → QSize

TODO


mouseDoubleClickEvent(QMouseEvent)

TODO


mouseMoveEvent(QMouseEvent)

TODO


mousePressEvent(QMouseEvent)

TODO


mouseReleaseEvent(QMouseEvent)

TODO


paintEvent(QPaintEvent)

TODO


paste()

TODO


placeholderText() → str

TODO


redo()

TODO


selectAll()

TODO


selectedText() → str

TODO


selectionEnd() → int

TODO


selectionLength() → int

TODO


selectionStart() → int

TODO


setAlignment(Union[Alignment, AlignmentFlag])

TODO


setClearButtonEnabled(bool)

TODO


setCompleter(QCompleter)

TODO


setCursorMoveStyle(CursorMoveStyle)

TODO


setCursorPosition(int)

TODO


setDragEnabled(bool)

TODO


setEchoMode(EchoMode)

TODO


setFrame(bool)

TODO


setInputMask(str)

TODO


setMaxLength(int)

TODO


setModified(bool)

TODO


setPlaceholderText(str)

TODO


setReadOnly(bool)

TODO


setSelection(int, int)

TODO


setText(str)

TODO


setTextMargins(QMargins)

TODO


setTextMargins(int, int, int, int)

TODO


setValidator(QValidator)

TODO


sizeHint() → QSize

TODO


text() → str

TODO


textMargins() → QMargins

TODO


undo()

TODO


validator() → QValidator

TODO

Signals¶

cursorPositionChanged(int, int)

TODO


editingFinished()

TODO


inputRejected()

TODO


returnPressed()

TODO


selectionChanged()

TODO


textChanged(str)

TODO


textEdited(str)

TODO