- Qt 6.8
- Qt GUI
- C++ Classes
- QTextDocument
- Qt 6.8.1 Reference Documentation

# List of All Members for QTextDocument

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

- enum FindFlag
- flags FindFlags
- flags MarkdownFeatures
- enum MetaInformation
- ResourceProvider
- enum ResourceType
- enum Stacks
- QTextDocument(QObject *)
- QTextDocument(const QString &, QObject *)
- ~QTextDocument()
- addResource(int, const QUrl &, const QVariant &)
- adjustSize()
- allFormats() const : QList<QTextFormat>
- availableRedoSteps() const : int
- availableUndoSteps() const : int
- baseUrl() const : QUrl
- baseUrlChanged(const QUrl &)
- baselineOffset() const : qreal
- begin() const : QTextBlock
- bindableObjectName() : QBindable<QString>
- blockCount() const : int
- blockCountChanged(int)
- blockSignals(bool) : bool
- characterAt(int) const : QChar
- characterCount() const : int
- childEvent(QChildEvent *)
- children() const : const QObjectList &
- clear()
- clearUndoRedoStacks(QTextDocument::Stacks)
- clone(QObject *) const : QTextDocument *
- connect(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &, Qt::ConnectionType) : QMetaObject::Connection
- connect(const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType) : QMetaObject::Connection
- connect(const QObject *, PointerToMemberFunction, Functor) : QMetaObject::Connection
- connect(const QObject *, const char *, const char *, Qt::ConnectionType) const : QMetaObject::Connection
- connect(const QObject *, PointerToMemberFunction, const QObject *, Functor, Qt::ConnectionType) : QMetaObject::Connection
- connect(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction, Qt::ConnectionType) : QMetaObject::Connection
- connectNotify(const QMetaMethod &)
- contentsChange(int, int, int)
- contentsChanged()
- createObject(const QTextFormat &) : QTextObject *
- cursorPositionChanged(const QTextCursor &)
- customEvent(QEvent *)
- defaultCursorMoveStyle() const : Qt::CursorMoveStyle
- defaultFont() const : QFont
- defaultResourceProvider() : QTextDocument::ResourceProvider
- defaultStyleSheet() const : QString
- defaultTextOption() const : QTextOption
- deleteLater()
- destroyed(QObject *)
- disconnect(const QMetaObject::Connection &) : bool
- disconnect(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &) : bool
- disconnect(const QObject *, const char *, const QObject *, const char *) : bool
- disconnect(const QObject *, const char *) const : bool
- disconnect(const char *, const QObject *, const char *) const : bool
- disconnect(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction) : bool
- disconnectNotify(const QMetaMethod &)
- documentLayout() const : QAbstractTextDocumentLayout *
- documentLayoutChanged()
- documentMargin() const : qreal
- drawContents(QPainter *, const QRectF &)
- dumpObjectInfo() const
- dumpObjectTree() const
- dynamicPropertyNames() const : QList<QByteArray>
- end() const : QTextBlock
- event(QEvent *) : bool
- eventFilter(QObject *, QEvent *) : bool
- find(const QRegularExpression &, const QTextCursor &, QTextDocument::FindFlags) const : QTextCursor
- find(const QRegularExpression &, int, QTextDocument::FindFlags) const : QTextCursor
- find(const QString &, const QTextCursor &, QTextDocument::FindFlags) const : QTextCursor
- find(const QString &, int, QTextDocument::FindFlags) const : QTextCursor
- findBlock(int) const : QTextBlock
- findBlockByLineNumber(int) const : QTextBlock
- findBlockByNumber(int) const : QTextBlock
- findChild(QAnyStringView, Qt::FindChildOptions) const : T
- findChild(Qt::FindChildOptions) const : T
- findChildren(QAnyStringView, Qt::FindChildOptions) const : QList<T>
- findChildren(Qt::FindChildOptions) const : QList<T>
- findChildren(const QRegularExpression &, Qt::FindChildOptions) const : QList<T>
- firstBlock() const : QTextBlock
- idealWidth() const : qreal
- indentWidth() const : qreal
- inherits(const char *) const : bool
- installEventFilter(QObject *)
- isEmpty() const : bool
- isLayoutEnabled() const : bool
- isModified() const : bool
- isQuickItemType() const : bool

- isRedoAvailable() const : bool
- isSignalConnected(const QMetaMethod &) const : bool
- isUndoAvailable() const : bool
- isUndoRedoEnabled() const : bool
- isWidgetType() const : bool
- isWindowType() const : bool
- killTimer(int)
- killTimer(Qt::TimerId)
- lastBlock() const : QTextBlock
- lineCount() const : int
- loadResource(int, const QUrl &) : QVariant
- markContentsDirty(int, int)
- maximumBlockCount() const : int
- metaInformation(QTextDocument::MetaInformation) const : QString
- metaObject() const : const QMetaObject *
- modificationChanged(bool)
- moveToThread(QThread *) : bool
- object(int) const : QTextObject *
- objectForFormat(const QTextFormat &) const : QTextObject *
- objectName() const : QString
- objectNameChanged(const QString &)
- pageCount() const : int
- pageSize() const : QSizeF
- parent() const : QObject *
- print(QPagedPaintDevice *) const
- property(const char *) const : QVariant
- receivers(const char *) const : int
- redo(QTextCursor *)
- redo()
- redoAvailable(bool)
- removeEventFilter(QObject *)
- resource(int, const QUrl &) const : QVariant
- resourceProvider() const : QTextDocument::ResourceProvider
- revision() const : int
- rootFrame() const : QTextFrame *
- sender() const : QObject *
- senderSignalIndex() const : int
- setBaseUrl(const QUrl &)
- setBaselineOffset(qreal)
- setDefaultCursorMoveStyle(Qt::CursorMoveStyle)
- setDefaultFont(const QFont &)
- setDefaultResourceProvider(const QTextDocument::ResourceProvider &)
- setDefaultStyleSheet(const QString &)
- setDefaultTextOption(const QTextOption &)
- setDocumentLayout(QAbstractTextDocumentLayout *)
- setDocumentMargin(qreal)
- setHtml(const QString &)
- setIndentWidth(qreal)
- setLayoutEnabled(bool)
- setMarkdown(const QString &, QTextDocument::MarkdownFeatures)
- setMaximumBlockCount(int)
- setMetaInformation(QTextDocument::MetaInformation, const QString &)
- setModified(bool)
- setObjectName(const QString &)
- setObjectName(QAnyStringView)
- setPageSize(const QSizeF &)
- setParent(QObject *)
- setPlainText(const QString &)
- setProperty(const char *, const QVariant &) : bool
- setProperty(const char *, QVariant &&) : bool
- setResourceProvider(const QTextDocument::ResourceProvider &)
- setSubScriptBaseline(qreal)
- setSuperScriptBaseline(qreal)
- setTextWidth(qreal)
- setUndoRedoEnabled(bool)
- setUseDesignMetrics(bool)
- signalsBlocked() const : bool
- size() const : QSizeF
- startTimer(int, Qt::TimerType) : int
- startTimer(std::chrono::nanoseconds, Qt::TimerType) : int
- staticMetaObject :
- subScriptBaseline() const : qreal
- superScriptBaseline() const : qreal
- textWidth() const : qreal
- thread() const : QThread *
- timerEvent(QTimerEvent *)
- toHtml() const : QString
- toMarkdown(QTextDocument::MarkdownFeatures) const : QString
- toPlainText() const : QString
- toRawText() const : QString
- tr(const char *, const char *, int) : QString
- undo(QTextCursor *)
- undo()
- undoAvailable(bool)
- undoCommandAdded()
- useDesignMetrics() const : bool