QLineEdit Class Reference
[QtGui module]
Inherits QWidget.
Types
- enum EchoMode { Normal, NoEcho, Password, PasswordEchoOnEdit }
Methods
- __init__ (self, QWidget parent = None)
- __init__ (self, QString, QWidget parent = None)
- Qt.Alignment alignment (self)
- backspace (self)
- changeEvent (self, QEvent)
- clear (self)
- QCompleter completer (self)
- contextMenuEvent (self, QContextMenuEvent)
- copy (self)
- QMenu createStandardContextMenu (self)
- cursorBackward (self, bool, int steps = 1)
- cursorForward (self, bool, int steps = 1)
- int cursorPosition (self)
- int cursorPositionAt (self, QPoint)
- QRect cursorRect (self)
- cursorWordBackward (self, bool)
- cursorWordForward (self, bool)
- cut (self)
- del_ (self)
- deselect (self)
- QString displayText (self)
- bool dragEnabled (self)
- dragEnterEvent (self, QDragEnterEvent)
- dragLeaveEvent (self, QDragLeaveEvent)
- dragMoveEvent (self, QDragMoveEvent)
- dropEvent (self, QDropEvent)
- EchoMode echoMode (self)
- end (self, bool)
- bool event (self, QEvent)
- focusInEvent (self, QFocusEvent)
- focusOutEvent (self, QFocusEvent)
- (int, int, int, int) getTextMargins (self)
- bool hasAcceptableInput (self)
- bool hasFrame (self)
- bool hasSelectedText (self)
- home (self, bool)
- initStyleOption (self, QStyleOptionFrame)
- QString inputMask (self)
- inputMethodEvent (self, QInputMethodEvent)
- QVariant inputMethodQuery (self, Qt.InputMethodQuery)
- insert (self, QString)
- bool isModified (self)
- bool isReadOnly (self)
- bool isRedoAvailable (self)
- bool isUndoAvailable (self)
- keyPressEvent (self, QKeyEvent)
- int maxLength (self)
- QSize minimumSizeHint (self)
- mouseDoubleClickEvent (self, QMouseEvent)
- mouseMoveEvent (self, QMouseEvent)
- mousePressEvent (self, QMouseEvent)
- mouseReleaseEvent (self, QMouseEvent)
- paintEvent (self, QPaintEvent)
- paste (self)
- QString placeholderText (self)
- redo (self)
- selectAll (self)
- QString selectedText (self)
- int selectionStart (self)
- setAlignment (self, Qt.Alignment)
- setCompleter (self, QCompleter)
- setCursorPosition (self, int)
- setDragEnabled (self, bool)
- setEchoMode (self, EchoMode)
- setFrame (self, bool)
- setInputMask (self, QString)
- setMaxLength (self, int)
- setModified (self, bool)
- setPlaceholderText (self, QString)
- setReadOnly (self, bool)
- setSelection (self, int, int)
- setText (self, QString)
- setTextMargins (self, int, int, int, int)
- setTextMargins (self, QMargins)
- setValidator (self, QValidator)
- QSize sizeHint (self)
- QString text (self)
- QMargins textMargins (self)
- undo (self)
- QValidator validator (self)
Qt Signals
Detailed Description
Type Documentation
QLineEdit.EchoMode
Method Documentation
QLineEdit.__init__ (self, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QLineEdit.__init__ (self, QString, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
Qt.Alignment QLineEdit.alignment (self)
QLineEdit.backspace (self)
QLineEdit.changeEvent (self, QEvent)
QLineEdit.clear (self)
QCompleter QLineEdit.completer (self)
QLineEdit.contextMenuEvent (self, QContextMenuEvent)
QLineEdit.copy (self)
QMenu QLineEdit.createStandardContextMenu (self)
QLineEdit.cursorBackward (self, bool, int steps = 1)
QLineEdit.cursorForward (self, bool, int steps = 1)
int QLineEdit.cursorPosition (self)
int QLineEdit.cursorPositionAt (self, QPoint)
QRect QLineEdit.cursorRect (self)
QLineEdit.cursorWordBackward (self, bool)
QLineEdit.cursorWordForward (self, bool)
QLineEdit.cut (self)
QLineEdit.del_ (self)
QLineEdit.deselect (self)
QString QLineEdit.displayText (self)
bool QLineEdit.dragEnabled (self)
QLineEdit.dragEnterEvent (self, QDragEnterEvent)
QLineEdit.dragLeaveEvent (self, QDragLeaveEvent)
QLineEdit.dragMoveEvent (self, QDragMoveEvent)
QLineEdit.dropEvent (self, QDropEvent)
EchoMode QLineEdit.echoMode (self)
QLineEdit.end (self, bool)
bool QLineEdit.event (self, QEvent)
QLineEdit.focusInEvent (self, QFocusEvent)
QLineEdit.focusOutEvent (self, QFocusEvent)
(int, int, int, int) QLineEdit.getTextMargins (self)
bool QLineEdit.hasAcceptableInput (self)
bool QLineEdit.hasFrame (self)
bool QLineEdit.hasSelectedText (self)
QLineEdit.home (self, bool)
QString QLineEdit.inputMask (self)
QLineEdit.inputMethodEvent (self, QInputMethodEvent)
QVariant QLineEdit.inputMethodQuery (self, Qt.InputMethodQuery)
QLineEdit.insert (self, QString)
bool QLineEdit.isModified (self)
bool QLineEdit.isReadOnly (self)
bool QLineEdit.isRedoAvailable (self)
bool QLineEdit.isUndoAvailable (self)
QLineEdit.keyPressEvent (self, QKeyEvent)
int QLineEdit.maxLength (self)
QSize QLineEdit.minimumSizeHint (self)
QLineEdit.mouseDoubleClickEvent (self, QMouseEvent)
QLineEdit.mouseMoveEvent (self, QMouseEvent)
QLineEdit.mousePressEvent (self, QMouseEvent)
QLineEdit.mouseReleaseEvent (self, QMouseEvent)
QLineEdit.paintEvent (self, QPaintEvent)
QLineEdit.paste (self)
QString QLineEdit.placeholderText (self)
QLineEdit.redo (self)
QLineEdit.selectAll (self)
QString QLineEdit.selectedText (self)
int QLineEdit.selectionStart (self)
QLineEdit.setAlignment (self, Qt.Alignment)
QLineEdit.setCompleter (self, QCompleter)
QLineEdit.setCursorPosition (self, int)
QLineEdit.setDragEnabled (self, bool)
QLineEdit.setEchoMode (self, EchoMode)
QLineEdit.setFrame (self, bool)
QLineEdit.setInputMask (self, QString)
QLineEdit.setMaxLength (self, int)
QLineEdit.setModified (self, bool)
QLineEdit.setPlaceholderText (self, QString)
QLineEdit.setReadOnly (self, bool)
QLineEdit.setSelection (self, int, int)
QLineEdit.setText (self, QString)
QLineEdit.setTextMargins (self, int, int, int, int)
QLineEdit.setTextMargins (self, QMargins)
QLineEdit.setValidator (self, QValidator)
QSize QLineEdit.sizeHint (self)
QString QLineEdit.text (self)
QMargins QLineEdit.textMargins (self)
QLineEdit.undo (self)
QValidator QLineEdit.validator (self)
Qt Signal Documentation
void cursorPositionChanged (int,int)
This is the default overload of this signal.
void editingFinished ()
This is the default overload of this signal.
void returnPressed ()
This is the default overload of this signal.
void selectionChanged ()
This is the default overload of this signal.
void textChanged (const QString&)
This is the default overload of this signal.
void textEdited (const QString&)
This is the default overload of this signal.