QPlainTextEdit Class Reference
[QtGui module]
Inherits QAbstractScrollArea.
Types
Methods
- __init__ (self, QWidget parent = None)
- __init__ (self, QString, QWidget parent = None)
- QString anchorAt (self, QPoint pos)
- appendHtml (self, QString)
- appendPlainText (self, QString)
- bool backgroundVisible (self)
- QRectF blockBoundingGeometry (self, QTextBlock)
- QRectF blockBoundingRect (self, QTextBlock)
- int blockCount (self)
- bool canInsertFromMimeData (self, QMimeData)
- bool canPaste (self)
- centerCursor (self)
- bool centerOnScroll (self)
- changeEvent (self, QEvent)
- clear (self)
- QPointF contentOffset (self)
- contextMenuEvent (self, QContextMenuEvent)
- copy (self)
- QMimeData createMimeDataFromSelection (self)
- QMenu createStandardContextMenu (self)
- QTextCharFormat currentCharFormat (self)
- QTextCursor cursorForPosition (self, QPoint)
- QRect cursorRect (self, QTextCursor)
- QRect cursorRect (self)
- int cursorWidth (self)
- cut (self)
- QTextDocument document (self)
- QString documentTitle (self)
- dragEnterEvent (self, QDragEnterEvent)
- dragLeaveEvent (self, QDragLeaveEvent)
- dragMoveEvent (self, QDragMoveEvent)
- dropEvent (self, QDropEvent)
- ensureCursorVisible (self)
- bool event (self, QEvent)
- list-of-QTextEdit.ExtraSelection extraSelections (self)
- bool find (self, QString, QTextDocument.FindFlags options = 0)
- QTextBlock firstVisibleBlock (self)
- focusInEvent (self, QFocusEvent)
- bool focusNextPrevChild (self, bool)
- focusOutEvent (self, QFocusEvent)
- QAbstractTextDocumentLayout.PaintContext getPaintContext (self)
- inputMethodEvent (self, QInputMethodEvent)
- QVariant inputMethodQuery (self, Qt.InputMethodQuery)
- insertFromMimeData (self, QMimeData)
- insertPlainText (self, QString)
- bool isReadOnly (self)
- bool isUndoRedoEnabled (self)
- keyPressEvent (self, QKeyEvent)
- keyReleaseEvent (self, QKeyEvent)
- LineWrapMode lineWrapMode (self)
- QVariant loadResource (self, int, QUrl)
- int maximumBlockCount (self)
- mergeCurrentCharFormat (self, QTextCharFormat)
- mouseDoubleClickEvent (self, QMouseEvent)
- mouseMoveEvent (self, QMouseEvent)
- mousePressEvent (self, QMouseEvent)
- mouseReleaseEvent (self, QMouseEvent)
- moveCursor (self, QTextCursor.MoveOperation, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor)
- bool overwriteMode (self)
- paintEvent (self, QPaintEvent)
- paste (self)
- print (self, QPrinter printer)
- print_ (self, QPrinter)
- redo (self)
- resizeEvent (self, QResizeEvent)
- scrollContentsBy (self, int, int)
- selectAll (self)
- setBackgroundVisible (self, bool)
- setCenterOnScroll (self, bool)
- setCurrentCharFormat (self, QTextCharFormat)
- setCursorWidth (self, int)
- setDocument (self, QTextDocument)
- setDocumentTitle (self, QString)
- setExtraSelections (self, list-of-QTextEdit.ExtraSelection)
- setLineWrapMode (self, LineWrapMode)
- setMaximumBlockCount (self, int)
- setOverwriteMode (self, bool)
- setPlainText (self, QString)
- setReadOnly (self, bool)
- setTabChangesFocus (self, bool)
- setTabStopWidth (self, int)
- setTextCursor (self, QTextCursor)
- setTextInteractionFlags (self, Qt.TextInteractionFlags)
- setUndoRedoEnabled (self, bool)
- setWordWrapMode (self, QTextOption.WrapMode)
- showEvent (self, QShowEvent)
- bool tabChangesFocus (self)
- int tabStopWidth (self)
- QTextCursor textCursor (self)
- Qt.TextInteractionFlags textInteractionFlags (self)
- timerEvent (self, QTimerEvent)
- QString toPlainText (self)
- undo (self)
- wheelEvent (self, QWheelEvent)
- QTextOption.WrapMode wordWrapMode (self)
Qt Signals
Detailed Description
Type Documentation
QPlainTextEdit.LineWrapMode
Method Documentation
QPlainTextEdit.__init__ (self, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QPlainTextEdit.__init__ (self, QString, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QString QPlainTextEdit.anchorAt (self, QPoint pos)
QPlainTextEdit.appendHtml (self, QString)
This method is also a Qt slot with the C++ signature void appendHtml(const QString&).
QPlainTextEdit.appendPlainText (self, QString)
This method is also a Qt slot with the C++ signature void appendPlainText(const QString&).
bool QPlainTextEdit.backgroundVisible (self)
QRectF QPlainTextEdit.blockBoundingGeometry (self, QTextBlock)
QRectF QPlainTextEdit.blockBoundingRect (self, QTextBlock)
int QPlainTextEdit.blockCount (self)
bool QPlainTextEdit.canInsertFromMimeData (self, QMimeData)
bool QPlainTextEdit.canPaste (self)
QPlainTextEdit.centerCursor (self)
This method is also a Qt slot with the C++ signature void centerCursor().
bool QPlainTextEdit.centerOnScroll (self)
QPlainTextEdit.changeEvent (self, QEvent)
QPlainTextEdit.clear (self)
This method is also a Qt slot with the C++ signature void clear().
QPointF QPlainTextEdit.contentOffset (self)
QPlainTextEdit.contextMenuEvent (self, QContextMenuEvent)
QPlainTextEdit.copy (self)
This method is also a Qt slot with the C++ signature void copy().
QMimeData QPlainTextEdit.createMimeDataFromSelection (self)
QMenu QPlainTextEdit.createStandardContextMenu (self)
QTextCharFormat QPlainTextEdit.currentCharFormat (self)
QTextCursor QPlainTextEdit.cursorForPosition (self, QPoint)
QRect QPlainTextEdit.cursorRect (self, QTextCursor)
QRect QPlainTextEdit.cursorRect (self)
int QPlainTextEdit.cursorWidth (self)
QPlainTextEdit.cut (self)
This method is also a Qt slot with the C++ signature void cut().
QTextDocument QPlainTextEdit.document (self)
QString QPlainTextEdit.documentTitle (self)
QPlainTextEdit.dragEnterEvent (self, QDragEnterEvent)
QPlainTextEdit.dragLeaveEvent (self, QDragLeaveEvent)
QPlainTextEdit.dragMoveEvent (self, QDragMoveEvent)
QPlainTextEdit.dropEvent (self, QDropEvent)
QPlainTextEdit.ensureCursorVisible (self)
bool QPlainTextEdit.event (self, QEvent)
list-of-QTextEdit.ExtraSelection QPlainTextEdit.extraSelections (self)
bool QPlainTextEdit.find (self, QString, QTextDocument.FindFlags options = 0)
QTextBlock QPlainTextEdit.firstVisibleBlock (self)
QPlainTextEdit.focusInEvent (self, QFocusEvent)
bool QPlainTextEdit.focusNextPrevChild (self, bool)
QPlainTextEdit.focusOutEvent (self, QFocusEvent)
QPlainTextEdit.inputMethodEvent (self, QInputMethodEvent)
QVariant QPlainTextEdit.inputMethodQuery (self, Qt.InputMethodQuery)
QPlainTextEdit.insertFromMimeData (self, QMimeData)
QPlainTextEdit.insertPlainText (self, QString)
This method is also a Qt slot with the C++ signature void insertPlainText(const QString&).
bool QPlainTextEdit.isReadOnly (self)
bool QPlainTextEdit.isUndoRedoEnabled (self)
QPlainTextEdit.keyPressEvent (self, QKeyEvent)
QPlainTextEdit.keyReleaseEvent (self, QKeyEvent)
LineWrapMode QPlainTextEdit.lineWrapMode (self)
QVariant QPlainTextEdit.loadResource (self, int, QUrl)
int QPlainTextEdit.maximumBlockCount (self)
QPlainTextEdit.mergeCurrentCharFormat (self, QTextCharFormat)
QPlainTextEdit.mouseDoubleClickEvent (self, QMouseEvent)
QPlainTextEdit.mouseMoveEvent (self, QMouseEvent)
QPlainTextEdit.mousePressEvent (self, QMouseEvent)
QPlainTextEdit.mouseReleaseEvent (self, QMouseEvent)
bool QPlainTextEdit.overwriteMode (self)
QPlainTextEdit.paintEvent (self, QPaintEvent)
QPlainTextEdit.paste (self)
This method is also a Qt slot with the C++ signature void paste().
QPlainTextEdit.print (self, QPrinter printer)
QPlainTextEdit.print_ (self, QPrinter)
QPlainTextEdit.redo (self)
This method is also a Qt slot with the C++ signature void redo().
QPlainTextEdit.resizeEvent (self, QResizeEvent)
QPlainTextEdit.scrollContentsBy (self, int, int)
QPlainTextEdit.selectAll (self)
This method is also a Qt slot with the C++ signature void selectAll().
QPlainTextEdit.setBackgroundVisible (self, bool)
QPlainTextEdit.setCenterOnScroll (self, bool)
QPlainTextEdit.setCurrentCharFormat (self, QTextCharFormat)
QPlainTextEdit.setCursorWidth (self, int)
QPlainTextEdit.setDocument (self, QTextDocument)
QPlainTextEdit.setDocumentTitle (self, QString)
QPlainTextEdit.setExtraSelections (self, list-of-QTextEdit.ExtraSelection)
QPlainTextEdit.setLineWrapMode (self, LineWrapMode)
QPlainTextEdit.setMaximumBlockCount (self, int)
QPlainTextEdit.setOverwriteMode (self, bool)
QPlainTextEdit.setPlainText (self, QString)
This method is also a Qt slot with the C++ signature void setPlainText(const QString&).
QPlainTextEdit.setReadOnly (self, bool)
QPlainTextEdit.setTabChangesFocus (self, bool)
QPlainTextEdit.setTabStopWidth (self, int)
QPlainTextEdit.setTextCursor (self, QTextCursor)
QPlainTextEdit.setTextInteractionFlags (self, Qt.TextInteractionFlags)
QPlainTextEdit.setUndoRedoEnabled (self, bool)
QPlainTextEdit.showEvent (self, QShowEvent)
bool QPlainTextEdit.tabChangesFocus (self)
int QPlainTextEdit.tabStopWidth (self)
QTextCursor QPlainTextEdit.textCursor (self)
QPlainTextEdit.timerEvent (self, QTimerEvent)
QString QPlainTextEdit.toPlainText (self)
QPlainTextEdit.undo (self)
This method is also a Qt slot with the C++ signature void undo().
QPlainTextEdit.wheelEvent (self, QWheelEvent)
Qt Signal Documentation
void blockCountChanged (int)
This is the default overload of this signal.
void copyAvailable (bool)
This is the default overload of this signal.
void cursorPositionChanged ()
This is the default overload of this signal.
void modificationChanged (bool)
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.
void updateRequest (const QRect&,int)
This is the default overload of this signal.