QPlainTextEdit¶

PyQt5.QtWidgets.QPlainTextEdit

Inherits from QAbstractScrollArea.

Description¶

TODO

Enums¶

LineWrapMode

TODO

Member

Value

Description

NoWrap

TODO

TODO

WidgetWidth

TODO

TODO

Methods¶

__init__(parent: QWidget = None)

TODO


__init__(str, parent: QWidget = None)

TODO


anchorAt(QPoint) → str

TODO


appendHtml(str)

TODO


appendPlainText(str)

TODO


backgroundVisible() → bool

TODO


blockBoundingGeometry(QTextBlock) → QRectF

TODO


blockBoundingRect(QTextBlock) → QRectF

TODO


blockCount() → int

TODO


canInsertFromMimeData(QMimeData) → bool

TODO


canPaste() → bool

TODO


centerCursor()

TODO


centerOnScroll() → bool

TODO


changeEvent(QEvent)

TODO


clear()

TODO


contentOffset() → QPointF

TODO


contextMenuEvent(QContextMenuEvent)

TODO


copy()

TODO


createMimeDataFromSelection() → QMimeData

TODO


createStandardContextMenu() → QMenu

TODO


createStandardContextMenu(QPoint) → QMenu

TODO


currentCharFormat() → QTextCharFormat

TODO


cursorForPosition(QPoint) → QTextCursor

TODO


cursorRect() → QRect

TODO


cursorRect(QTextCursor) → QRect

TODO


cursorWidth() → int

TODO


cut()

TODO


document() → QTextDocument

TODO


documentTitle() → str

TODO


dragEnterEvent(QDragEnterEvent)

TODO


dragLeaveEvent(QDragLeaveEvent)

TODO


dragMoveEvent(QDragMoveEvent)

TODO


dropEvent(QDropEvent)

TODO


ensureCursorVisible()

TODO


event(QEvent) → bool

TODO


extraSelections() → List[ExtraSelection]

TODO


find(str, options: Union[FindFlags, FindFlag] = QTextDocument.FindFlags()) → bool

TODO


find(QRegExp, options: Union[FindFlags, FindFlag] = QTextDocument.FindFlags()) → bool

TODO


find(QRegularExpression, options: Union[FindFlags, FindFlag] = QTextDocument.FindFlags()) → bool

TODO


firstVisibleBlock() → QTextBlock

TODO


focusInEvent(QFocusEvent)

TODO


focusNextPrevChild(bool) → bool

TODO


focusOutEvent(QFocusEvent)

TODO


getPaintContext() → PaintContext

TODO


inputMethodEvent(QInputMethodEvent)

TODO


inputMethodQuery(InputMethodQuery) → Any

TODO


inputMethodQuery(InputMethodQuery, Any) → Any

TODO


insertFromMimeData(QMimeData)

TODO


insertPlainText(str)

TODO


isReadOnly() → bool

TODO


isUndoRedoEnabled() → bool

TODO


keyPressEvent(QKeyEvent)

TODO


keyReleaseEvent(QKeyEvent)

TODO


lineWrapMode() → LineWrapMode

TODO


loadResource(int, QUrl) → Any

TODO


maximumBlockCount() → int

TODO


mergeCurrentCharFormat(QTextCharFormat)

TODO


mouseDoubleClickEvent(QMouseEvent)

TODO


mouseMoveEvent(QMouseEvent)

TODO


mousePressEvent(QMouseEvent)

TODO


mouseReleaseEvent(QMouseEvent)

TODO


moveCursor(MoveOperation, mode: MoveMode = MoveAnchor)

TODO


overwriteMode() → bool

TODO


paintEvent(QPaintEvent)

TODO


paste()

TODO


placeholderText() → str

TODO


print(QPagedPaintDevice)

TODO


TODO


redo()

TODO


resizeEvent(QResizeEvent)

TODO


scrollContentsBy(int, int)

TODO


selectAll()

TODO


setBackgroundVisible(bool)

TODO


setCenterOnScroll(bool)

TODO


setCurrentCharFormat(QTextCharFormat)

TODO


setCursorWidth(int)

TODO


setDocument(QTextDocument)

TODO


setDocumentTitle(str)

TODO


setExtraSelections(Iterable[ExtraSelection])

TODO


setLineWrapMode(LineWrapMode)

TODO


setMaximumBlockCount(int)

TODO


setOverwriteMode(bool)

TODO


setPlaceholderText(str)

TODO


setPlainText(str)

TODO


setReadOnly(bool)

TODO


setTabChangesFocus(bool)

TODO


setTabStopDistance(float)

TODO


setTabStopWidth(int)

TODO


setTextCursor(QTextCursor)

TODO


setTextInteractionFlags(Union[TextInteractionFlags, TextInteractionFlag])

TODO


setUndoRedoEnabled(bool)

TODO


setWordWrapMode(WrapMode)

TODO


showEvent(QShowEvent)

TODO


tabChangesFocus() → bool

TODO


tabStopDistance() → float

TODO


tabStopWidth() → int

TODO


textCursor() → QTextCursor

TODO


textInteractionFlags() → TextInteractionFlags

TODO


timerEvent(QTimerEvent)

TODO


toPlainText() → str

TODO


undo()

TODO


wheelEvent(QWheelEvent)

TODO


wordWrapMode() → WrapMode

TODO


zoomIn(range: int = 1)

TODO


zoomOut(range: int = 1)

TODO

Signals¶

blockCountChanged(int)

TODO


copyAvailable(bool)

TODO


cursorPositionChanged()

TODO


modificationChanged(bool)

TODO


redoAvailable(bool)

TODO


selectionChanged()

TODO


textChanged()

TODO


undoAvailable(bool)

TODO


updateRequest(QRect, int)

TODO