<class name="QTextEdit" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; class provides a widget that is used to edit and display both plain and rich text.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#introduction-and-concepts&quot;&gt;Introduction and Concepts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#using-qtextedit-as-a-display-widget&quot;&gt;Using QTextEdit as a Display Widget&lt;/a&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#read-only-key-bindings&quot;&gt;Read-only Key Bindings&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href=&quot;#using-qtextedit-as-an-editor&quot;&gt;Using QTextEdit as an Editor&lt;/a&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#drag-and-drop&quot;&gt;Drag and Drop&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#editing-key-bindings&quot;&gt;Editing Key Bindings&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;a name=&quot;introduction-and-concepts&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Introduction and Concepts&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; is an advanced WYSIWYG viewer/editor supporting rich text formatting using HTML-style tags. It is optimized to handle large documents and to respond quickly to user input.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; works on paragraphs and characters. A paragraph is a formatted string which is word-wrapped to fit into the width of the widget. By default when reading plain text, one newline signifies a paragraph. A document consists of zero or more paragraphs. The words in the paragraph are aligned in accordance with the paragraph's alignment. Paragraphs are separated by hard line breaks. Each character within a paragraph has its own attributes, for example, font and color.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; can display images, lists and tables. If the text is too large to view within the text edit's viewport, scroll bars will appear. The text edit can load both plain text and HTML files (a subset of HTML 3.2 and 4).&lt;/p&gt;
&lt;p&gt;If you just need to display a small piece of rich text use &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that we do not intend to add a full-featured web browser widget to Qt (because that would easily double Qt's size and only a few applications would benefit from it). The rich text support in Qt is designed to provide a fast, portable and efficient way to add reasonable online help facilities to applications, and to provide a basis for rich text editors.&lt;/p&gt;
&lt;p&gt;The shape of the mouse cursor on a &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; is Qt::IBeamCursor by default. It can be changed through the &lt;a href=&quot;QAbstractScrollArea.html#viewport()&quot;&gt;&lt;tt&gt;viewport&lt;/tt&gt;&lt;/a&gt;'s cursor property.&lt;/p&gt;
&lt;a name=&quot;using-qtextedit-as-a-display-widget&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Using QTextEdit as a Display Widget&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; can display a large HTML subset, including tables and images.&lt;/p&gt;
&lt;p&gt;The text is set or replaced using &lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt; which deletes any existing text and replaces it with the text passed in the &lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt; call. If you call &lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt; with legacy HTML, and then call &lt;a href=&quot;QTextEdit.html#toHtml()&quot;&gt;&lt;tt&gt;toHtml&lt;/tt&gt;&lt;/a&gt;, the text that is returned may have different markup, but will render the same. The entire text can be deleted with &lt;a href=&quot;QTextEdit.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Text itself can be inserted using the &lt;a href=&quot;QTextCursor.html&quot;&gt;&lt;tt&gt;QTextCursor&lt;/tt&gt;&lt;/a&gt; class or using the convenience functions &lt;a href=&quot;QTextEdit.html#insertHtml(java.lang.String)&quot;&gt;&lt;tt&gt;insertHtml&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextEdit.html#insertPlainText(java.lang.String)&quot;&gt;&lt;tt&gt;insertPlainText&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextEdit.html#append(java.lang.String)&quot;&gt;&lt;tt&gt;append&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QTextEdit.html#paste()&quot;&gt;&lt;tt&gt;paste&lt;/tt&gt;&lt;/a&gt;. &lt;a href=&quot;QTextCursor.html&quot;&gt;&lt;tt&gt;QTextCursor&lt;/tt&gt;&lt;/a&gt; is also able to insert complex objects like tables or lists into the document, and it deals with creating selections and applying changes to selected text.&lt;/p&gt;
&lt;p&gt;By default the text edit wraps words at whitespace to fit within the text edit widget. The &lt;a href=&quot;QTextEdit.html#setLineWrapMode(com.trolltech.qt.gui.QTextEdit.LineWrapMode)&quot;&gt;&lt;tt&gt;setLineWrapMode&lt;/tt&gt;&lt;/a&gt; function is used to specify the kind of line wrap you want, or &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;NoWrap&lt;/tt&gt;&lt;/a&gt; if you don't want any wrapping. Call &lt;a href=&quot;QTextEdit.html#setLineWrapMode(com.trolltech.qt.gui.QTextEdit.LineWrapMode)&quot;&gt;&lt;tt&gt;setLineWrapMode&lt;/tt&gt;&lt;/a&gt; to set a fixed pixel width &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedPixelWidth&lt;/tt&gt;&lt;/a&gt;, or character column (e.g&amp;#x2e; 80 column) &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedColumnWidth&lt;/tt&gt;&lt;/a&gt; with the pixels or columns specified with &lt;a href=&quot;QTextEdit.html#setLineWrapColumnOrWidth(int)&quot;&gt;&lt;tt&gt;setLineWrapColumnOrWidth&lt;/tt&gt;&lt;/a&gt;. If you use word wrap to the widget's width &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;WidgetWidth&lt;/tt&gt;&lt;/a&gt;, you can specify whether to break on whitespace or anywhere with &lt;a href=&quot;QTextEdit.html#setWordWrapMode(com.trolltech.qt.gui.QTextOption.WrapMode)&quot;&gt;&lt;tt&gt;setWordWrapMode&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QTextEdit.html#find(java.lang.String, com.trolltech.qt.gui.QTextDocument.FindFlags)&quot;&gt;&lt;tt&gt;find&lt;/tt&gt;&lt;/a&gt; function can be used to find and select a given string within the text.&lt;/p&gt;
&lt;p&gt;If you want to limit the total number of paragraphs in a &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt;, as it is for example open useful in a log viewer, then you can use &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt;'s maximumBlockCount property for that.&lt;/p&gt;
&lt;a name=&quot;read-only-key-bindings&quot;&gt;&lt;/a&gt;
&lt;h4&gt;Read-only Key Bindings&lt;/h4&gt;
&lt;p&gt;When &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; is used read-only the key bindings are limited to navigation, and text may only be selected with the mouse:&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;Keypresses&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;Qt::UpArrow&lt;/td&gt;&lt;td&gt;Moves one line up.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Qt::DownArrow&lt;/td&gt;&lt;td&gt;Moves one line down.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Qt::LeftArrow&lt;/td&gt;&lt;td&gt;Moves 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;Qt::RightArrow&lt;/td&gt;&lt;td&gt;Moves 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;PageUp&lt;/td&gt;&lt;td&gt;Moves one (viewport) page up.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;PageDown&lt;/td&gt;&lt;td&gt;Moves one (viewport) page down.&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 to the beginning of the text.&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 to the end of the text.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Alt+Wheel&lt;/td&gt;&lt;td&gt;Scrolls the page horizontally (the Wheel is the mouse wheel).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Ctrl+Wheel&lt;/td&gt;&lt;td&gt;Zooms the text.&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;Selects all text.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The text edit may be able to provide some meta-information. For example, the &lt;a href=&quot;QTextEdit.html#documentTitle()&quot;&gt;&lt;tt&gt;documentTitle&lt;/tt&gt;&lt;/a&gt; function will return the text from within HTML &lt;tt&gt;&amp;lt;title&amp;gt;&lt;/tt&gt; tags.&lt;/p&gt;
&lt;a name=&quot;using-qtextedit-as-an-editor&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Using QTextEdit as an Editor&lt;/h3&gt;
&lt;p&gt;All the information about using &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; as a display widget also applies here.&lt;/p&gt;
&lt;p&gt;The current char format's attributes are set with &lt;a href=&quot;QTextEdit.html#setFontItalic(boolean)&quot;&gt;&lt;tt&gt;setFontItalic&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextEdit.html#setFontWeight(int)&quot;&gt;&lt;tt&gt;setFontWeight&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextEdit.html#setFontUnderline(boolean)&quot;&gt;&lt;tt&gt;setFontUnderline&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextEdit.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextEdit.html#setFontPointSize(double)&quot;&gt;&lt;tt&gt;setFontPointSize&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextEdit.html#setTextColor(com.trolltech.qt.gui.QColor)&quot;&gt;&lt;tt&gt;setTextColor&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTextEdit.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt;. The current paragraph's alignment is set with &lt;a href=&quot;QTextEdit.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;Selection of text is handled by the &lt;a href=&quot;QTextCursor.html&quot;&gt;&lt;tt&gt;QTextCursor&lt;/tt&gt;&lt;/a&gt; class, which provides functionality for creating selections, retrieving the text contents or deleting selections. You can retrieve the object that corresponds with the user-visible cursor using the &lt;a href=&quot;QTextEdit.html#textCursor()&quot;&gt;&lt;tt&gt;textCursor&lt;/tt&gt;&lt;/a&gt; method. If you want to set a selection in &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; just create one on a &lt;a href=&quot;QTextCursor.html&quot;&gt;&lt;tt&gt;QTextCursor&lt;/tt&gt;&lt;/a&gt; object and then make that cursor the visible cursor using &lt;a href=&quot;QWidget.html#setCursor(com.trolltech.qt.gui.QCursor)&quot;&gt;&lt;tt&gt;setCursor&lt;/tt&gt;&lt;/a&gt;. The selection can be copied to the clipboard with &lt;a href=&quot;QTextEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt;, or cut to the clipboard with &lt;a href=&quot;QTextEdit.html#cut()&quot;&gt;&lt;tt&gt;cut&lt;/tt&gt;&lt;/a&gt;. The entire text can be selected using &lt;a href=&quot;QTextEdit.html#selectAll()&quot;&gt;&lt;tt&gt;selectAll&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When the cursor is moved and the underlying formatting attributes change, the &lt;a href=&quot;QTextEdit.html#currentCharFormatChanged(com.trolltech.qt.gui.QTextCharFormat)&quot;&gt;&lt;tt&gt;currentCharFormatChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted to reflect the new attributes at the new cursor position.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; holds a &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt; object which can be retrieved using the &lt;a href=&quot;QTextEdit.html#document()&quot;&gt;&lt;tt&gt;document&lt;/tt&gt;&lt;/a&gt; method. You can also set your own document object using &lt;a href=&quot;QTextEdit.html#setDocument(com.trolltech.qt.gui.QTextDocument)&quot;&gt;&lt;tt&gt;setDocument&lt;/tt&gt;&lt;/a&gt;. &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt; emits a &lt;a href=&quot;QTextEdit.html#textChanged()&quot;&gt;&lt;tt&gt;textChanged&lt;/tt&gt;&lt;/a&gt; signal if the text changes and it also provides a isModified() function which will return true if the text has been modified since it was either loaded or since the last call to setModified with false as argument. In addition it provides methods for undo and redo.&lt;/p&gt;
&lt;a name=&quot;drag-and-drop&quot;&gt;&lt;/a&gt;
&lt;h4&gt;Drag and Drop&lt;/h4&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; also supports custom drag and drop behavior. By default, &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; will insert plain text, HTML and rich text when the user drops data of these MIME types onto a document. Reimplement &lt;a href=&quot;QTextEdit.html#canInsertFromMimeData(com.trolltech.qt.gui.QMimeData)&quot;&gt;&lt;tt&gt;canInsertFromMimeData&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTextEdit.html#insertFromMimeData(com.trolltech.qt.gui.QMimeData)&quot;&gt;&lt;tt&gt;insertFromMimeData&lt;/tt&gt;&lt;/a&gt; to add support for additional MIME types.&lt;/p&gt;
&lt;p&gt;For example, to allow the user to drag and drop an image onto a &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt;, you could the implement these functions in the following way:&lt;/p&gt;
&lt;pre&gt;    bool TextEdit::canInsertFromMimeData( const QMimeData *source ) const
    {
        if (source-&amp;gt;hasImage())
            return true;
        else
            return QTextEdit::canInsertFromMimeData(source);
    }&lt;/pre&gt;
&lt;p&gt;We add support for image MIME types by returning true. For all other MIME types, we use the default implementation.&lt;/p&gt;
&lt;pre&gt;    void TextEdit::insertFromMimeData( const QMimeData *source )
    {
        if (source-&amp;gt;hasImage())
        {
            QImage image = qvariant_cast&amp;lt;QImage&amp;gt;(source-&amp;gt;imageData());
            QTextCursor cursor = this-&amp;gt;textCursor();
            QTextDocument *document = this-&amp;gt;document();
            document-&amp;gt;addResource(QTextDocument::ImageResource, QUrl(&amp;quot;image&amp;quot;), image);
            cursor.insertImage(&amp;quot;image&amp;quot;);
        }
    }&lt;/pre&gt;
&lt;p&gt;We unpack the image from the &lt;a href=&quot;%2E%2E/porting4.html#qvariant&quot;&gt;&lt;tt&gt;QVariant&lt;/tt&gt;&lt;/a&gt; held by the MIME source and insert it into the document as a resource.&lt;/p&gt;
&lt;a name=&quot;editing-key-bindings&quot;&gt;&lt;/a&gt;
&lt;h4&gt;Editing Key Bindings&lt;/h4&gt;
&lt;p&gt;The list of key bindings which are implemented for editing:&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;Keypresses&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;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;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;odd&quot;&gt;&lt;td&gt;Ctrl+C&lt;/td&gt;&lt;td&gt;Copy 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+Insert&lt;/td&gt;&lt;td&gt;Copy 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+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;even&quot;&gt;&lt;td&gt;Ctrl+V&lt;/td&gt;&lt;td&gt;Pastes the clipboard text into text edit.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Shift+Insert&lt;/td&gt;&lt;td&gt;Pastes the clipboard text into text edit.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&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;odd&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;even&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;odd&quot;&gt;&lt;td&gt;Ctrl+Y&lt;/td&gt;&lt;td&gt;Redoes the last operation.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;LeftArrow&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;odd&quot;&gt;&lt;td&gt;Ctrl+LeftArrow&lt;/td&gt;&lt;td&gt;Moves the cursor one word to the left.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;RightArrow&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;odd&quot;&gt;&lt;td&gt;Ctrl+RightArrow&lt;/td&gt;&lt;td&gt;Moves the cursor one word to the right.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;UpArrow&lt;/td&gt;&lt;td&gt;Moves the cursor one line up.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Ctrl+UpArrow&lt;/td&gt;&lt;td&gt;Moves the cursor one word up.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;DownArrow&lt;/td&gt;&lt;td&gt;Moves the cursor one line down.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Ctrl+Down Arrow&lt;/td&gt;&lt;td&gt;Moves the cursor one word down.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;PageUp&lt;/td&gt;&lt;td&gt;Moves the cursor one page up.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;PageDown&lt;/td&gt;&lt;td&gt;Moves the cursor one page down.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&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;odd&quot;&gt;&lt;td&gt;Ctrl+Home&lt;/td&gt;&lt;td&gt;Moves the cursor to the beginning of the text.&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;Ctrl+End&lt;/td&gt;&lt;td&gt;Moves the cursor to the end of the text.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Alt+Wheel&lt;/td&gt;&lt;td&gt;Scrolls the page horizontally (the Wheel is the mouse wheel).&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;To select (mark) text hold down the Shift key whilst pressing one of the movement keystrokes, for example, &lt;i&gt;Shift+Right Arrow&lt;/i&gt; will select the character to the right, and &lt;i&gt;Shift+Ctrl+Right Arrow&lt;/i&gt; will select the word to the right, etc.&lt;/p&gt;

@see &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCursor.html&quot;&gt;&lt;tt&gt;QTextCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/qtjambi-application.html&quot;&gt;Application Example&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/qtjambi-syntaxhighlighter.html&quot;&gt;Syntax Highlighter Example&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/richtext.html&quot;&gt;Rich Text Processing&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void copyAvailable(boolean b)" doc="/**
&lt;p&gt;This signal is emitted when text is selected or de-selected in the text edit.&lt;/p&gt;
&lt;p&gt;When text is selected this signal will be emitted with &lt;tt&gt;b&lt;/tt&gt; set to true. If no text has been selected or if the selected text is de-selected this signal is emitted with &lt;tt&gt;b&lt;/tt&gt; set to false.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;b&lt;/tt&gt; is true then &lt;a href=&quot;QTextEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt; can be used to copy the selection to the clipboard. If &lt;tt&gt;b&lt;/tt&gt; is false then &lt;a href=&quot;QTextEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt; does nothing.&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(boolean b)&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;QTextEdit.html#selectionChanged()&quot;&gt;&lt;tt&gt;selectionChanged&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentCharFormatChanged(com.trolltech.qt.gui.QTextCharFormat format)" doc="/**
&lt;p&gt;This signal is emitted if the current character format has changed, for example caused by a change of the cursor position.&lt;/p&gt;
&lt;p&gt;The new format is &lt;tt&gt;format&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.gui.QTextCharFormat format)&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;QTextEdit.html#setCurrentCharFormat(com.trolltech.qt.gui.QTextCharFormat)&quot;&gt;&lt;tt&gt;setCurrentCharFormat&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void cursorPositionChanged()" doc="/**
&lt;p&gt;This signal is emitted whenever the position of the cursor changed.&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 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#QAbstractScrollArea(com.trolltech.qt.gui.QWidget)&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 redoAvailable(boolean b)" doc="/**
&lt;p&gt;This signal is emitted whenever redo operations become available (&lt;tt&gt;b&lt;/tt&gt; is true) or unavailable (&lt;tt&gt;b&lt;/tt&gt; is false).&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(boolean b)&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 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;QTextEdit.html#copyAvailable(boolean)&quot;&gt;&lt;tt&gt;copyAvailable&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void textChanged()" doc="/**
&lt;p&gt;This signal is emitted whenever the document's content changes; for example, when text is inserted or deleted, or when formatting is applied.&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 undoAvailable(boolean b)" doc="/**
&lt;p&gt;This signal is emitted whenever undo operations become available (&lt;tt&gt;b&lt;/tt&gt; is true) or unavailable (&lt;tt&gt;b&lt;/tt&gt; is false).&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(boolean b)&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 QTextEdit(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs an empty &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; with parent &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QTextEdit()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public QTextEdit(java.lang.String text, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; with parent &lt;tt&gt;parent&lt;/tt&gt;. The text edit will display the text &lt;tt&gt;text&lt;/tt&gt;. The text is interpreted as html.&lt;/p&gt;
 */"/>
    <method name="public QTextEdit(java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;text&lt;/tt&gt;, 0). */"/>
    <method name="public final boolean acceptRichText()" doc="/**
&lt;p&gt;Returns whether the text edit accepts rich text insertions by the user.&lt;/p&gt;
&lt;p&gt;When this propery is set to false text edit will accept only plain text input from the user. For example through clipboard or drag and drop.&lt;/p&gt;
&lt;p&gt;This property's default is true.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setAcceptRichText(boolean)&quot;&gt;&lt;tt&gt;setAcceptRichText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Alignment alignment()" doc="/**
&lt;p&gt;Returns the alignment of the current paragraph.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setAlignment(com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;setAlignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String anchorAt(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;Returns the reference of the anchor at position &lt;tt&gt;pos&lt;/tt&gt;, or an empty string if no anchor exists at that point.&lt;/p&gt;
 */"/>
    <method name="public final void append(java.lang.String text)" doc="/**
&lt;p&gt;Appends a new paragraph with &lt;tt&gt;text&lt;/tt&gt; to the end of the text edit.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; The new paragraph appended will have the same character format and block format as the current paragraph, determined by the position of the cursor.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#currentCharFormat()&quot;&gt;&lt;tt&gt;currentCharFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QTextCursor::blockFormat&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextEdit.AutoFormatting autoFormatting()" doc="/**
&lt;p&gt;Returns the enabled set of auto formatting features.&lt;/p&gt;
&lt;p&gt;The value can be any combination of the values in the &lt;a href=&quot;QTextEdit.html#AutoFormattingFlag-enum&quot;&gt;&lt;tt&gt;AutoFormattingFlag&lt;/tt&gt;&lt;/a&gt; enum. The default is &lt;a href=&quot;QTextEdit.html#AutoFormattingFlag-enum&quot;&gt;&lt;tt&gt;AutoNone&lt;/tt&gt;&lt;/a&gt;. Choose &lt;a href=&quot;QTextEdit.html#AutoFormattingFlag-enum&quot;&gt;&lt;tt&gt;AutoAll&lt;/tt&gt;&lt;/a&gt; to enable all automatic formatting.&lt;/p&gt;
&lt;p&gt;Currently, the only automatic formatting feature provided is &lt;a href=&quot;QTextEdit.html#AutoFormattingFlag-enum&quot;&gt;&lt;tt&gt;AutoBulletList&lt;/tt&gt;&lt;/a&gt;; future versions of Qt may offer more.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setAutoFormatting(com.trolltech.qt.gui.QTextEdit.AutoFormatting)&quot;&gt;&lt;tt&gt;setAutoFormatting&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean canPaste()" doc="/**
&lt;p&gt;Returns whether text can be pasted from the clipboard into the textedit.&lt;/p&gt;
 */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Deletes all the text in the text edit.&lt;/p&gt;
&lt;p&gt;Note that the undo/redo history is cleared by this function.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#cut()&quot;&gt;&lt;tt&gt;cut&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setPlainText(java.lang.String)&quot;&gt;&lt;tt&gt;setPlainText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void copy()" doc="/**
&lt;p&gt;Copies any selected text to the clipboard.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#copyAvailable(boolean)&quot;&gt;&lt;tt&gt;copyAvailable&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;QTextEdit.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 com.trolltech.qt.gui.QTextCharFormat currentCharFormat()" doc="/**
&lt;p&gt;Returns the char format that is used when inserting new text.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setCurrentCharFormat(com.trolltech.qt.gui.QTextCharFormat)&quot;&gt;&lt;tt&gt;setCurrentCharFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFont currentFont()" doc="/**
&lt;p&gt;Returns the font of the current format.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontPointSize(double)&quot;&gt;&lt;tt&gt;setFontPointSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextCursor cursorForPosition(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;returns a &lt;a href=&quot;QTextCursor.html&quot;&gt;&lt;tt&gt;QTextCursor&lt;/tt&gt;&lt;/a&gt; at position &lt;tt&gt;pos&lt;/tt&gt; (in viewport coordinates).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRect cursorRect(com.trolltech.qt.gui.QTextCursor cursor)" doc="/**
&lt;p&gt;returns a rectangle (in viewport coordinates) that includes the &lt;tt&gt;cursor&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRect cursorRect()" doc="/**
&lt;p&gt;returns a rectangle (in viewport coordinates) that includes the cursor of the text edit.&lt;/p&gt;
 */"/>
    <method name="public final int cursorWidth()" doc="/**
&lt;p&gt;This property specifies the width of the cursor in pixels. The default value is 1.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setCursorWidth(int)&quot;&gt;&lt;tt&gt;setCursorWidth&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 from the text edit.&lt;/p&gt;
&lt;p&gt;If there is no selected text nothing happens.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#paste()&quot;&gt;&lt;tt&gt;paste&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextDocument document()" doc="/**
&lt;p&gt;Returns a pointer to the underlying document.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setDocument(com.trolltech.qt.gui.QTextDocument)&quot;&gt;&lt;tt&gt;setDocument&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String documentTitle()" doc="/**
&lt;p&gt;Returns the title of the document parsed from the text..&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setDocumentTitle(java.lang.String)&quot;&gt;&lt;tt&gt;setDocumentTitle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void ensureCursorVisible()" doc="/**
&lt;p&gt;Ensures that the cursor is visible by scrolling the text edit if necessary.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QTextEdit_ExtraSelection&gt; extraSelections()" doc="/**
&lt;p&gt;Returns previously set extra selections.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setExtraSelections(java.util.List&lt;com.trolltech.qt.gui.QTextEdit_ExtraSelection&gt;)&quot;&gt;&lt;tt&gt;setExtraSelections&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean find(java.lang.String exp, com.trolltech.qt.gui.QTextDocument.FindFlags options)" doc="/**
&lt;p&gt;Finds the next occurrence of the string, &lt;tt&gt;exp&lt;/tt&gt;, using the given &lt;tt&gt;options&lt;/tt&gt;. Returns true if &lt;tt&gt;exp&lt;/tt&gt; was found and changes the cursor to select the match; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean find(java.lang.String exp)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTextEdit.html#find(java.lang.String, com.trolltech.qt.gui.QTextDocument.FindFlags)&quot;&gt;find&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;exp&lt;/tt&gt;, 0). */"/>
    <method name="public final java.lang.String fontFamily()" doc="/**
&lt;p&gt;Returns the font family of the current format.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontPointSize(double)&quot;&gt;&lt;tt&gt;setFontPointSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fontItalic()" doc="/**
&lt;p&gt;Returns true if the font of the current format is italic; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setFontItalic(boolean)&quot;&gt;&lt;tt&gt;setFontItalic&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double fontPointSize()" doc="/**
&lt;p&gt;Returns the point size of the font of the current format.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontPointSize(double)&quot;&gt;&lt;tt&gt;setFontPointSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fontUnderline()" doc="/**
&lt;p&gt;Returns true if the font of the current format is underlined; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setFontUnderline(boolean)&quot;&gt;&lt;tt&gt;setFontUnderline&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int fontWeight()" doc="/**
&lt;p&gt;Returns the font weight of the current format.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setFontWeight(int)&quot;&gt;&lt;tt&gt;setFontWeight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontPointSize(double)&quot;&gt;&lt;tt&gt;setFontPointSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QFont::Weight&lt;/tt&gt; */"/>
    <method name="public final void insertHtml(java.lang.String text)" doc="/**
&lt;p&gt;Convenience slot that inserts &lt;tt&gt;text&lt;/tt&gt; which is assumed to be of html formatting at the current cursor position.&lt;/p&gt;
&lt;p&gt;It is equivalent to:&lt;/p&gt;
&lt;pre&gt;    edit-&amp;gt;textCursor().insertHtml(fragment);&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; When using this function with a style sheet, the style sheet will only apply to the current block in the document. In order to apply a style sheet throughout a document, use QTextDocument::setDefaultStyleSheet() instead.&lt;/p&gt;
 */"/>
    <method name="public final void insertPlainText(java.lang.String text)" doc="/**
&lt;p&gt;Convenience slot that inserts &lt;tt&gt;text&lt;/tt&gt; at the current cursor position.&lt;/p&gt;
&lt;p&gt;It is equivalent to&lt;/p&gt;
&lt;pre&gt;    edit-&amp;gt;textCursor().insertText(text);&lt;/pre&gt;
 */"/>
    <method name="public final boolean isReadOnly()" doc="/**
&lt;p&gt;Returns whether the text edit is read-only.&lt;/p&gt;
&lt;p&gt;In a read-only text edit the user can only navigate through the text and select text; modifying the text is not possible.&lt;/p&gt;
&lt;p&gt;This property's default is false.&lt;/p&gt;
 */"/>
    <method name="public final boolean isUndoRedoEnabled()" doc="/**
&lt;p&gt;Returns whether undo and redo are enabled.&lt;/p&gt;
&lt;p&gt;Users are only able to undo or redo actions if this property is true, and if there is an action that can be undone (or redone).&lt;/p&gt;
 */"/>
    <method name="public final int lineWrapColumnOrWidth()" doc="/**
&lt;p&gt;Returns the position (in pixels or columns depending on the wrap mode) where text will be wrapped.&lt;/p&gt;
&lt;p&gt;If the wrap mode is &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedPixelWidth&lt;/tt&gt;&lt;/a&gt;, the value is the number of pixels from the left edge of the text edit at which text should be wrapped. If the wrap mode is &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedColumnWidth&lt;/tt&gt;&lt;/a&gt;, the value is the column number (in character columns) from the left edge of the text edit at which text should be wrapped.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setLineWrapColumnOrWidth(int)&quot;&gt;&lt;tt&gt;setLineWrapColumnOrWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#lineWrapMode()&quot;&gt;&lt;tt&gt;lineWrapMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextEdit.LineWrapMode lineWrapMode()" doc="/**
&lt;p&gt;Returns the line wrap mode.&lt;/p&gt;
&lt;p&gt;The default mode is &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;WidgetWidth&lt;/tt&gt;&lt;/a&gt; which causes words to be wrapped at the right edge of the text edit. Wrapping occurs at whitespace, keeping whole words intact. If you want wrapping to occur within words use &lt;a href=&quot;QTextEdit.html#setWordWrapMode(com.trolltech.qt.gui.QTextOption.WrapMode)&quot;&gt;&lt;tt&gt;setWordWrapMode&lt;/tt&gt;&lt;/a&gt;. If you set a wrap mode of &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedPixelWidth&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedColumnWidth&lt;/tt&gt;&lt;/a&gt; you should also call &lt;a href=&quot;QTextEdit.html#setLineWrapColumnOrWidth(int)&quot;&gt;&lt;tt&gt;setLineWrapColumnOrWidth&lt;/tt&gt;&lt;/a&gt; with the width you want.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setLineWrapMode(com.trolltech.qt.gui.QTextEdit.LineWrapMode)&quot;&gt;&lt;tt&gt;setLineWrapMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#lineWrapColumnOrWidth()&quot;&gt;&lt;tt&gt;lineWrapColumnOrWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void mergeCurrentCharFormat(com.trolltech.qt.gui.QTextCharFormat modifier)" doc="/**
&lt;p&gt;Merges the properties specified in &lt;tt&gt;modifier&lt;/tt&gt; into the current character format by calling QTextCursor::mergeCharFormat on the editor's cursor. If the editor has a selection then the properties of &lt;tt&gt;modifier&lt;/tt&gt; are directly applied to the selection.&lt;/p&gt;

@see &lt;tt&gt;QTextCursor::mergeCharFormat&lt;/tt&gt; */"/>
    <method name="public final void moveCursor(com.trolltech.qt.gui.QTextCursor.MoveOperation operation, com.trolltech.qt.gui.QTextCursor.MoveMode mode)" doc="/**
&lt;p&gt;Moves the cursor by performing the given &lt;tt&gt;operation&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;mode&lt;/tt&gt; is QTextCursor::KeepAnchor, the cursor selects the text it moves over. This is the same effect that the user achieves when they hold down the Shift key and move the cursor with the cursor keys.&lt;/p&gt;

@see &lt;tt&gt;QTextCursor::movePosition&lt;/tt&gt; */"/>
    <method name="public final void moveCursor(com.trolltech.qt.gui.QTextCursor.MoveOperation operation)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTextEdit.html#moveCursor(com.trolltech.qt.gui.QTextCursor.MoveOperation, com.trolltech.qt.gui.QTextCursor.MoveMode)&quot;&gt;&lt;tt&gt;moveCursor&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;operation&lt;/tt&gt;, QTextCursor::MoveAnchor). */"/>
    <method name="public final boolean overwriteMode()"/>
    <method name="public final void paste()" doc="/**
&lt;p&gt;Pastes the text from the clipboard into the text edit at the current cursor position.&lt;/p&gt;
&lt;p&gt;If there is no text in the clipboard nothing happens.&lt;/p&gt;
&lt;p&gt;To change the behavior of this function, i.e&amp;#x2e; to modify what &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; can paste and how it is being pasted, reimplement the virtual &lt;a href=&quot;QTextEdit.html#canInsertFromMimeData(com.trolltech.qt.gui.QMimeData)&quot;&gt;&lt;tt&gt;canInsertFromMimeData&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTextEdit.html#insertFromMimeData(com.trolltech.qt.gui.QMimeData)&quot;&gt;&lt;tt&gt;insertFromMimeData&lt;/tt&gt;&lt;/a&gt; functions.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#cut()&quot;&gt;&lt;tt&gt;cut&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void print(com.trolltech.qt.gui.QPrinter printer)" doc="/**
&lt;p&gt;Convenience function to print the text edit's document to the given &lt;tt&gt;printer&lt;/tt&gt;. This is equivalent to calling the print method on the document directly except that this function also supports QPrinter::Selection as print range.&lt;/p&gt;

@see &lt;tt&gt;QTextDocument::print&lt;/tt&gt; */"/>
    <method name="public final void redo()" doc="/**
&lt;p&gt;Redoes the last operation.&lt;/p&gt;
&lt;p&gt;If there is no operation to redo, i.e&amp;#x2e; there is no redo step in the undo/redo history, nothing happens.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#undo()&quot;&gt;&lt;tt&gt;undo&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void scrollToAnchor(java.lang.String name)" doc="/**
&lt;p&gt;Scrolls the text edit so that the anchor with the given &lt;tt&gt;name&lt;/tt&gt; is visible; does nothing if the &lt;tt&gt;name&lt;/tt&gt; is empty, or is already visible, or isn't found.&lt;/p&gt;
 */"/>
    <method name="public final void selectAll()" doc="/**
&lt;p&gt;Selects all text.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#copy()&quot;&gt;&lt;tt&gt;copy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#cut()&quot;&gt;&lt;tt&gt;cut&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#textCursor()&quot;&gt;&lt;tt&gt;textCursor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAcceptRichText(boolean accept)" doc="/**
&lt;p&gt;Sets whether the text edit accepts rich text insertions by the user to &lt;tt&gt;accept&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When this propery is set to false text edit will accept only plain text input from the user. For example through clipboard or drag and drop.&lt;/p&gt;
&lt;p&gt;This property's default is true.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#acceptRichText()&quot;&gt;&lt;tt&gt;acceptRichText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAlignment(com.trolltech.qt.core.Qt.Alignment a)" doc="/**
&lt;p&gt;Sets the alignment of the current paragraph to &lt;tt&gt;a&lt;/tt&gt;. Valid alignments are Qt::AlignLeft, Qt::AlignRight, Qt::AlignJustify and Qt::AlignCenter (which centers horizontally).&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#alignment()&quot;&gt;&lt;tt&gt;alignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAutoFormatting(com.trolltech.qt.gui.QTextEdit.AutoFormatting features)" doc="/**
&lt;p&gt;Sets the enabled set of auto formatting features to &lt;tt&gt;features&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The value can be any combination of the values in the &lt;a href=&quot;QTextEdit.html#AutoFormattingFlag-enum&quot;&gt;&lt;tt&gt;AutoFormattingFlag&lt;/tt&gt;&lt;/a&gt; enum. The default is &lt;a href=&quot;QTextEdit.html#AutoFormattingFlag-enum&quot;&gt;&lt;tt&gt;AutoNone&lt;/tt&gt;&lt;/a&gt;. Choose &lt;a href=&quot;QTextEdit.html#AutoFormattingFlag-enum&quot;&gt;&lt;tt&gt;AutoAll&lt;/tt&gt;&lt;/a&gt; to enable all automatic formatting.&lt;/p&gt;
&lt;p&gt;Currently, the only automatic formatting feature provided is &lt;a href=&quot;QTextEdit.html#AutoFormattingFlag-enum&quot;&gt;&lt;tt&gt;AutoBulletList&lt;/tt&gt;&lt;/a&gt;; future versions of Qt may offer more.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#autoFormatting()&quot;&gt;&lt;tt&gt;autoFormatting&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentCharFormat(com.trolltech.qt.gui.QTextCharFormat format)" doc="/**
&lt;p&gt;Sets the char format that is be used when inserting new text to &lt;tt&gt;format&lt;/tt&gt; by calling QTextCursor::setCharFormat() on the editor's cursor. If the editor has a selection then the char format is directly applied to the selection.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#currentCharFormat()&quot;&gt;&lt;tt&gt;currentCharFormat&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentFont(com.trolltech.qt.gui.QFont f)" doc="/**
&lt;p&gt;Sets the font of the current format to &lt;tt&gt;f&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#currentFont()&quot;&gt;&lt;tt&gt;currentFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontPointSize(double)&quot;&gt;&lt;tt&gt;setFontPointSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCursorWidth(int width)" doc="/**
&lt;p&gt;This property specifies the width of the cursor in pixels. The default value is 1.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#cursorWidth()&quot;&gt;&lt;tt&gt;cursorWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDocument(com.trolltech.qt.gui.QTextDocument document)" doc="/**
&lt;p&gt;Makes &lt;tt&gt;document&lt;/tt&gt; the new document of the text editor.&lt;/p&gt;
&lt;p&gt;The parent &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QObject&lt;/tt&gt;&lt;/a&gt; of the provided document remains the owner of the object. If the current document is a child of the text editor, then it is deleted.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#document()&quot;&gt;&lt;tt&gt;document&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDocumentTitle(java.lang.String title)" doc="/**
&lt;p&gt;Sets the title of the document parsed from the text. to &lt;tt&gt;title&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#documentTitle()&quot;&gt;&lt;tt&gt;documentTitle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setExtraSelections(java.util.List&lt;com.trolltech.qt.gui.QTextEdit_ExtraSelection&gt; selections)" doc="/**
&lt;p&gt;This function allows temporarily marking certain regions in the document with a given color, specified as &lt;tt&gt;selections&lt;/tt&gt;. This can be useful for example in a programming editor to mark a whole line of text with a given background color to indicate the existence of a breakpoint.&lt;/p&gt;

@see &lt;tt&gt;QTextEdit::ExtraSelection&lt;/tt&gt;
@see &lt;a href=&quot;QTextEdit.html#extraSelections()&quot;&gt;&lt;tt&gt;extraSelections&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontFamily(java.lang.String fontFamily)" doc="/**
&lt;p&gt;Sets the font family of the current format to &lt;tt&gt;fontFamily&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#fontFamily()&quot;&gt;&lt;tt&gt;fontFamily&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontItalic(boolean b)" doc="/**
&lt;p&gt;If &lt;tt&gt;b&lt;/tt&gt; is true, sets the current format to italic; otherwise sets the current format to non-italic.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#fontItalic()&quot;&gt;&lt;tt&gt;fontItalic&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontPointSize(double s)" doc="/**
&lt;p&gt;Sets the point size of the current format to &lt;tt&gt;s&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that if &lt;tt&gt;s&lt;/tt&gt; is zero or negative, the behavior of this function is not defined.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#fontPointSize()&quot;&gt;&lt;tt&gt;fontPointSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontUnderline(boolean b)" doc="/**
&lt;p&gt;If &lt;tt&gt;b&lt;/tt&gt; is true, sets the current format to underline; otherwise sets the current format to non-underline.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#fontUnderline()&quot;&gt;&lt;tt&gt;fontUnderline&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontWeight(int w)" doc="/**
&lt;p&gt;Sets the font weight of the current format to the given &lt;tt&gt;w&lt;/tt&gt;, where the value used is in the range defined by the QFont::Weight enum.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#fontWeight()&quot;&gt;&lt;tt&gt;fontWeight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHtml(java.lang.String text)" doc="/**
&lt;p&gt;This property provides an HTML interface to the text of the text edit.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#toHtml()&quot;&gt;&lt;tt&gt;toHtml&lt;/tt&gt;&lt;/a&gt; returns the text of the text edit as html.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt; changes the text of the text edit. Any previous text is removed and the undo/redo history is cleared. The input text is interpreted as rich text in html format.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; It is the responsibility of the caller to make sure that the text is correctly decoded when a &lt;a href=&quot;%2E%2E/porting4.html#qstring&quot;&gt;&lt;tt&gt;QString&lt;/tt&gt;&lt;/a&gt; containing HTML is created and passed to &lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/richtext-html-subset.html&quot;&gt;Supported HTML Subset&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;plainText&lt;/tt&gt; */"/>
    <method name="public final void setLineWrapColumnOrWidth(int w)" doc="/**
&lt;p&gt;Sets the position (in pixels or columns depending on the wrap mode) where text will be wrapped to &lt;tt&gt;w&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the wrap mode is &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedPixelWidth&lt;/tt&gt;&lt;/a&gt;, the value is the number of pixels from the left edge of the text edit at which text should be wrapped. If the wrap mode is &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedColumnWidth&lt;/tt&gt;&lt;/a&gt;, the value is the column number (in character columns) from the left edge of the text edit at which text should be wrapped.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#lineWrapColumnOrWidth()&quot;&gt;&lt;tt&gt;lineWrapColumnOrWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#lineWrapMode()&quot;&gt;&lt;tt&gt;lineWrapMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setLineWrapMode(com.trolltech.qt.gui.QTextEdit.LineWrapMode mode)" doc="/**
&lt;p&gt;Sets the line wrap mode to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default mode is &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;WidgetWidth&lt;/tt&gt;&lt;/a&gt; which causes words to be wrapped at the right edge of the text edit. Wrapping occurs at whitespace, keeping whole words intact. If you want wrapping to occur within words use &lt;a href=&quot;QTextEdit.html#setWordWrapMode(com.trolltech.qt.gui.QTextOption.WrapMode)&quot;&gt;&lt;tt&gt;setWordWrapMode&lt;/tt&gt;&lt;/a&gt;. If you set a wrap mode of &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedPixelWidth&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QTextEdit.html#LineWrapMode-enum&quot;&gt;&lt;tt&gt;FixedColumnWidth&lt;/tt&gt;&lt;/a&gt; you should also call &lt;a href=&quot;QTextEdit.html#setLineWrapColumnOrWidth(int)&quot;&gt;&lt;tt&gt;setLineWrapColumnOrWidth&lt;/tt&gt;&lt;/a&gt; with the width you want.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#lineWrapMode()&quot;&gt;&lt;tt&gt;lineWrapMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextEdit.html#lineWrapColumnOrWidth()&quot;&gt;&lt;tt&gt;lineWrapColumnOrWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOverwriteMode(boolean overwrite)"/>
    <method name="public final void setPlainText(java.lang.String text)" doc="/**
&lt;p&gt;This property gets and sets the text edit's contents as plain text. Previous contents are removed and undo/redo history is reset when the property is set. If the text edit has another content type, it will not be replaced by plain text when you call &lt;a href=&quot;QTextEdit.html#toPlainText()&quot;&gt;&lt;tt&gt;toPlainText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see html&lt;/tt&gt; */"/>
    <method name="public final void setReadOnly(boolean ro)" doc="/**
&lt;p&gt;Sets whether the text edit is read-only to &lt;tt&gt;ro&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;In a read-only text edit the user can only navigate through the text and select text; modifying the text is not possible.&lt;/p&gt;
&lt;p&gt;This property's default is false.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#isReadOnly()&quot;&gt;&lt;tt&gt;isReadOnly&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabChangesFocus(boolean b)" doc="/**
&lt;p&gt;Sets whether &lt;b&gt;Tab&lt;/b&gt; changes focus or is accepted as input to &lt;tt&gt;b&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;In some occasions text edits should not allow the user to input tabulators or change indentation using the &lt;b&gt;Tab&lt;/b&gt; key, as this breaks the focus chain. The default is false.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#tabChangesFocus()&quot;&gt;&lt;tt&gt;tabChangesFocus&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabStopWidth(int width)" doc="/**
&lt;p&gt;Sets the tab stop width in pixels to &lt;tt&gt;width&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#tabStopWidth()&quot;&gt;&lt;tt&gt;tabStopWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setText(java.lang.String text)" doc="/**
&lt;p&gt;Sets the text edit's &lt;tt&gt;text&lt;/tt&gt;. The text can be plain text or HTML and the text edit will try to guess the right format.&lt;/p&gt;
&lt;p&gt;Use &lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QTextEdit.html#setPlainText(java.lang.String)&quot;&gt;&lt;tt&gt;setPlainText&lt;/tt&gt;&lt;/a&gt; directly to avoid text edit's guessing.&lt;/p&gt;
 */"/>
    <method name="public final void setTextColor(com.trolltech.qt.gui.QColor c)" doc="/**
&lt;p&gt;Sets the text color of the current format to &lt;tt&gt;c&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#textColor()&quot;&gt;&lt;tt&gt;textColor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTextCursor(com.trolltech.qt.gui.QTextCursor cursor)" doc="/**
&lt;p&gt;Sets the visible &lt;tt&gt;cursor&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#textCursor()&quot;&gt;&lt;tt&gt;textCursor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTextInteractionFlags(com.trolltech.qt.core.Qt.TextInteractionFlags flags)" doc="/**
&lt;p&gt;Specifies how the label should interact with user input if it displays text.&lt;/p&gt;
&lt;p&gt;If the flags contain either Qt::LinksAccessibleByKeyboard or Qt::TextSelectableByKeyboard then the focus policy is also automatically set to Qt::ClickFocus.&lt;/p&gt;
&lt;p&gt;The default value depends on whether the &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; is read-only or editable, and whether it is a &lt;a href=&quot;QTextBrowser.html&quot;&gt;&lt;tt&gt;QTextBrowser&lt;/tt&gt;&lt;/a&gt; or not.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#textInteractionFlags()&quot;&gt;&lt;tt&gt;textInteractionFlags&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setUndoRedoEnabled(boolean enable)" doc="/**
&lt;p&gt;Sets whether undo and redo are enabled to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Users are only able to undo or redo actions if this property is true, and if there is an action that can be undone (or redone).&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#isUndoRedoEnabled()&quot;&gt;&lt;tt&gt;isUndoRedoEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWordWrapMode(com.trolltech.qt.gui.QTextOption.WrapMode policy)" doc="/**
&lt;p&gt;Sets the mode &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; will use when wrapping text by words to &lt;tt&gt;policy&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#wordWrapMode()&quot;&gt;&lt;tt&gt;wordWrapMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QTextOption::WrapMode&lt;/tt&gt; */"/>
    <method name="public final boolean tabChangesFocus()" doc="/**
&lt;p&gt;Returns whether &lt;b&gt;Tab&lt;/b&gt; changes focus or is accepted as input.&lt;/p&gt;
&lt;p&gt;In some occasions text edits should not allow the user to input tabulators or change indentation using the &lt;b&gt;Tab&lt;/b&gt; key, as this breaks the focus chain. The default is false.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setTabChangesFocus(boolean)&quot;&gt;&lt;tt&gt;setTabChangesFocus&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int tabStopWidth()" doc="/**
&lt;p&gt;Returns the tab stop width in pixels.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setTabStopWidth(int)&quot;&gt;&lt;tt&gt;setTabStopWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QColor textColor()" doc="/**
&lt;p&gt;Returns the text color of the current format.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setTextColor(com.trolltech.qt.gui.QColor)&quot;&gt;&lt;tt&gt;setTextColor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextCursor textCursor()" doc="/**
&lt;p&gt;Returns a copy of the &lt;a href=&quot;QTextCursor.html&quot;&gt;&lt;tt&gt;QTextCursor&lt;/tt&gt;&lt;/a&gt; that represents the currently visible cursor. Note that changes on the returned cursor do not affect &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt;'s cursor; use &lt;a href=&quot;QTextEdit.html#setTextCursor(com.trolltech.qt.gui.QTextCursor)&quot;&gt;&lt;tt&gt;setTextCursor&lt;/tt&gt;&lt;/a&gt; to update the visible cursor.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setTextCursor(com.trolltech.qt.gui.QTextCursor)&quot;&gt;&lt;tt&gt;setTextCursor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.TextInteractionFlags textInteractionFlags()" doc="/**
&lt;p&gt;Specifies how the label should interact with user input if it displays text.&lt;/p&gt;
&lt;p&gt;If the flags contain either Qt::LinksAccessibleByKeyboard or Qt::TextSelectableByKeyboard then the focus policy is also automatically set to Qt::ClickFocus.&lt;/p&gt;
&lt;p&gt;The default value depends on whether the &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; is read-only or editable, and whether it is a &lt;a href=&quot;QTextBrowser.html&quot;&gt;&lt;tt&gt;QTextBrowser&lt;/tt&gt;&lt;/a&gt; or not.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setTextInteractionFlags(com.trolltech.qt.core.Qt.TextInteractionFlags)&quot;&gt;&lt;tt&gt;setTextInteractionFlags&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String toHtml()" doc="/**
&lt;p&gt;This property provides an HTML interface to the text of the text edit.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#toHtml()&quot;&gt;&lt;tt&gt;toHtml&lt;/tt&gt;&lt;/a&gt; returns the text of the text edit as html.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt; changes the text of the text edit. Any previous text is removed and the undo/redo history is cleared. The input text is interpreted as rich text in html format.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; It is the responsibility of the caller to make sure that the text is correctly decoded when a &lt;a href=&quot;%2E%2E/porting4.html#qstring&quot;&gt;&lt;tt&gt;QString&lt;/tt&gt;&lt;/a&gt; containing HTML is created and passed to &lt;a href=&quot;QTextEdit.html#setHtml(java.lang.String)&quot;&gt;&lt;tt&gt;setHtml&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/richtext-html-subset.html&quot;&gt;Supported HTML Subset&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;plainText&lt;/tt&gt; */"/>
    <method name="public final java.lang.String toPlainText()" doc="/**
&lt;p&gt;This property gets and sets the text edit's contents as plain text. Previous contents are removed and undo/redo history is reset when the property is set. If the text edit has another content type, it will not be replaced by plain text when you call &lt;a href=&quot;QTextEdit.html#toPlainText()&quot;&gt;&lt;tt&gt;toPlainText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see html&lt;/tt&gt; */"/>
    <method name="public final void undo()" doc="/**
&lt;p&gt;Undoes the last operation.&lt;/p&gt;
&lt;p&gt;If there is no operation to undo, i.e&amp;#x2e; there is no undo step in the undo/redo history, nothing happens.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#redo()&quot;&gt;&lt;tt&gt;redo&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextOption.WrapMode wordWrapMode()" doc="/**
&lt;p&gt;Returns the mode &lt;a href=&quot;QTextEdit.html#QTextEdit(java.lang.String, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTextEdit&lt;/tt&gt;&lt;/a&gt; will use when wrapping text by words.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#setWordWrapMode(com.trolltech.qt.gui.QTextOption.WrapMode)&quot;&gt;&lt;tt&gt;setWordWrapMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QTextOption::WrapMode&lt;/tt&gt; */"/>
    <method name="public final void zoomIn(int range)" doc="/**
&lt;p&gt;Zooms in on the text by making the base font size &lt;tt&gt;range&lt;/tt&gt; points larger and recalculating all font sizes to be the new size. This does not change the size of any images.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#zoomOut(int)&quot;&gt;&lt;tt&gt;zoomOut&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void zoomIn()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTextEdit.html#zoomIn(int)&quot;&gt;&lt;tt&gt;zoomIn&lt;/tt&gt;&lt;/a&gt;(1). */"/>
    <method name="public final void zoomOut(int range)" doc="/**
&lt;p&gt;Zooms out on the text by making the base font size &lt;tt&gt;range&lt;/tt&gt; points smaller and recalculating all font sizes to be the new size. This does not change the size of any images.&lt;/p&gt;

@see &lt;a href=&quot;QTextEdit.html#zoomIn(int)&quot;&gt;&lt;tt&gt;zoomIn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void zoomOut()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTextEdit.html#zoomOut(int)&quot;&gt;&lt;tt&gt;zoomOut&lt;/tt&gt;&lt;/a&gt;(1). */"/>
    <method name="protected boolean canInsertFromMimeData(com.trolltech.qt.gui.QMimeData source)" doc="/**
&lt;p&gt;This function returns true if the contents of the MIME data object, specified by &lt;tt&gt;source&lt;/tt&gt;, can be decoded and inserted into the document. It is called for example when during a drag operation the mouse enters this widget and it is necessary to determine whether it is possible to accept the drag and drop operation.&lt;/p&gt;
&lt;p&gt;Reimplement this function to enable drag and drop support for additional MIME types.&lt;/p&gt;
 */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void contextMenuEvent(com.trolltech.qt.gui.QContextMenuEvent e)" doc="/**
&lt;p&gt;Shows the standard context menu created with &lt;a href=&quot;QTextEdit.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 text 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;QTextEdit.html#createStandardContextMenu()&quot;&gt;&lt;tt&gt;createStandardContextMenu&lt;/tt&gt;&lt;/a&gt; and extend the menu returned.&lt;/p&gt;
&lt;p&gt;Information about the event is passed in the &lt;tt&gt;e&lt;/tt&gt; object.&lt;/p&gt;
&lt;pre&gt;    void MyTextEdit::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;
 */"/>
    <method name="protected com.trolltech.qt.gui.QMimeData createMimeDataFromSelection()" doc="/**
&lt;p&gt;This function returns a new MIME data object to represent the contents of the text edit's current selection. It is called when the selection needs to be encapsulated into a new &lt;a href=&quot;QMimeData.html&quot;&gt;&lt;tt&gt;QMimeData&lt;/tt&gt;&lt;/a&gt; object; for example, when a drag and drop operation is started, or when data is copyied to the clipboard.&lt;/p&gt;
&lt;p&gt;If you reimplement this function, note that the ownership of the returned &lt;a href=&quot;QMimeData.html&quot;&gt;&lt;tt&gt;QMimeData&lt;/tt&gt;&lt;/a&gt; object is passed to the caller. The selection can be retrieved by using the &lt;a href=&quot;QTextEdit.html#textCursor()&quot;&gt;&lt;tt&gt;textCursor&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
 */"/>
    <method name="protected void dragEnterEvent(com.trolltech.qt.gui.QDragEnterEvent e)" 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 e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusInEvent(com.trolltech.qt.gui.QFocusEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected boolean focusNextPrevChild(boolean next)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusOutEvent(com.trolltech.qt.gui.QFocusEvent e)" 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 property)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void insertFromMimeData(com.trolltech.qt.gui.QMimeData source)" doc="/**
&lt;p&gt;This function inserts the contents of the MIME data object, specified by &lt;tt&gt;source&lt;/tt&gt;, into the text edit at the current cursor position. It is called whenever text is inserted as the result of a clipboard paste operation, or when the text edit accepts data from a drag and drop operation.&lt;/p&gt;
&lt;p&gt;Reimplement this function to enable drag and drop support for additional MIME types.&lt;/p&gt;
 */"/>
    <method name="protected void keyPressEvent(com.trolltech.qt.gui.QKeyEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public java.lang.Object loadResource(int type, com.trolltech.qt.core.QUrl name)" doc="/**
&lt;p&gt;Loads the resource specified by the given &lt;tt&gt;type&lt;/tt&gt; and &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function is an extension of QTextDocument::loadResource().&lt;/p&gt;

@see &lt;tt&gt;QTextDocument::loadResource&lt;/tt&gt; */"/>
    <method name="protected void mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void resizeEvent(com.trolltech.qt.gui.QResizeEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void scrollContentsBy(int dx, int dy)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void showEvent(com.trolltech.qt.gui.QShowEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void timerEvent(com.trolltech.qt.core.QTimerEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void wheelEvent(com.trolltech.qt.gui.QWheelEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <enum name="AutoFormattingFlag">
        <enum-value name="AutoNone" doc="/**
&lt;p&gt;Don't do any automatic formatting.&lt;/p&gt;
 */"/>
        <enum-value name="AutoBulletList" doc="/**
&lt;p&gt;Automatically create bullet lists (e.g&amp;#x2e; when the user enters an asterisk ('*') in the left most column, or presses Enter in an existing list item.&lt;/p&gt;
 */"/>
        <enum-value name="AutoAll" doc="/**
&lt;p&gt;Apply all automatic formatting. Currently only automatic bullet lists are supported.&lt;/p&gt;
 */"/>
</enum>
    <enum name="LineWrapMode">
        <enum-value name="NoWrap" doc="/**
Internal. */"/>
        <enum-value name="WidgetWidth" doc="/**
Internal. */"/>
        <enum-value name="FixedPixelWidth" doc="/**
Internal. */"/>
        <enum-value name="FixedColumnWidth" doc="/**
Internal. */"/>
</enum>
</class>
