- Qt 5.15
- Qt GUI
- C++ Classes
- QTextDocument
- Qt 5.15.19 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
- QTextDocument(const QString &, QObject *)
- QTextDocument(QObject *)
- enum ResourceType
- enum Stacks
- baseUrlChanged(const QUrl &)
- blockCountChanged(int )
- contentsChange(int , int , int )
- contentsChanged()
- cursorPositionChanged(const QTextCursor &)
- documentLayoutChanged()
- modificationChanged(bool )
- redo()
- redoAvailable(bool )
- setModified(bool )
- undo()
- undoAvailable(bool )
- undoCommandAdded()
- ~QTextDocument()
- addResource(int , const QUrl &, const QVariant &)
- adjustSize()
- allFormats() const : QVector<QTextFormat>
- availableRedoSteps() const : int
- availableUndoSteps() const : int
- baseUrl() const : QUrl
- begin() const : QTextBlock
- blockCount() const : int
- characterAt(int ) const : QChar
- characterCount() const : int
- clear()
- clearUndoRedoStacks(Stacks )
- clone(QObject *) const : QTextDocument *
- createObject(const QTextFormat &) : QTextObject *
- defaultCursorMoveStyle() const : Qt::CursorMoveStyle
- defaultFont() const : QFont
- defaultStyleSheet() const : QString
- defaultTextOption() const : QTextOption
- documentLayout() const : QAbstractTextDocumentLayout *
- documentMargin() const : qreal
- drawContents(QPainter *, const QRectF &)
- end() const : QTextBlock
- find(const QString &, const QTextCursor &, FindFlags ) const : QTextCursor
- find(const QString &, int , FindFlags ) const : QTextCursor
- find(const QRegExp &, int , FindFlags ) const : QTextCursor
- find(const QRegExp &, const QTextCursor &, FindFlags ) const : QTextCursor
- find(const QRegularExpression &, int , FindFlags ) const : QTextCursor
- find(const QRegularExpression &, const QTextCursor &, FindFlags ) const : QTextCursor
- findBlock(int ) const : QTextBlock

- findBlockByLineNumber(int ) const : QTextBlock
- findBlockByNumber(int ) const : QTextBlock
- firstBlock() const : QTextBlock
- idealWidth() const : qreal
- indentWidth() const : qreal
- isEmpty() const : bool
- isModified() const : bool
- isRedoAvailable() const : bool
- isUndoAvailable() const : bool
- isUndoRedoEnabled() const : bool
- lastBlock() const : QTextBlock
- lineCount() const : int
- loadResource(int , const QUrl &) : QVariant
- markContentsDirty(int , int )
- maximumBlockCount() const : int
- metaInformation(MetaInformation ) const : QString
- object(int ) const : QTextObject *
- objectForFormat(const QTextFormat &) const : QTextObject *
- pageCount() const : int
- pageSize() const : QSizeF
- print(QPagedPaintDevice *) const
- redo(QTextCursor *)
- resource(int , const QUrl &) const : QVariant
- revision() const : int
- rootFrame() const : QTextFrame *
- setBaseUrl(const QUrl &)
- setDefaultCursorMoveStyle(Qt::CursorMoveStyle )
- setDefaultFont(const QFont &)
- setDefaultStyleSheet(const QString &)
- setDefaultTextOption(const QTextOption &)
- setDocumentLayout(QAbstractTextDocumentLayout *)
- setDocumentMargin(qreal )
- setHtml(const QString &)
- setIndentWidth(qreal )
- setMarkdown(const QString &, MarkdownFeatures )
- setMaximumBlockCount(int )
- setMetaInformation(MetaInformation , const QString &)
- setPageSize(const QSizeF &)
- setPlainText(const QString &)
- setTextWidth(qreal )
- setUndoRedoEnabled(bool )
- setUseDesignMetrics(bool )
- size() const : QSizeF
- textWidth() const : qreal
- toHtml(const QByteArray &) const : QString
- toMarkdown(MarkdownFeatures ) const : QString
- toPlainText() const : QString
- toRawText() const : QString
- undo(QTextCursor *)
- useDesignMetrics() const : bool