Home · All Classes · Modules

QTextEdit Class Reference
[QtGui module]

Inherits QAbstractScrollArea.

Inherited by QTextBrowser.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QTextEdit.AutoFormattingFlag

QTextEdit.LineWrapMode


Method Documentation

QTextEdit.__init__ (self, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QTextEdit.__init__ (self, QString, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QTextEdit.acceptRichText (self)

Qt.Alignment QTextEdit.alignment (self)

QString QTextEdit.anchorAt (self, QPoint)

QTextEdit.append (self, QString)

AutoFormatting QTextEdit.autoFormatting (self)

bool QTextEdit.canInsertFromMimeData (self, QMimeData)

bool QTextEdit.canPaste (self)

QTextEdit.changeEvent (self, QEvent)

QTextEdit.clear (self)

This method is also a Qt slot with the C++ signature void clear().

QTextEdit.contextMenuEvent (self, QContextMenuEvent)

QTextEdit.copy (self)

This method is also a Qt slot with the C++ signature void copy().

QMimeData QTextEdit.createMimeDataFromSelection (self)

QMenu QTextEdit.createStandardContextMenu (self)

QMenu QTextEdit.createStandardContextMenu (self, QPoint)

QTextCharFormat QTextEdit.currentCharFormat (self)

QFont QTextEdit.currentFont (self)

QTextCursor QTextEdit.cursorForPosition (self, QPoint)

QRect QTextEdit.cursorRect (self, QTextCursor)

QRect QTextEdit.cursorRect (self)

int QTextEdit.cursorWidth (self)

QTextEdit.cut (self)

This method is also a Qt slot with the C++ signature void cut().

QTextDocument QTextEdit.document (self)

QString QTextEdit.documentTitle (self)

QTextEdit.dragEnterEvent (self, QDragEnterEvent)

QTextEdit.dragLeaveEvent (self, QDragLeaveEvent)

QTextEdit.dragMoveEvent (self, QDragMoveEvent)

QTextEdit.dropEvent (self, QDropEvent)

QTextEdit.ensureCursorVisible (self)

bool QTextEdit.event (self, QEvent)

list-of-QTextEdit.ExtraSelection QTextEdit.extraSelections (self)

bool QTextEdit.find (self, QString, QTextDocument.FindFlags options = 0)

QTextEdit.focusInEvent (self, QFocusEvent)

bool QTextEdit.focusNextPrevChild (self, bool)

QTextEdit.focusOutEvent (self, QFocusEvent)

QString QTextEdit.fontFamily (self)

bool QTextEdit.fontItalic (self)

float QTextEdit.fontPointSize (self)

bool QTextEdit.fontUnderline (self)

int QTextEdit.fontWeight (self)

QTextEdit.inputMethodEvent (self, QInputMethodEvent)

QVariant QTextEdit.inputMethodQuery (self, Qt.InputMethodQuery)

QTextEdit.insertFromMimeData (self, QMimeData)

QTextEdit.insertHtml (self, QString)

This method is also a Qt slot with the C++ signature void insertHtml(const QString&).

QTextEdit.insertPlainText (self, QString)

This method is also a Qt slot with the C++ signature void insertPlainText(const QString&).

bool QTextEdit.isReadOnly (self)

bool QTextEdit.isUndoRedoEnabled (self)

QTextEdit.keyPressEvent (self, QKeyEvent)

QTextEdit.keyReleaseEvent (self, QKeyEvent)

int QTextEdit.lineWrapColumnOrWidth (self)

LineWrapMode QTextEdit.lineWrapMode (self)

QVariant QTextEdit.loadResource (self, int, QUrl)

QTextEdit.mergeCurrentCharFormat (self, QTextCharFormat)

QTextEdit.mouseDoubleClickEvent (self, QMouseEvent)

QTextEdit.mouseMoveEvent (self, QMouseEvent)

QTextEdit.mousePressEvent (self, QMouseEvent)

QTextEdit.mouseReleaseEvent (self, QMouseEvent)

QTextEdit.moveCursor (self, QTextCursor.MoveOperation, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor)

bool QTextEdit.overwriteMode (self)

QTextEdit.paintEvent (self, QPaintEvent)

QTextEdit.paste (self)

This method is also a Qt slot with the C++ signature void paste().

QTextEdit.print (self, QPrinter printer)

QTextEdit.print_ (self, QPrinter)

QTextEdit.redo (self)

This method is also a Qt slot with the C++ signature void redo().

QTextEdit.resizeEvent (self, QResizeEvent)

QTextEdit.scrollContentsBy (self, int, int)

QTextEdit.scrollToAnchor (self, QString)

This method is also a Qt slot with the C++ signature void scrollToAnchor(const QString&).

QTextEdit.selectAll (self)

This method is also a Qt slot with the C++ signature void selectAll().

QTextEdit.setAcceptRichText (self, bool)

QTextEdit.setAlignment (self, Qt.Alignment)

This method is also a Qt slot with the C++ signature void setAlignment(Qt::Alignment).

QTextEdit.setAutoFormatting (self, AutoFormatting)

QTextEdit.setCurrentCharFormat (self, QTextCharFormat)

QTextEdit.setCurrentFont (self, QFont)

This method is also a Qt slot with the C++ signature void setCurrentFont(const QFont&).

QTextEdit.setCursorWidth (self, int)

QTextEdit.setDocument (self, QTextDocument)

QTextEdit.setDocumentTitle (self, QString)

QTextEdit.setExtraSelections (self, list-of-QTextEdit.ExtraSelection)

QTextEdit.setFontFamily (self, QString)

This method is also a Qt slot with the C++ signature void setFontFamily(const QString&).

QTextEdit.setFontItalic (self, bool)

This method is also a Qt slot with the C++ signature void setFontItalic(bool).

QTextEdit.setFontPointSize (self, float)

This method is also a Qt slot with the C++ signature void setFontPointSize(qreal).

QTextEdit.setFontUnderline (self, bool)

This method is also a Qt slot with the C++ signature void setFontUnderline(bool).

QTextEdit.setFontWeight (self, int)

This method is also a Qt slot with the C++ signature void setFontWeight(int).

QTextEdit.setHtml (self, QString)

This method is also a Qt slot with the C++ signature void setHtml(const QString&).

QTextEdit.setLineWrapColumnOrWidth (self, int)

QTextEdit.setLineWrapMode (self, LineWrapMode)

QTextEdit.setOverwriteMode (self, bool)

QTextEdit.setPlainText (self, QString)

This method is also a Qt slot with the C++ signature void setPlainText(const QString&).

QTextEdit.setReadOnly (self, bool)

QTextEdit.setTabChangesFocus (self, bool)

QTextEdit.setTabStopWidth (self, int)

QTextEdit.setText (self, QString)

This method is also a Qt slot with the C++ signature void setText(const QString&).

QTextEdit.setTextBackgroundColor (self, QColor)

This method is also a Qt slot with the C++ signature void setTextBackgroundColor(const QColor&).

QTextEdit.setTextColor (self, QColor)

This method is also a Qt slot with the C++ signature void setTextColor(const QColor&).

QTextEdit.setTextCursor (self, QTextCursor)

QTextEdit.setTextInteractionFlags (self, Qt.TextInteractionFlags)

QTextEdit.setUndoRedoEnabled (self, bool)

QTextEdit.setWordWrapMode (self, QTextOption.WrapMode)

QTextEdit.showEvent (self, QShowEvent)

bool QTextEdit.tabChangesFocus (self)

int QTextEdit.tabStopWidth (self)

QColor QTextEdit.textBackgroundColor (self)

QColor QTextEdit.textColor (self)

QTextCursor QTextEdit.textCursor (self)

Qt.TextInteractionFlags QTextEdit.textInteractionFlags (self)

QTextEdit.timerEvent (self, QTimerEvent)

QString QTextEdit.toHtml (self)

QString QTextEdit.toPlainText (self)

QTextEdit.undo (self)

This method is also a Qt slot with the C++ signature void undo().

QTextEdit.wheelEvent (self, QWheelEvent)

QTextOption.WrapMode QTextEdit.wordWrapMode (self)

QTextEdit.zoomIn (self, int range = 1)

This method is also a Qt slot with the C++ signature void zoomIn(int = 1).

QTextEdit.zoomOut (self, int range = 1)

This method is also a Qt slot with the C++ signature void zoomOut(int = 1).


Qt Signal Documentation

void copyAvailable (bool)

This is the default overload of this signal.

void currentCharFormatChanged (const QTextCharFormat&)

This is the default overload of this signal.

void cursorPositionChanged ()

This is the default overload of this signal.

void redoAvailable (bool)

This is the default overload of this signal.

void selectionChanged ()

This is the default overload of this signal.

void textChanged ()

This is the default overload of this signal.

void undoAvailable (bool)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0