Definition at line 65 of file qlineedit.h.
Public Types
|
| enum |
EchoMode
{
Normal,
NoEcho,
Password,
PasswordEchoOnEdit } |
Public Slots
|
| void |
setText
(const QString
&) |
| void |
clear
() |
| void |
selectAll
() |
| void |
undo
() |
| void |
redo
() |
| void |
cut
() |
| void |
copy
() const |
| void |
paste
() |
Signals
|
| void |
textChanged
(const QString
&) |
| void |
textEdited
(const QString
&) |
| void |
cursorPositionChanged
(int, int) |
| void |
returnPressed
() |
| void |
editingFinished
() |
| void |
selectionChanged
() |
Public Member Functions
|
| |
QLineEdit
(QWidget
*parent=0) |
| |
QLineEdit
(const QString &,
QWidget
*parent=0) |
| |
~QLineEdit
() |
| QString |
text
() const |
| QString |
displayText
() const |
| QString |
placeholderText
() const |
| void |
setPlaceholderText
(const QString
&) |
| int |
maxLength
() const |
| void |
setMaxLength
(int) |
| void |
setFrame
(bool) |
| bool |
hasFrame
() const |
| EchoMode |
echoMode
() const |
| void |
setEchoMode
(EchoMode) |
| bool |
isReadOnly
() const |
| void |
setReadOnly
(bool) |
| void |
setValidator
(const QValidator
*) |
| const QValidator * |
validator
() const |
| void |
setCompleter
(QCompleter
*completer) |
| QCompleter * |
completer
() const |
| QSize |
sizeHint
() const |
| QSize |
minimumSizeHint
() const |
| int |
cursorPosition
() const |
| void |
setCursorPosition
(int) |
| int |
cursorPositionAt
(const QPoint
&pos) |
| void |
setAlignment
(Qt::Alignment flag) |
|
Qt::Alignment |
alignment
() const |
| void |
cursorForward
(bool mark, int steps=1) |
| void |
cursorBackward
(bool mark, int steps=1) |
| void |
cursorWordForward
(bool mark) |
| void |
cursorWordBackward
(bool mark) |
| void |
backspace
() |
| void |
del
() |
| void |
home
(bool mark) |
| void |
end
(bool mark) |
| bool |
isModified
() const |
| void |
setModified
(bool) |
| void |
setSelection
(int, int) |
| bool |
hasSelectedText
() const |
| QString |
selectedText
() const |
| int |
selectionStart
() const |
| bool |
isUndoAvailable
() const |
| bool |
isRedoAvailable
() const |
| void |
setDragEnabled
(bool b) |
| bool |
dragEnabled
() const |
| QString |
inputMask
() const |
| void |
setInputMask
(const QString
&inputMask) |
| bool |
hasAcceptableInput
() const |
| void |
setTextMargins
(int left, int top, int right, int bottom) |
| void |
setTextMargins
(const QMargins
&margins) |
| void |
getTextMargins
(int *left, int *top, int *right, int *bottom) const |
| QMargins |
textMargins
() const |
| void |
deselect
() |
| void |
insert
(const QString
&) |
| QMenu * |
createStandardContextMenu
() |
| QVariant |
inputMethodQuery
(Qt::InputMethodQuery)
const |
| bool |
event
(QEvent *) |
Protected Member Functions
|
| void |
mousePressEvent
(QMouseEvent
*) |
| void |
mouseMoveEvent
(QMouseEvent
*) |
| void |
mouseReleaseEvent
(QMouseEvent
*) |
| void |
mouseDoubleClickEvent
(QMouseEvent
*) |
| void |
keyPressEvent
(QKeyEvent *) |
| void |
focusInEvent
(QFocusEvent
*) |
| void |
focusOutEvent
(QFocusEvent
*) |
| void |
paintEvent
(QPaintEvent
*) |
| void |
dragEnterEvent
(QDragEnterEvent *) |
| void |
dragMoveEvent
(QDragMoveEvent *e) |
| void |
dragLeaveEvent
(QDragLeaveEvent *e) |
| void |
dropEvent
(QDropEvent
*) |
| void |
changeEvent
(QEvent *) |
| void |
contextMenuEvent
(QContextMenuEvent *) |
| void |
inputMethodEvent
(QInputMethodEvent *) |
| void |
initStyleOption
(QStyleOptionFrame *option)
const |
| QRect |
cursorRect
() const |
Properties
|
| QString |
inputMask |
| QString |
text |
| int |
maxLength |
| bool |
frame |
| EchoMode |
echoMode |
| QString |
displayText |
| int |
cursorPosition |
|
Qt::Alignment |
alignment |
| bool |
modified |
| bool |
hasSelectedText |
| QString |
selectedText |
| bool |
dragEnabled |
| bool |
readOnly |
| bool |
undoAvailable |
| bool |
redoAvailable |
| bool |
acceptableInput |
| QString |
placeholderText |
Friends
|
| class |
QAbstractSpinBox |