- Qt 5.15
- Qt Widgets
- C++ Classes
- QTextEdit
- Qt 5.15.19 Reference Documentation

# List of All Members for QTextEdit

This is the complete list of members for QTextEdit, including inherited members.

- struct ExtraSelection
- flags AutoFormatting
- enum AutoFormattingFlag
- enum LineWrapMode
- QTextEdit(const QString &, QWidget *)
- QTextEdit(QWidget *)
- enum RenderFlag
- flags RenderFlags
- enum Shadow
- enum Shape
- enum SizeAdjustPolicy
- enum StyleMask
- append(const QString &)
- clear()
- close() : bool
- copy()
- copyAvailable(bool )
- currentCharFormatChanged(const QTextCharFormat &)
- cursorPositionChanged()
- customContextMenuRequested(const QPoint &)
- cut()
- hide()
- insertHtml(const QString &)
- insertPlainText(const QString &)
- lower()
- paste()
- raise()
- redo()
- redoAvailable(bool )
- repaint()
- scrollToAnchor(const QString &)
- selectAll()
- selectionChanged()
- setAlignment(Qt::Alignment )
- setCurrentFont(const QFont &)
- setDisabled(bool )
- setEnabled(bool)
- setFocus()
- setFontFamily(const QString &)
- setFontItalic(bool )
- setFontPointSize(qreal )
- setFontUnderline(bool )
- setFontWeight(int )
- setHidden(bool )
- setHtml(const QString &)
- setMarkdown(const QString &)
- setPlainText(const QString &)
- setStyleSheet(const QString &)
- setText(const QString &)
- setTextBackgroundColor(const QColor &)
- setTextColor(const QColor &)
- setVisible(bool )
- setWindowModified(bool)
- setWindowTitle(const QString &)
- show()
- showFullScreen()
- showMaximized()
- showMinimized()
- showNormal()
- textChanged()
- undo()
- undoAvailable(bool )
- update()
- updateMicroFocus()
- windowIconChanged(const QIcon &)
- windowTitleChanged(const QString &)
- zoomIn(int )
- zoomOut(int )
- ~QTextEdit()
- acceptDrops() const : bool
- acceptRichText() const : bool
- accessibleDescription() const : QString
- accessibleName() const : QString
- actionEvent(QActionEvent *)
- actions() const : QList<QAction *>
- activateWindow()
- addAction(QAction *)
- addActions(QList<QAction *> )
- addScrollBarWidget(QWidget *, Qt::Alignment )
- adjustSize()
- alignment() const : Qt::Alignment
- anchorAt(const QPoint &) const : QString
- autoFillBackground() const : bool
- autoFormatting() const : AutoFormatting
- backgroundRole() const : QPalette::ColorRole
- backingStore() const : QBackingStore *
- baseSize() const : QSize
- canInsertFromMimeData(const QMimeData *) const : bool
- canPaste() const : bool
- changeEvent(QEvent *)
- childAt(int , int ) const : QWidget *
- childAt(const QPoint &) const : QWidget *
- childrenRect() const : QRect
- childrenRegion() const : QRegion
- clearFocus()
- clearMask()
- closeEvent(QCloseEvent *)
- contentsMargins() const : QMargins
- contentsRect() const : QRect
- contextMenuEvent(QContextMenuEvent *)
- contextMenuPolicy() const : Qt::ContextMenuPolicy
- cornerWidget() const : QWidget *
- create(WId , bool , bool )
- createMimeDataFromSelection() const : QMimeData *
- createStandardContextMenu() : QMenu *
- createStandardContextMenu(const QPoint &) : QMenu *
- createWindowContainer(QWindow *, QWidget *, Qt::WindowFlags ) : QWidget *
- currentCharFormat() const : QTextCharFormat
- currentFont() const : QFont
- cursor() const : QCursor
- cursorForPosition(const QPoint &) const : QTextCursor
- cursorRect(const QTextCursor &) const : QRect
- cursorRect() const : QRect
- cursorWidth() const : int
- destroy(bool , bool )
- document() const : QTextDocument *
- documentTitle() const : QString
- dragEnterEvent(QDragEnterEvent *)
- dragLeaveEvent(QDragLeaveEvent *)
- dragMoveEvent(QDragMoveEvent *)
- dropEvent(QDropEvent *)
- effectiveWinId() const : WId
- ensureCursorVisible()
- ensurePolished() const
- enterEvent(QEvent *)
- event(QEvent *) : bool
- extraSelections() const : QList<ExtraSelection>
- find(const QString &, QTextDocument::FindFlags ) : bool
- find(const QRegExp &, QTextDocument::FindFlags ) : bool
- find(const QRegularExpression &, QTextDocument::FindFlags ) : bool
- focusInEvent(QFocusEvent *)
- focusNextChild() : bool
- focusNextPrevChild(bool ) : bool
- focusOutEvent(QFocusEvent *)
- focusPolicy() const : Qt::FocusPolicy
- focusPreviousChild() : bool
- focusProxy() const : QWidget *
- focusWidget() const : QWidget *
- font() const : const QFont &
- fontFamily() const : QString
- fontInfo() const : QFontInfo
- fontItalic() const : bool
- fontMetrics() const : QFontMetrics
- fontPointSize() const : qreal
- fontUnderline() const : bool
- fontWeight() const : int
- foregroundRole() const : QPalette::ColorRole
- frameGeometry() const : QRect
- frameRect() const : QRect
- frameShadow() const : Shadow
- frameShape() const : Shape
- frameSize() const : QSize
- frameStyle() const : int
- frameWidth() const : int
- geometry() const : const QRect &
- grab(const QRect &) : QPixmap
- grabGesture(Qt::GestureType , Qt::GestureFlags )
- grabKeyboard()
- grabMouse()
- grabMouse(const QCursor &)
- grabShortcut(const QKeySequence &, Qt::ShortcutContext ) : int
- graphicsEffect() const : QGraphicsEffect *
- graphicsProxyWidget() const : QGraphicsProxyWidget *
- hasEditFocus() const : bool
- hasFocus() const : bool
- hasHeightForWidth() const : bool
- hasMouseTracking() const : bool
- hasTabletTracking() const : bool
- height() const : int
- heightForWidth(int ) const : int
- hideEvent(QHideEvent *)
- horizontalScrollBar() const : QScrollBar *
- horizontalScrollBarPolicy() const : Qt::ScrollBarPolicy
- initPainter(QPainter *) const
- initStyleOption(QStyleOptionFrame *) const
- inputMethodEvent(QInputMethodEvent *)
- inputMethodHints() const : Qt::InputMethodHints
- inputMethodQuery(Qt::InputMethodQuery ) const : QVariant
- insertAction(QAction *, QAction *)
- insertActions(QAction *, QList<QAction *> )
- insertFromMimeData(const QMimeData *)
- isActiveWindow() const : bool
- isAncestorOf(const QWidget *) const : bool
- isEnabled() const : bool
- isEnabledTo(const QWidget *) const : bool
- isFullScreen() const : bool
- isHidden() const : bool
- isMaximized() const : bool
- isMinimized() const : bool
- isModal() const : bool
- isReadOnly() const : bool
- isUndoRedoEnabled() const : bool
- isVisible() const : bool
- isVisibleTo(const QWidget *) const : bool
- isWindow() const : bool
- isWindowModified() const : bool
- keyPressEvent(QKeyEvent *)
- keyReleaseEvent(QKeyEvent *)
- keyboardGrabber() : QWidget *
- layout() const : QLayout *
- layoutDirection() const : Qt::LayoutDirection
- leaveEvent(QEvent *)
- lineWidth() const : int
- lineWrapColumnOrWidth() const : int
- lineWrapMode() const : LineWrapMode
- loadResource(int , const QUrl &) : QVariant
- locale() const : QLocale
- mapFrom(const QWidget *, const QPoint &) const : QPoint
- mapFromGlobal(const QPoint &) const : QPoint
- mapFromParent(const QPoint &) const : QPoint
- mapTo(const QWidget *, const QPoint &) const : QPoint
- mapToGlobal(const QPoint &) const : QPoint
- mapToParent(const QPoint &) const : QPoint

- mask() const : QRegion
- maximumHeight() const : int
- maximumSize() const : QSize
- maximumViewportSize() const : QSize
- maximumWidth() const : int
- mergeCurrentCharFormat(const QTextCharFormat &)
- metric(PaintDeviceMetric ) const : int
- midLineWidth() const : int
- minimumHeight() const : int
- minimumSize() const : QSize
- minimumSizeHint() const : QSize
- minimumWidth() const : int
- mouseDoubleClickEvent(QMouseEvent *)
- mouseGrabber() : QWidget *
- mouseMoveEvent(QMouseEvent *)
- mousePressEvent(QMouseEvent *)
- mouseReleaseEvent(QMouseEvent *)
- move(const QPoint &)
- move(int , int )
- moveCursor(QTextCursor::MoveOperation , QTextCursor::MoveMode )
- moveEvent(QMoveEvent *)
- nativeEvent(const QByteArray &, void *, long *) : bool
- nativeParentWidget() const : QWidget *
- nextInFocusChain() const : QWidget *
- normalGeometry() const : QRect
- overrideWindowFlags(Qt::WindowFlags )
- overwriteMode() const : bool
- paintEngine() const : QPaintEngine *
- paintEvent(QPaintEvent *)
- palette() const : const QPalette &
- parentWidget() const : QWidget *
- placeholderText() const : QString
- pos() const : QPoint
- previousInFocusChain() const : QWidget *
- print(QPagedPaintDevice *) const
- rect() const : QRect
- releaseKeyboard()
- releaseMouse()
- releaseShortcut(int )
- removeAction(QAction *)
- render(QPaintDevice *, const QPoint &, const QRegion &, RenderFlags )
- render(QPainter *, const QPoint &, const QRegion &, RenderFlags )
- repaint(int , int , int , int )
- repaint(const QRect &)
- repaint(const QRegion &)
- resize(const QSize &)
- resize(int , int )
- resizeEvent(QResizeEvent *)
- restoreGeometry(const QByteArray &) : bool
- saveGeometry() const : QByteArray
- screen() const : QScreen *
- scroll(int , int )
- scroll(int , int , const QRect &)
- scrollBarWidgets(Qt::Alignment ) : QWidgetList
- scrollContentsBy(int , int )
- setAcceptDrops(bool )
- setAcceptRichText(bool )
- setAccessibleDescription(const QString &)
- setAccessibleName(const QString &)
- setAttribute(Qt::WidgetAttribute , bool )
- setAutoFillBackground(bool )
- setAutoFormatting(AutoFormatting )
- setBackgroundRole(QPalette::ColorRole )
- setBaseSize(const QSize &)
- setBaseSize(int , int )
- setContentsMargins(int , int , int , int )
- setContentsMargins(const QMargins &)
- setContextMenuPolicy(Qt::ContextMenuPolicy )
- setCornerWidget(QWidget *)
- setCurrentCharFormat(const QTextCharFormat &)
- setCursor(const QCursor &)
- setCursorWidth(int )
- setDocument(QTextDocument *)
- setDocumentTitle(const QString &)
- setEditFocus(bool )
- setExtraSelections(const QList<ExtraSelection> &)
- setFixedHeight(int )
- setFixedSize(const QSize &)
- setFixedSize(int , int )
- setFixedWidth(int )
- setFocus(Qt::FocusReason )
- setFocusPolicy(Qt::FocusPolicy )
- setFocusProxy(QWidget *)
- setFont(const QFont &)
- setForegroundRole(QPalette::ColorRole )
- setFrameRect(const QRect &)
- setFrameShadow(Shadow)
- setFrameShape(Shape)
- setFrameStyle(int )
- setGeometry(const QRect &)
- setGeometry(int , int , int , int )
- setGraphicsEffect(QGraphicsEffect *)
- setHorizontalScrollBar(QScrollBar *)
- setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy)
- setInputMethodHints(Qt::InputMethodHints )
- setLayout(QLayout *)
- setLayoutDirection(Qt::LayoutDirection )
- setLineWidth(int)
- setLineWrapColumnOrWidth(int )
- setLineWrapMode(LineWrapMode )
- setLocale(const QLocale &)
- setMask(const QBitmap &)
- setMask(const QRegion &)
- setMaximumHeight(int )
- setMaximumSize(const QSize &)
- setMaximumSize(int , int )
- setMaximumWidth(int )
- setMidLineWidth(int)
- setMinimumHeight(int )
- setMinimumSize(const QSize &)
- setMinimumSize(int , int )
- setMinimumWidth(int )
- setMouseTracking(bool )
- setOverwriteMode(bool )
- setPalette(const QPalette &)
- setParent(QWidget *)
- setParent(QWidget *, Qt::WindowFlags )
- setPlaceholderText(const QString &)
- setReadOnly(bool )
- setShortcutAutoRepeat(int , bool )
- setShortcutEnabled(int , bool )
- setSizeAdjustPolicy(SizeAdjustPolicy )
- setSizeIncrement(const QSize &)
- setSizeIncrement(int , int )
- setSizePolicy(QSizePolicy)
- setSizePolicy(QSizePolicy::Policy , QSizePolicy::Policy )
- setStatusTip(const QString &)
- setStyle(QStyle *)
- setTabChangesFocus(bool )
- setTabOrder(QWidget *, QWidget *)
- setTabStopDistance(qreal )
- setTabletTracking(bool )
- setTextCursor(const QTextCursor &)
- setTextInteractionFlags(Qt::TextInteractionFlags )
- setToolTip(const QString &)
- setToolTipDuration(int )
- setUndoRedoEnabled(bool )
- setUpdatesEnabled(bool )
- setVerticalScrollBar(QScrollBar *)
- setVerticalScrollBarPolicy(Qt::ScrollBarPolicy)
- setViewport(QWidget *)
- setViewportMargins(int , int , int , int )
- setViewportMargins(const QMargins &)
- setWhatsThis(const QString &)
- setWindowFilePath(const QString &)
- setWindowFlag(Qt::WindowType , bool )
- setWindowFlags(Qt::WindowFlags )
- setWindowIcon(const QIcon &)
- setWindowModality(Qt::WindowModality )
- setWindowOpacity(qreal )
- setWindowRole(const QString &)
- setWindowState(Qt::WindowStates )
- setWordWrapMode(QTextOption::WrapMode )
- setupUi(QWidget *)
- setupViewport(QWidget *)
- showEvent(QShowEvent *)
- size() const : QSize
- sizeAdjustPolicy() const : SizeAdjustPolicy
- sizeHint() const : QSize
- sizeIncrement() const : QSize
- sizePolicy() const : QSizePolicy
- stackUnder(QWidget *)
- statusTip() const : QString
- style() const : QStyle *
- styleSheet() const : QString
- tabChangesFocus() const : bool
- tabStopDistance() const : qreal
- tabletEvent(QTabletEvent *)
- testAttribute(Qt::WidgetAttribute ) const : bool
- textBackgroundColor() const : QColor
- textColor() const : QColor
- textCursor() const : QTextCursor
- textInteractionFlags() const : Qt::TextInteractionFlags
- toHtml() const : QString
- toMarkdown(QTextDocument::MarkdownFeatures ) const : QString
- toPlainText() const : QString
- toolTip() const : QString
- toolTipDuration() const : int
- underMouse() const : bool
- ungrabGesture(Qt::GestureType )
- unsetCursor()
- unsetLayoutDirection()
- unsetLocale()
- update(int , int , int , int )
- update(const QRect &)
- update(const QRegion &)
- updateGeometry()
- updatesEnabled() const : bool
- verticalScrollBar() const : QScrollBar *
- verticalScrollBarPolicy() const : Qt::ScrollBarPolicy
- viewport() const : QWidget *
- viewportEvent(QEvent *) : bool
- viewportMargins() const : QMargins
- viewportSizeHint() const : QSize
- visibleRegion() const : QRegion
- whatsThis() const : QString
- wheelEvent(QWheelEvent *)
- width() const : int
- winId() const : WId
- window() const : QWidget *
- windowFilePath() const : QString
- windowFlags() const : Qt::WindowFlags
- windowHandle() const : QWindow *
- windowIcon() const : QIcon
- windowModality() const : Qt::WindowModality
- windowOpacity() const : qreal
- windowRole() const : QString
- windowState() const : Qt::WindowStates
- windowTitle() const : QString
- windowType() const : Qt::WindowType
- wordWrapMode() const : QTextOption::WrapMode
- x() const : int
- y() const : int