Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
Constructs a line edit with no text.
The maximum text length is set to 32767 characters.
The parent and name arguments are sent to the QWidget constructor.
See also setText() and setMaxLength().
Constructs a line edit containing the text contents.
The cursor position is set to the end of the line and the maximum text length to 32767 characters.
The parent and name arguments are sent to the QWidget constructor.
See also text() and setMaxLength().
Constructs a line edit with an input inputMask and the text contents.
The cursor position is set to the end of the line and the maximum text length is set to the length of the mask (the number of mask characters and separators).
The parent and name arguments are sent to the QWidget constructor.
See also setMask() and text().
There exists no equivalent functionality in Qt 4.
Use setModified(false) instead.
See also isModified().
Use setValidator(0) instead.
Use cursorForward() with a negative number of steps instead. For example, cursorForward(mark, -steps).
Use cursorForward() instead.
Use isModified() instead.
See also setEdited().
Use hasFrame() instead.
See also setFrame().
Use selectedText() and selectionStart() instead.
Use hasSelectedText() instead.
This signal is emitted when the line edit has lost focus.
Use editingFinished() instead
See also editingFinished() and returnPressed().
Returns the with of the the margin around the contents of the widget.
Use QWidget::getContentsMargins() instead.
See also setMargin() and QWidget::getContentsMargins().
Use selectedText() instead.
Use update() instead.
Use setModified() or setText().
See also edited().
Sets the width of the margin around the contents of the widget to margin.
Use QWidget::setContentsMargins() instead.
See also margin() and QWidget::setContentsMargins().
Use setText(), setCursorPosition() and setSelection() instead.
Copyright © 2007 Trolltech | Trademarks | Qt 4.2.3 |