Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2105

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QLineEdit" doc="/**
&lt;p&gt;The &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; widget is a one-line text editor.&lt;/p&gt;
&lt;p&gt;A line edit allows the user to enter and edit a single line of plain text with a useful collection of editing functions, including undo and redo, cut and paste, and drag and drop.&lt;/p&gt;
&lt;p&gt;By changing the &lt;a href=&quot;QLineEdit.html#echoMode()&quot;&gt;&lt;tt&gt;echoMode&lt;/tt&gt;&lt;/a&gt; of a line edit, it can also be used as a &amp;quot;write-only&amp;quot; field, for inputs such as passwords.&lt;/p&gt;
&lt;p&gt;The length of the text can be constrained to &lt;a href=&quot;QLineEdit.html#maxLength()&quot;&gt;&lt;tt&gt;maxLength&lt;/tt&gt;&lt;/a&gt;. The text can be arbitrarily constrained using a &lt;a href=&quot;QLineEdit.html#validator()&quot;&gt;&lt;tt&gt;validator&lt;/tt&gt;&lt;/a&gt; or an &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt;, or both.&lt;/p&gt;
&lt;p&gt;A related class is &lt;a href=&quot;QTextEdit.html&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; which allows multi-line, rich text editing.&lt;/p&gt;
&lt;p&gt;You can change the text with &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QLineEdit.html#insert(java.lang.String)&quot;&gt;&lt;tt&gt;insert&lt;/tt&gt;&lt;/a&gt;. The text is retrieved with &lt;a href=&quot;QLineEdit.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;; the displayed text (which may be different, see &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;EchoMode&lt;/tt&gt;&lt;/a&gt;) is retrieved with &lt;a href=&quot;QLineEdit.html#displayText()&quot;&gt;&lt;tt&gt;displayText&lt;/tt&gt;&lt;/a&gt;. Text can be selected with &lt;a href=&quot;QLineEdit.html#setSelection(int, int)&quot;&gt;&lt;tt&gt;setSelection&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QLineEdit.html#selectAll()&quot;&gt;&lt;tt&gt;selectAll&lt;/tt&gt;&lt;/a&gt;, and the selection can be &lt;a href=&quot;QLineEdit.html#cut()&quot;&gt;&lt;tt&gt;cut&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QLineEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt;ied and &lt;a href=&quot;QLineEdit.html#paste()&quot;&gt;&lt;tt&gt;paste&lt;/tt&gt;&lt;/a&gt;d. The text can be aligned with &lt;a href=&quot;QLineEdit.html#setAlignment(com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;setAlignment&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the text changes the &lt;a href=&quot;QLineEdit.html#textChanged(java.lang.String)&quot;&gt;&lt;tt&gt;textChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted; when the text changes other than by calling &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt; the &lt;a href=&quot;QLineEdit.html#textEdited(java.lang.String)&quot;&gt;&lt;tt&gt;textEdited&lt;/tt&gt;&lt;/a&gt; signal is emitted; when the cursor is moved the &lt;a href=&quot;QLineEdit.html#cursorPositionChanged(int, int)&quot;&gt;&lt;tt&gt;cursorPositionChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted; and when the Return or Enter key is pressed the &lt;a href=&quot;QLineEdit.html#returnPressed()&quot;&gt;&lt;tt&gt;returnPressed&lt;/tt&gt;&lt;/a&gt; signal is emitted.&lt;/p&gt;
&lt;p&gt;When editing is finished, either because the line edit lost focus or Return/Enter is pressed the &lt;a href=&quot;QLineEdit.html#editingFinished()&quot;&gt;&lt;tt&gt;editingFinished&lt;/tt&gt;&lt;/a&gt; signal is emitted.&lt;/p&gt;
&lt;p&gt;Note that if there is a validator set on the line edit, the &lt;a href=&quot;QLineEdit.html#returnPressed()&quot;&gt;&lt;tt&gt;returnPressed&lt;/tt&gt;&lt;/a&gt;/&lt;a href=&quot;QLineEdit.html#editingFinished()&quot;&gt;&lt;tt&gt;editingFinished&lt;/tt&gt;&lt;/a&gt; signals will only be emitted if the validator returns QValidator::Acceptable.&lt;/p&gt;
&lt;p&gt;By default, QLineEdits have a frame as specified by the Windows and Motif style guides; you can turn it off by calling &lt;a href=&quot;QLineEdit.html#setFrame(boolean)&quot;&gt;&lt;tt&gt;setFrame&lt;/tt&gt;&lt;/a&gt;(false).&lt;/p&gt;
&lt;p&gt;The default key bindings are described below. The line edit also provides a context menu (usually invoked by a right mouse click) that presents some of these editing options. &lt;a name=&quot;desc&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Keypress&lt;/th&gt;&lt;th&gt;Action&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Left Arrow&lt;/td&gt;&lt;td&gt;Moves the cursor one character to the left.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Shift+Left Arrow&lt;/td&gt;&lt;td&gt;Moves and selects text one character to the left.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Right Arrow&lt;/td&gt;&lt;td&gt;Moves the cursor one character to the right.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Shift+Right Arrow&lt;/td&gt;&lt;td&gt;Moves and selects text one character to the right.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Home&lt;/td&gt;&lt;td&gt;Moves the cursor to the beginning of the line.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;End&lt;/td&gt;&lt;td&gt;Moves the cursor to the end of the line.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Backspace&lt;/td&gt;&lt;td&gt;Deletes the character to the left of the cursor.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Ctrl+Backspace&lt;/td&gt;&lt;td&gt;Deletes the word to the left of the cursor.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Delete&lt;/td&gt;&lt;td&gt;Deletes the character to the right of the cursor.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Ctrl+Delete&lt;/td&gt;&lt;td&gt;Deletes the word to the right of the cursor.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Ctrl+A&lt;/td&gt;&lt;td&gt;Select all.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Ctrl+C&lt;/td&gt;&lt;td&gt;Copies the selected text to the clipboard.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Ctrl+Insert&lt;/td&gt;&lt;td&gt;Copies the selected text to the clipboard.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Ctrl+K&lt;/td&gt;&lt;td&gt;Deletes to the end of the line.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Ctrl+V&lt;/td&gt;&lt;td&gt;Pastes the clipboard text into line edit.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Shift+Insert&lt;/td&gt;&lt;td&gt;Pastes the clipboard text into line edit.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Ctrl+X&lt;/td&gt;&lt;td&gt;Deletes the selected text and copies it to the clipboard.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Shift+Delete&lt;/td&gt;&lt;td&gt;Deletes the selected text and copies it to the clipboard.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Ctrl+Z&lt;/td&gt;&lt;td&gt;Undoes the last operation.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Ctrl+Y&lt;/td&gt;&lt;td&gt;Redoes the last undone operation.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;Any other key sequence that represents a valid character, will cause the character to be inserted into the line edit.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;100%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/macintosh-lineedit.png&quot; alt=&quot;Screenshot of a Macintosh style line edit&quot; /&gt;&lt;/td&gt;&lt;td&gt;A line edit shown in the &lt;a href=&quot;%2E%2E/gallery-macintosh.html&quot;&gt;Macintosh widget style&lt;/tt&gt;&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/windows-lineedit.png&quot; alt=&quot;Screenshot of a Windows XP style line edit&quot; /&gt;&lt;/td&gt;&lt;td&gt;A line edit shown in the &lt;a href=&quot;%2E%2E/gallery-windowsxp.html&quot;&gt;Windows XP widget style&lt;/tt&gt;&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/plastique-lineedit.png&quot; alt=&quot;Screenshot of a Plastique style line edit&quot; /&gt;&lt;/td&gt;&lt;td&gt;A line edit shown in the &lt;a href=&quot;%2E%2E/gallery-plastique.html&quot;&gt;Plastique widget style&lt;/tt&gt;&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/guibooks.html#fowler&quot;&gt;GUI Design Handbook: Field, Entry&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/qtjambi-lineedits.html&quot;&gt;Line Edits Example&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void cursorPositionChanged(int arg__1, int arg__2)" doc="/**
&lt;p&gt;This signal is emitted whenever the cursor moves. The previous position is given by &lt;tt&gt;arg__1&lt;/tt&gt;, and the new position by &lt;tt&gt;arg__2&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int arg__1, int arg__2)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QLineEdit.html#setCursorPosition(int)&quot;&gt;&lt;tt&gt;setCursorPosition&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QLineEdit.html#cursorPosition()&quot;&gt;&lt;tt&gt;cursorPosition&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void editingFinished()" doc="/**
&lt;p&gt;This signal is emitted when the Return or Enter key is pressed or the line edit loses focus. Note that if there is a &lt;a href=&quot;QLineEdit.html#validator()&quot;&gt;&lt;tt&gt;validator&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; set on the line edit and enter/return is pressed, the &lt;a href=&quot;QLineEdit.html#editingFinished()&quot;&gt;&lt;tt&gt;editingFinished&lt;/tt&gt;&lt;/a&gt; signal will only be emitted if the input follows the &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; and the &lt;a href=&quot;QLineEdit.html#validator()&quot;&gt;&lt;tt&gt;validator&lt;/tt&gt;&lt;/a&gt; returns QValidator::Acceptable.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void returnPressed()" doc="/**
&lt;p&gt;This signal is emitted when the Return or Enter key is pressed. Note that if there is a &lt;a href=&quot;QLineEdit.html#validator()&quot;&gt;&lt;tt&gt;validator&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; set on the line edit, the &lt;a href=&quot;QLineEdit.html#returnPressed()&quot;&gt;&lt;tt&gt;returnPressed&lt;/tt&gt;&lt;/a&gt; signal will only be emitted if the input follows the &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; and the &lt;a href=&quot;QLineEdit.html#validator()&quot;&gt;&lt;tt&gt;validator&lt;/tt&gt;&lt;/a&gt; returns QValidator::Acceptable.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void selectionChanged()" doc="/**
&lt;p&gt;This signal is emitted whenever the selection changes.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QLineEdit.html#hasSelectedText()&quot;&gt;&lt;tt&gt;hasSelectedText&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QLineEdit.html#selectedText()&quot;&gt;&lt;tt&gt;selectedText&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void textChanged(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is emitted whenever the text changes. The &lt;tt&gt;arg__1&lt;/tt&gt; argument is the new text.&lt;/p&gt;
&lt;p&gt;Unlike &lt;a href=&quot;QLineEdit.html#textEdited(java.lang.String)&quot;&gt;&lt;tt&gt;textEdited&lt;/tt&gt;&lt;/a&gt;, this signal is also emitted when the text is changed programmatically, for example, by calling &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void textEdited(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is emitted whenever the text is edited. The &lt;tt&gt;arg__1&lt;/tt&gt; argument is the next text.&lt;/p&gt;
&lt;p&gt;Unlike &lt;a href=&quot;QLineEdit.html#textChanged(java.lang.String)&quot;&gt;&lt;tt&gt;textChanged&lt;/tt&gt;&lt;/a&gt;, this signal is not emitted when the text is changed programmatically, for example, by calling &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QLineEdit(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a line edit with no text.&lt;/p&gt;
&lt;p&gt;The maximum text length is set to 32767 characters.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; argument is sent to the &lt;a href=&quot;QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt; constructor.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#setMaxLength(int)&quot;&gt;&lt;tt&gt;setMaxLength&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QLineEdit()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public QLineEdit(java.lang.String arg__1, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a line edit containing the text &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The cursor position is set to the end of the line and the maximum text length to 32767 characters.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; and argument is sent to the &lt;a href=&quot;QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt; constructor.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#setMaxLength(int)&quot;&gt;&lt;tt&gt;setMaxLength&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QLineEdit(java.lang.String arg__1)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;arg__1&lt;/tt&gt;, 0). */"/>
    <method name="public final com.trolltech.qt.core.Qt.Alignment alignment()" doc="/**
&lt;p&gt;Returns the alignment of the line edit.&lt;/p&gt;
&lt;p&gt;Both horizontal and vertical alignment is allowed here, Qt::AlignJustify will map to Qt::AlignLeft.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setAlignment(com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;setAlignment&lt;/tt&gt;&lt;/a&gt;
@see Qt::Alignment&lt;/tt&gt; */"/>
    <method name="public final void backspace()" doc="/**
&lt;p&gt;If no text is selected, deletes the character to the left of the text cursor and moves the cursor one position to the left. If any text is selected, the cursor is moved to the beginning of the selected text and the selected text is deleted.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#del()&quot;&gt;&lt;tt&gt;del&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Clears the contents of the line edit.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#insert(java.lang.String)&quot;&gt;&lt;tt&gt;insert&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QCompleter completer()" doc="/**
&lt;p&gt;Returns the current &lt;a href=&quot;QCompleter.html&quot;&gt;&lt;tt&gt;QCompleter&lt;/tt&gt;&lt;/a&gt; that provides completions.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setCompleter(com.trolltech.qt.gui.QCompleter)&quot;&gt;&lt;tt&gt;setCompleter&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void copy()" doc="/**
&lt;p&gt;Copies the selected text to the clipboard, if there is any, and if &lt;a href=&quot;QLineEdit.html#echoMode()&quot;&gt;&lt;tt&gt;echoMode&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Normal&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#cut()&quot;&gt;&lt;tt&gt;cut&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#paste()&quot;&gt;&lt;tt&gt;paste&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QMenu createStandardContextMenu()" doc="/**
&lt;p&gt;This function creates the standard context menu which is shown when the user clicks on the line edit with the right mouse button. It is called from the default &lt;a href=&quot;QLineEdit.html#contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent)&quot;&gt;&lt;tt&gt;contextMenuEvent&lt;/tt&gt;&lt;/a&gt; handler. The popup menu's ownership is transferred to the caller.&lt;/p&gt;
 */"/>
    <method name="public final void cursorBackward(boolean mark, int steps)" doc="/**
&lt;p&gt;Moves the cursor back &lt;tt&gt;steps&lt;/tt&gt; characters. If &lt;tt&gt;mark&lt;/tt&gt; is true each character moved over is added to the selection; if &lt;tt&gt;mark&lt;/tt&gt; is false the selection is cleared.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#cursorForward(boolean, int)&quot;&gt;&lt;tt&gt;cursorForward&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void cursorBackward(boolean mark)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QLineEdit.html#cursorBackward(boolean, int)&quot;&gt;&lt;tt&gt;cursorBackward&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;mark&lt;/tt&gt;, 1). */"/>
    <method name="public final void cursorForward(boolean mark, int steps)" doc="/**
&lt;p&gt;Moves the cursor forward &lt;tt&gt;steps&lt;/tt&gt; characters. If &lt;tt&gt;mark&lt;/tt&gt; is true each character moved over is added to the selection; if &lt;tt&gt;mark&lt;/tt&gt; is false the selection is cleared.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#cursorBackward(boolean, int)&quot;&gt;&lt;tt&gt;cursorBackward&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void cursorForward(boolean mark)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QLineEdit.html#cursorForward(boolean, int)&quot;&gt;&lt;tt&gt;cursorForward&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;mark&lt;/tt&gt;, 1). */"/>
    <method name="public final int cursorPosition()" doc="/**
&lt;p&gt;Returns the current cursor position for this line edit.&lt;/p&gt;
&lt;p&gt;Setting the cursor position causes a repaint when appropriate.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setCursorPosition(int)&quot;&gt;&lt;tt&gt;setCursorPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int cursorPositionAt(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;Returns the cursor position under the point &lt;tt&gt;pos&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void cursorWordBackward(boolean mark)" doc="/**
&lt;p&gt;Moves the cursor one word backward. If &lt;tt&gt;mark&lt;/tt&gt; is true, the word is also selected.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#cursorWordForward(boolean)&quot;&gt;&lt;tt&gt;cursorWordForward&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void cursorWordForward(boolean mark)" doc="/**
&lt;p&gt;Moves the cursor one word forward. If &lt;tt&gt;mark&lt;/tt&gt; is true, the word is also selected.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#cursorWordBackward(boolean)&quot;&gt;&lt;tt&gt;cursorWordBackward&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void cut()" doc="/**
&lt;p&gt;Copies the selected text to the clipboard and deletes it, if there is any, and if &lt;a href=&quot;QLineEdit.html#echoMode()&quot;&gt;&lt;tt&gt;echoMode&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Normal&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If the current validator disallows deleting the selected text, &lt;a href=&quot;QLineEdit.html#cut()&quot;&gt;&lt;tt&gt;cut&lt;/tt&gt;&lt;/a&gt; will copy without deleting.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#paste()&quot;&gt;&lt;tt&gt;paste&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;&lt;tt&gt;setValidator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void del()" doc="/**
&lt;p&gt;If no text is selected, deletes the character to the right of the text cursor. If any text is selected, the cursor is moved to the beginning of the selected text and the selected text is deleted.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#backspace()&quot;&gt;&lt;tt&gt;backspace&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void deselect()" doc="/**
&lt;p&gt;Deselects any selected text.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setSelection(int, int)&quot;&gt;&lt;tt&gt;setSelection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#selectAll()&quot;&gt;&lt;tt&gt;selectAll&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String displayText()" doc="/**
&lt;p&gt;Returns the displayed text.&lt;/p&gt;
&lt;p&gt;If &lt;a href=&quot;QLineEdit.html#echoMode()&quot;&gt;&lt;tt&gt;echoMode&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Normal&lt;/tt&gt;&lt;/a&gt; this returns the same as &lt;a href=&quot;QLineEdit.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;; if &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;EchoMode&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Password&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;PasswordEchoOnEdit&lt;/tt&gt;&lt;/a&gt; it returns a string of asterisks &lt;a href=&quot;QLineEdit.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;.&lt;a href=&quot;%2E%2E/stylesheet-reference.html#length&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt; characters long, e.g&amp;#x2e; &amp;quot;******&amp;quot;; if &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;EchoMode&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;NoEcho&lt;/tt&gt;&lt;/a&gt; returns an empty string, &amp;quot;&amp;quot;.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setEchoMode(com.trolltech.qt.gui.QLineEdit.EchoMode)&quot;&gt;&lt;tt&gt;setEchoMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;EchoMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean dragEnabled()" doc="/**
&lt;p&gt;Returns whether the lineedit starts a drag if the user presses and moves the mouse on some selected text.&lt;/p&gt;
&lt;p&gt;Dragging is disabled by default.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setDragEnabled(boolean)&quot;&gt;&lt;tt&gt;setDragEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QLineEdit.EchoMode echoMode()" doc="/**
&lt;p&gt;Returns the line edit's echo mode.&lt;/p&gt;
&lt;p&gt;The initial setting is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Normal&lt;/tt&gt;&lt;/a&gt;, but &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; also supports &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;NoEcho&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Password&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;PasswordEchoOnEdit&lt;/tt&gt;&lt;/a&gt; modes.&lt;/p&gt;
&lt;p&gt;The widget's display and the ability to copy or drag the text is affected by this setting.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setEchoMode(com.trolltech.qt.gui.QLineEdit.EchoMode)&quot;&gt;&lt;tt&gt;setEchoMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;EchoMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#displayText()&quot;&gt;&lt;tt&gt;displayText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void end(boolean mark)" doc="/**
&lt;p&gt;Moves the text cursor to the end of the line unless it is already there. If &lt;tt&gt;mark&lt;/tt&gt; is true, text is selected towards the last position; otherwise, any selected text is unselected if the cursor is moved.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#home(boolean)&quot;&gt;&lt;tt&gt;home&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean hasAcceptableInput()" doc="/**
&lt;p&gt;Returns whether the input satisfies the &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; and the validator..&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setInputMask(java.lang.String)&quot;&gt;&lt;tt&gt;setInputMask&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;&lt;tt&gt;setValidator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean hasFrame()" doc="/**
&lt;p&gt;Returns whether the line edit draws itself with a frame.&lt;/p&gt;
&lt;p&gt;If enabled (the default) the line edit draws itself inside a frame, otherwise the line edit draws itself without any frame.&lt;/p&gt;
 */"/>
    <method name="public final boolean hasSelectedText()" doc="/**
&lt;p&gt;Returns whether there is any text selected.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QLineEdit.html#hasSelectedText()&quot;&gt;&lt;tt&gt;hasSelectedText&lt;/tt&gt;&lt;/a&gt; returns true if some or all of the text has been selected by the user; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#selectedText()&quot;&gt;&lt;tt&gt;selectedText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void home(boolean mark)" doc="/**
&lt;p&gt;Moves the text cursor to the beginning of the line unless it is already there. If &lt;tt&gt;mark&lt;/tt&gt; is true, text is selected towards the first position; otherwise, any selected text is unselected if the cursor is moved.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#end(boolean)&quot;&gt;&lt;tt&gt;end&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String inputMask()" doc="/**
&lt;p&gt;Returns The validation input mask.&lt;/p&gt;
&lt;p&gt;If no mask is set, &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; returns an empty string.&lt;/p&gt;
&lt;p&gt;Sets the &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;'s validation mask. Validators can be used instead of, or in conjunction with masks; see &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;&lt;tt&gt;setValidator&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Unset the mask and return to normal &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; operation by passing an empty string (&amp;quot;&amp;quot;) or just calling &lt;a href=&quot;QLineEdit.html#setInputMask(java.lang.String)&quot;&gt;&lt;tt&gt;setInputMask&lt;/tt&gt;&lt;/a&gt; with no arguments.&lt;/p&gt;
&lt;p&gt;The mask format understands these mask characters:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Character&lt;/th&gt;&lt;th&gt;Meaning&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;A&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII alphabetic character required. A-Z, a-z.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;a&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII alphabetic character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;N&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII alphanumeric character required. A-Z, a-z, 0-9.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;n&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII alphanumeric character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;X&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Any character required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Any character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;9&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit required. 0-9.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;0&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;D&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit required. 1-9.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;d&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit permitted but not required (1-9).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;#&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit or plus/minus sign permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;H&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Hexadecimal character required. A-F, a-f, 0-9.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;h&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Hexadecimal character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;B&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Binary character required. 0-1.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;b&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Binary character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;&amp;gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;All following alphabetic characters are uppercased.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;&amp;lt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;All following alphabetic characters are lowercased.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;!&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Switch off case conversion.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;\&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Use &lt;tt&gt;\&lt;/tt&gt; to escape the special characters listed above to use them as separators.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The mask consists of a string of mask characters and separators, optionally followed by a semicolon and the character used for blanks: the blank characters are always removed from the text after editing. The default blank character is space.&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Mask&lt;/th&gt;&lt;th&gt;Notes&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;000.000.000.000;_&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;IP address; blanks are &lt;tt&gt;_&lt;/tt&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;HH:HH:HH:HH:HH:HH;_&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;MAC address&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;0000-00-00&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ISO Date; blanks are &lt;tt&gt;space&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;&amp;gt;AAAAA-AAAAA-AAAAA-AAAAA-AAAAA;#&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;License number; blanks are &lt;tt&gt;-&lt;/tt&gt; and all (alphabetic) characters are converted to uppercase.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;To get range control (e.g&amp;#x2e; for an IP address) use masks together with &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;validators&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setInputMask(java.lang.String)&quot;&gt;&lt;tt&gt;setInputMask&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#maxLength()&quot;&gt;&lt;tt&gt;maxLength&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void insert(java.lang.String arg__1)" doc="/**
&lt;p&gt;Deletes any selected text, inserts &lt;tt&gt;arg__1&lt;/tt&gt;, and validates the result. If it is valid, it sets it as the new contents of the line edit.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isModified()" doc="/**
&lt;p&gt;Returns whether the line edit's contents has been modified by the user.&lt;/p&gt;
&lt;p&gt;The modified flag is never read by &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;; it has a default value of false and is changed to true whenever the user changes the line edit's contents.&lt;/p&gt;
&lt;p&gt;This is useful for things that need to provide a default value but do not start out knowing what the default should be (perhaps it depends on other fields on the form). Start the line edit without the best default, and when the default is known, if modified() returns false (the user hasn't entered any text), insert the default value.&lt;/p&gt;
&lt;p&gt;Calling &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt; resets the modified flag to false.&lt;/p&gt;
 */"/>
    <method name="public final boolean isReadOnly()" doc="/**
&lt;p&gt;Returns whether the line edit is read only..&lt;/p&gt;
&lt;p&gt;In read-only mode, the user can still copy the text to the clipboard, or drag and drop the text (if &lt;a href=&quot;QLineEdit.html#echoMode()&quot;&gt;&lt;tt&gt;echoMode&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Normal&lt;/tt&gt;&lt;/a&gt;), but cannot edit it.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; does not show a cursor in read-only mode.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#setEnabled(boolean)&quot;&gt;&lt;tt&gt;setEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isRedoAvailable()" doc="/**
&lt;p&gt;Returns whether redo is available.&lt;/p&gt;
 */"/>
    <method name="public final boolean isUndoAvailable()" doc="/**
&lt;p&gt;Returns whether undo is available.&lt;/p&gt;
 */"/>
    <method name="public final int maxLength()" doc="/**
&lt;p&gt;Returns the maximum permitted length of the text.&lt;/p&gt;
&lt;p&gt;If the text is too long, it is truncated at the limit.&lt;/p&gt;
&lt;p&gt;If truncation occurs any selected text will be unselected, the cursor position is set to 0 and the first part of the string is shown.&lt;/p&gt;
&lt;p&gt;If the line edit has an input mask, the mask defines the maximum string length.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setMaxLength(int)&quot;&gt;&lt;tt&gt;setMaxLength&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void paste()" doc="/**
&lt;p&gt;Inserts the clipboard's text at the cursor position, deleting any selected text, providing the line edit is not read-only&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the end result would not be acceptable to the current &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;validator&lt;/tt&gt;&lt;/a&gt;, nothing happens.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#cut()&quot;&gt;&lt;tt&gt;cut&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void redo()" doc="/**
&lt;p&gt;Redoes the last operation if redo is available&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void selectAll()" doc="/**
&lt;p&gt;Selects all the text (i.e&amp;#x2e; highlights it) and moves the cursor to the end. This is useful when a default value has been inserted because if the user types before clicking on the widget, the selected text will be deleted.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setSelection(int, int)&quot;&gt;&lt;tt&gt;setSelection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#deselect()&quot;&gt;&lt;tt&gt;deselect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String selectedText()" doc="/**
&lt;p&gt;Returns the selected text.&lt;/p&gt;
&lt;p&gt;If there is no selected text this property's value is an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#hasSelectedText()&quot;&gt;&lt;tt&gt;hasSelectedText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int selectionStart()" doc="/**
&lt;p&gt;&lt;a href=&quot;QLineEdit.html#selectionStart()&quot;&gt;&lt;tt&gt;selectionStart&lt;/tt&gt;&lt;/a&gt; returns the index of the first selected character in the line edit or -1 if no text is selected.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#selectedText()&quot;&gt;&lt;tt&gt;selectedText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAlignment(com.trolltech.qt.core.Qt.Alignment flag)" doc="/**
&lt;p&gt;Sets the alignment of the line edit to &lt;tt&gt;flag&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Both horizontal and vertical alignment is allowed here, Qt::AlignJustify will map to Qt::AlignLeft.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#alignment()&quot;&gt;&lt;tt&gt;alignment&lt;/tt&gt;&lt;/a&gt;
@see Qt::Alignment&lt;/tt&gt; */"/>
    <method name="public final void setCompleter(com.trolltech.qt.gui.QCompleter completer)" doc="/**
&lt;p&gt;Sets this line edit to provide auto completions from the completer, &lt;tt&gt;completer&lt;/tt&gt;. The completion mode is set using QCompleter::setCompletionMode().&lt;/p&gt;
&lt;p&gt;To use a &lt;a href=&quot;QCompleter.html&quot;&gt;&lt;tt&gt;QCompleter&lt;/tt&gt;&lt;/a&gt; with a &lt;a href=&quot;QValidator.html&quot;&gt;&lt;tt&gt;QValidator&lt;/tt&gt;&lt;/a&gt; or QLineEdit::inputMask, you need to ensure that the model provided to &lt;a href=&quot;QCompleter.html&quot;&gt;&lt;tt&gt;QCompleter&lt;/tt&gt;&lt;/a&gt; contains valid entries. You can use the &lt;a href=&quot;QSortFilterProxyModel.html&quot;&gt;&lt;tt&gt;QSortFilterProxyModel&lt;/tt&gt;&lt;/a&gt; to ensure that the &lt;a href=&quot;QCompleter.html&quot;&gt;&lt;tt&gt;QCompleter&lt;/tt&gt;&lt;/a&gt;'s model contains only valid entries.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;completer&lt;/tt&gt; == 0, &lt;a href=&quot;QLineEdit.html#setCompleter(com.trolltech.qt.gui.QCompleter)&quot;&gt;&lt;tt&gt;setCompleter&lt;/tt&gt;&lt;/a&gt; removes the current completer, effectively disabling auto completion.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#completer()&quot;&gt;&lt;tt&gt;completer&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCompleter.html&quot;&gt;&lt;tt&gt;QCompleter&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCursorPosition(int arg__1)" doc="/**
&lt;p&gt;Sets the current cursor position for this line edit to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Setting the cursor position causes a repaint when appropriate.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#cursorPosition()&quot;&gt;&lt;tt&gt;cursorPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDragEnabled(boolean b)" doc="/**
&lt;p&gt;Sets whether the lineedit starts a drag if the user presses and moves the mouse on some selected text to &lt;tt&gt;b&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Dragging is disabled by default.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#dragEnabled()&quot;&gt;&lt;tt&gt;dragEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setEchoMode(com.trolltech.qt.gui.QLineEdit.EchoMode arg__1)" doc="/**
&lt;p&gt;Sets the line edit's echo mode to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The initial setting is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Normal&lt;/tt&gt;&lt;/a&gt;, but &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; also supports &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;NoEcho&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Password&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;PasswordEchoOnEdit&lt;/tt&gt;&lt;/a&gt; modes.&lt;/p&gt;
&lt;p&gt;The widget's display and the ability to copy or drag the text is affected by this setting.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#echoMode()&quot;&gt;&lt;tt&gt;echoMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;&lt;tt&gt;EchoMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#displayText()&quot;&gt;&lt;tt&gt;displayText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFrame(boolean arg__1)" doc="/**
&lt;p&gt;Sets whether the line edit draws itself with a frame to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If enabled (the default) the line edit draws itself inside a frame, otherwise the line edit draws itself without any frame.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#hasFrame()&quot;&gt;&lt;tt&gt;hasFrame&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setInputMask(java.lang.String inputMask)" doc="/**
&lt;p&gt;Sets The validation input mask to &lt;tt&gt;inputMask&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If no mask is set, &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; returns an empty string.&lt;/p&gt;
&lt;p&gt;Sets the &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;'s validation mask. Validators can be used instead of, or in conjunction with masks; see &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;&lt;tt&gt;setValidator&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Unset the mask and return to normal &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; operation by passing an empty string (&amp;quot;&amp;quot;) or just calling &lt;a href=&quot;QLineEdit.html#setInputMask(java.lang.String)&quot;&gt;&lt;tt&gt;setInputMask&lt;/tt&gt;&lt;/a&gt; with no arguments.&lt;/p&gt;
&lt;p&gt;The mask format understands these mask characters:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Character&lt;/th&gt;&lt;th&gt;Meaning&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;A&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII alphabetic character required. A-Z, a-z.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;a&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII alphabetic character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;N&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII alphanumeric character required. A-Z, a-z, 0-9.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;n&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII alphanumeric character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;X&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Any character required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Any character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;9&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit required. 0-9.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;0&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;D&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit required. 1-9.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;d&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit permitted but not required (1-9).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;#&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ASCII digit or plus/minus sign permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;H&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Hexadecimal character required. A-F, a-f, 0-9.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;h&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Hexadecimal character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;B&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Binary character required. 0-1.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;b&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Binary character permitted but not required.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;&amp;gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;All following alphabetic characters are uppercased.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;&amp;lt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;All following alphabetic characters are lowercased.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;!&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Switch off case conversion.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;\&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Use &lt;tt&gt;\&lt;/tt&gt; to escape the special characters listed above to use them as separators.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The mask consists of a string of mask characters and separators, optionally followed by a semicolon and the character used for blanks: the blank characters are always removed from the text after editing. The default blank character is space.&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Mask&lt;/th&gt;&lt;th&gt;Notes&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;000.000.000.000;_&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;IP address; blanks are &lt;tt&gt;_&lt;/tt&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;HH:HH:HH:HH:HH:HH;_&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;MAC address&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;tt&gt;0000-00-00&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;ISO Date; blanks are &lt;tt&gt;space&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;tt&gt;&amp;gt;AAAAA-AAAAA-AAAAA-AAAAA-AAAAA;#&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;License number; blanks are &lt;tt&gt;-&lt;/tt&gt; and all (alphabetic) characters are converted to uppercase.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;To get range control (e.g&amp;#x2e; for an IP address) use masks together with &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;validators&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#maxLength()&quot;&gt;&lt;tt&gt;maxLength&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMaxLength(int arg__1)" doc="/**
&lt;p&gt;Sets the maximum permitted length of the text to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the text is too long, it is truncated at the limit.&lt;/p&gt;
&lt;p&gt;If truncation occurs any selected text will be unselected, the cursor position is set to 0 and the first part of the string is shown.&lt;/p&gt;
&lt;p&gt;If the line edit has an input mask, the mask defines the maximum string length.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#maxLength()&quot;&gt;&lt;tt&gt;maxLength&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#inputMask()&quot;&gt;&lt;tt&gt;inputMask&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setModified(boolean arg__1)" doc="/**
&lt;p&gt;Sets whether the line edit's contents has been modified by the user to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The modified flag is never read by &lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;; it has a default value of false and is changed to true whenever the user changes the line edit's contents.&lt;/p&gt;
&lt;p&gt;This is useful for things that need to provide a default value but do not start out knowing what the default should be (perhaps it depends on other fields on the form). Start the line edit without the best default, and when the default is known, if modified() returns false (the user hasn't entered any text), insert the default value.&lt;/p&gt;
&lt;p&gt;Calling &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt; resets the modified flag to false.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#isModified()&quot;&gt;&lt;tt&gt;isModified&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setReadOnly(boolean arg__1)" doc="/**
&lt;p&gt;Sets whether the line edit is read only. to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;In read-only mode, the user can still copy the text to the clipboard, or drag and drop the text (if &lt;a href=&quot;QLineEdit.html#echoMode()&quot;&gt;&lt;tt&gt;echoMode&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QLineEdit.html#EchoMode-enum&quot;&gt;Normal&lt;/tt&gt;&lt;/a&gt;), but cannot edit it.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QLineEdit.html#QLineEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; does not show a cursor in read-only mode.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#isReadOnly()&quot;&gt;&lt;tt&gt;isReadOnly&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWidget.html#setEnabled(boolean)&quot;&gt;&lt;tt&gt;setEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSelection(int arg__1, int arg__2)" doc="/**
&lt;p&gt;Selects text from position &lt;tt&gt;arg__1&lt;/tt&gt; and for &lt;tt&gt;arg__2&lt;/tt&gt; characters. Negative lengths are allowed.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#deselect()&quot;&gt;&lt;tt&gt;deselect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#selectAll()&quot;&gt;&lt;tt&gt;selectAll&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#selectedText()&quot;&gt;&lt;tt&gt;selectedText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setText(java.lang.String arg__1)" doc="/**
&lt;p&gt;Sets the line edit's text to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Setting this property clears the selection, clears the undo/redo history, moves the cursor to the end of the line and resets the modified&lt;/tt&gt; property to false. The text is not validated when inserted with &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The text is truncated to &lt;a href=&quot;QLineEdit.html#maxLength()&quot;&gt;&lt;tt&gt;maxLength&lt;/tt&gt;&lt;/a&gt; length.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#insert(java.lang.String)&quot;&gt;&lt;tt&gt;insert&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setValidator(com.trolltech.qt.gui.QValidator arg__1)" doc="/**
&lt;p&gt;Sets this line edit to only accept input that the validator, &lt;tt&gt;arg__1&lt;/tt&gt;, will accept. This allows you to place any arbitrary constraints on the text which may be entered.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;arg__1&lt;/tt&gt; == 0, &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;&lt;tt&gt;setValidator&lt;/tt&gt;&lt;/a&gt; removes the current input validator. The initial setting is to have no input validator (i.e&amp;#x2e; any input is accepted up to &lt;a href=&quot;QLineEdit.html#maxLength()&quot;&gt;&lt;tt&gt;maxLength&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#validator()&quot;&gt;&lt;tt&gt;validator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QIntValidator.html&quot;&gt;&lt;tt&gt;QIntValidator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDoubleValidator.html&quot;&gt;&lt;tt&gt;QDoubleValidator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRegExpValidator.html&quot;&gt;&lt;tt&gt;QRegExpValidator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String text()" doc="/**
&lt;p&gt;Returns the line edit's text.&lt;/p&gt;
&lt;p&gt;Setting this property clears the selection, clears the undo/redo history, moves the cursor to the end of the line and resets the modified&lt;/tt&gt; property to false. The text is not validated when inserted with &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The text is truncated to &lt;a href=&quot;QLineEdit.html#maxLength()&quot;&gt;&lt;tt&gt;maxLength&lt;/tt&gt;&lt;/a&gt; length.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#insert(java.lang.String)&quot;&gt;&lt;tt&gt;insert&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void undo()" doc="/**
&lt;p&gt;Undoes the last operation if undo is available&lt;/tt&gt;. Deselects any current selection, and updates the selection start to the current cursor position.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QValidator validator()" doc="/**
&lt;p&gt;Returns a pointer to the current input validator, or 0 if no validator has been set.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setValidator(com.trolltech.qt.gui.QValidator)&quot;&gt;&lt;tt&gt;setValidator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent arg__1)" doc="/**
&lt;p&gt;Shows the standard context menu created with &lt;a href=&quot;QLineEdit.html#createStandardContextMenu()&quot;&gt;&lt;tt&gt;createStandardContextMenu&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you do not want the line edit to have a context menu, you can set its &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; to Qt::NoContextMenu. If you want to customize the context menu, reimplement this function. If you want to extend the standard context menu, reimplement this function, call &lt;a href=&quot;QLineEdit.html#createStandardContextMenu()&quot;&gt;&lt;tt&gt;createStandardContextMenu&lt;/tt&gt;&lt;/a&gt; and extend the menu returned.&lt;/p&gt;
&lt;pre&gt;    void LineEdit::contextMenuEvent(QContextMenuEvent *event)
    {
        QMenu *menu = createStandardContextMenu();
        menu-&amp;gt;addAction(tr(&amp;quot;My Menu Item&amp;quot;));
        &lt;span class=&quot;comment&quot;&gt;//...&lt;/span&gt;
        menu-&amp;gt;exec(event-&amp;gt;globalPos());
        delete menu;
    }&lt;/pre&gt;
&lt;p&gt;The &lt;tt&gt;arg__1&lt;/tt&gt; parameter is used to obtain the position where the mouse cursor was when the event was generated.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#setContextMenuPolicy(com.trolltech.qt.core.Qt.ContextMenuPolicy)&quot;&gt;&lt;tt&gt;setContextMenuPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void dragEnterEvent(com.trolltech.qt.gui.QDragEnterEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void dragLeaveEvent(com.trolltech.qt.gui.QDragLeaveEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void dragMoveEvent(com.trolltech.qt.gui.QDragMoveEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void dropEvent(com.trolltech.qt.gui.QDropEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusInEvent(com.trolltech.qt.gui.QFocusEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusOutEvent(com.trolltech.qt.gui.QFocusEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public java.lang.Object inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void keyPressEvent(com.trolltech.qt.gui.QKeyEvent arg__1)" doc="/**
&lt;p&gt;Converts the given key press &lt;tt&gt;arg__1&lt;/tt&gt; into a line edit action.&lt;/p&gt;
&lt;p&gt;If Return or Enter is pressed and the current text is valid (or can be made valid&lt;/tt&gt; by the validator), the signal &lt;a href=&quot;QLineEdit.html#returnPressed()&quot;&gt;&lt;tt&gt;returnPressed&lt;/tt&gt;&lt;/a&gt; is emitted.&lt;/p&gt;
&lt;p&gt;The default key bindings are listed in the class's detailed description.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize minimumSizeHint()" doc="/**
&lt;p&gt;Returns a minimum size for the line edit.&lt;/p&gt;
&lt;p&gt;The width returned is enough for at least one character.&lt;/p&gt;
 */"/>
    <method name="protected void mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;Returns a recommended size for the widget.&lt;/p&gt;
&lt;p&gt;The width returned, in pixels, is usually enough for about 15 to 20 characters.&lt;/p&gt;
 */"/>
    <enum name="EchoMode" doc="/**
&lt;p&gt;This enum type describes how a line edit should display its contents.&lt;/p&gt;

@see &lt;a href=&quot;QLineEdit.html#setEchoMode(com.trolltech.qt.gui.QLineEdit.EchoMode)&quot;&gt;&lt;tt&gt;setEchoMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineEdit.html#echoMode()&quot;&gt;&lt;tt&gt;echoMode&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Normal" doc="/**
&lt;p&gt;Display characters as they are entered. This is the default.&lt;/p&gt;
 */"/>
        <enum-value name="NoEcho" doc="/**
&lt;p&gt;Do not display anything. This may be appropriate for passwords where even the length of the password should be kept secret.&lt;/p&gt;
 */"/>
        <enum-value name="Password" doc="/**
&lt;p&gt;Display asterisks instead of the characters actually entered.&lt;/p&gt;
 */"/>
        <enum-value name="PasswordEchoOnEdit" doc="/**
&lt;p&gt;Display characters as they are entered while editing otherwise display asterisks.&lt;/p&gt;
 */"/>
</enum>
</class>