Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QTextDocumentPrivate Class Reference

#include <qtextdocument_p.h>

+ Inheritance diagram for QTextDocumentPrivate:
+ Collaboration diagram for QTextDocumentPrivate:

Public Types

enum  FormatChangeMode { MergeFormat , SetFormat , SetFormatAndPreserveObjectIndices }
 
typedef QFragmentMap< QTextFragmentDataFragmentMap
 
typedef FragmentMap::ConstIterator FragmentIterator
 
typedef QFragmentMap< QTextBlockDataBlockMap
 
- Public Types inherited from QObjectPrivate
typedef void(*) StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Public Member Functions

 QTextDocumentPrivate ()
 
 ~QTextDocumentPrivate ()
 
void init ()
 
void clear ()
 
void setLayout (QAbstractTextDocumentLayout *layout)
 
void insert (int pos, QStringView text, int format)
 
void insert (int pos, QChar c, int format)
 
void insert (int pos, int strPos, int strLength, int format)
 
int insertBlock (int pos, int blockFormat, int charFormat, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor)
 
int insertBlock (QChar blockSeparator, int pos, int blockFormat, int charFormat, QTextUndoCommand::Operation op=QTextUndoCommand::MoveCursor)
 
void move (int from, int to, int length, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor)
 
void remove (int pos, int length, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor)
 
void aboutToRemoveCell (int cursorFrom, int cursorEnd)
 This method is called from QTextTable when it is about to remove a table-cell to allow cursors to update their selection.
 
QTextFrameinsertFrame (int start, int end, const QTextFrameFormat &format)
 
void removeFrame (QTextFrame *frame)
 
void setCharFormat (int pos, int length, const QTextCharFormat &newFormat, FormatChangeMode mode=SetFormat)
 
void setBlockFormat (const QTextBlock &from, const QTextBlock &to, const QTextBlockFormat &newFormat, FormatChangeMode mode=SetFormat)
 
void emitUndoAvailable (bool available)
 
void emitRedoAvailable (bool available)
 
int undoRedo (bool undo)
 
void undo ()
 
void redo ()
 
void appendUndoItem (QAbstractUndoItem *)
 Appends a custom undo item to the undo stack.
 
void beginEditBlock ()
 
void joinPreviousEditBlock ()
 
void endEditBlock ()
 
void finishEdit ()
 
bool isInEditBlock () const
 
void enableUndoRedo (bool enable)
 
bool isUndoRedoEnabled () const
 
bool isUndoAvailable () const
 
bool isRedoAvailable () const
 
int availableUndoSteps () const
 
int availableRedoSteps () const
 
QString buffer () const
 
QString plainText () const
 
int length () const
 
QTextFormatCollectionformatCollection ()
 
const QTextFormatCollectionformatCollection () const
 
QAbstractTextDocumentLayoutlayout () const
 
FragmentIterator find (int pos) const
 
FragmentIterator begin () const
 
FragmentIterator end () const
 
QTextBlock blocksBegin () const
 
QTextBlock blocksEnd () const
 
QTextBlock blocksFind (int pos) const
 
int blockCharFormatIndex (int node) const
 
int numBlocks () const
 
const BlockMapblockMap () const
 
const FragmentMapfragmentMap () const
 
BlockMapblockMap ()
 
FragmentMapfragmentMap ()
 
int nextCursorPosition (int position, QTextLayout::CursorMode mode) const
 
int previousCursorPosition (int position, QTextLayout::CursorMode mode) const
 
int leftCursorPosition (int position) const
 
int rightCursorPosition (int position) const
 
void changeObjectFormat (QTextObject *group, int format)
 
void setModified (bool m)
 
bool isModified () const
 
QFont defaultFont () const
 
void setDefaultFont (const QFont &f)
 
void clearUndoRedoStacks (QTextDocument::Stacks stacksToClear, bool emitSignals=false)
 
void documentChange (int from, int length)
 
void addCursor (QTextCursorPrivate *c)
 
void removeCursor (QTextCursorPrivate *c)
 
QTextFrameframeAt (int pos) const
 
QTextFramerootFrame () const
 
QTextObjectobjectForIndex (int objectIndex) const
 
QTextObjectobjectForFormat (int formatIndex) const
 
QTextObjectobjectForFormat (const QTextFormat &f) const
 
QTextObjectcreateObject (const QTextFormat &newFormat, int objectIndex=-1)
 
void deleteObject (QTextObject *object)
 
QTextDocumentdocument ()
 
const QTextDocumentdocument () const
 
bool ensureMaximumBlockCount ()
 
bool canLayout () const
 
void mergeCachedResources (const QTextDocumentPrivate *priv)
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static const QTextBlockDatablock (const QTextBlock &it)
 
static const QTextDocumentPrivateget (const QTextDocument *document)
 
static QTextDocumentPrivateget (QTextDocument *document)
 
static QTextDocumentPrivateget (QTextBlock &block)
 
static const QTextDocumentPrivateget (const QTextBlock &block)
 
static QTextDocumentPrivateget (QTextObject *object)
 
static const QTextDocumentPrivateget (const QTextObject *object)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Public Attributes

bool inContentsChange
 
bool layoutEnabled = true
 
QTextOption defaultTextOption
 
Qt::CursorMoveStyle defaultCursorMoveStyle
 
QCss::StyleSheet parsedDefaultStyleSheet
 
int maximumBlockCount
 
uint needsEnsureMaximumBlockCount: 1
 
uint blockCursorAdjustment: 1
 
QSizeF pageSize
 
QString title
 
QString url
 
QString cssMedia
 
QString frontMatter
 
qreal indentWidth
 
qreal documentMargin
 
QUrl baseUrl
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Friends

struct QTextHtmlParserNode
 
class QTextHtmlExporter
 
class QTextCursor
 

Detailed Description

Definition at line 129 of file qtextdocument_p.h.

Member Typedef Documentation

◆ BlockMap

◆ FragmentIterator

FragmentMap::ConstIterator QTextDocumentPrivate::FragmentIterator

Definition at line 134 of file qtextdocument_p.h.

◆ FragmentMap

Member Enumeration Documentation

◆ FormatChangeMode

Enumerator
MergeFormat 
SetFormat 
SetFormatAndPreserveObjectIndices 

Definition at line 161 of file qtextdocument_p.h.

Constructor & Destructor Documentation

◆ QTextDocumentPrivate()

QTextDocumentPrivate::QTextDocumentPrivate ( )

Definition at line 148 of file qtextdocument_p.cpp.

◆ ~QTextDocumentPrivate()

QTextDocumentPrivate::~QTextDocumentPrivate ( )

Definition at line 258 of file qtextdocument_p.cpp.

Member Function Documentation

◆ aboutToRemoveCell()

void QTextDocumentPrivate::aboutToRemoveCell ( int cursorFrom,
int cursorEnd )

This method is called from QTextTable when it is about to remove a table-cell to allow cursors to update their selection.

Definition at line 1717 of file qtextdocument_p.cpp.

◆ addCursor()

void QTextDocumentPrivate::addCursor ( QTextCursorPrivate * c)

Definition at line 1426 of file qtextdocument_p.cpp.

◆ appendUndoItem()

void QTextDocumentPrivate::appendUndoItem ( QAbstractUndoItem * item)

Appends a custom undo item to the undo stack.

Definition at line 1011 of file qtextdocument_p.cpp.

◆ availableRedoSteps()

int QTextDocumentPrivate::availableRedoSteps ( ) const
inline

Definition at line 186 of file qtextdocument_p.h.

◆ availableUndoSteps()

int QTextDocumentPrivate::availableUndoSteps ( ) const
inline

Definition at line 185 of file qtextdocument_p.h.

◆ begin()

FragmentIterator QTextDocumentPrivate::begin ( ) const
inline

Definition at line 197 of file qtextdocument_p.h.

◆ beginEditBlock()

void QTextDocumentPrivate::beginEditBlock ( )
inline

Definition at line 174 of file qtextdocument_p.h.

◆ block()

static const QTextBlockData * QTextDocumentPrivate::block ( const QTextBlock & it)
inlinestatic

Definition at line 212 of file qtextdocument_p.h.

◆ blockCharFormatIndex()

int QTextDocumentPrivate::blockCharFormatIndex ( int node) const

Definition at line 1325 of file qtextdocument_p.cpp.

◆ blockMap() [1/2]

BlockMap & QTextDocumentPrivate::blockMap ( )
inline

Definition at line 209 of file qtextdocument_p.h.

◆ blockMap() [2/2]

const BlockMap & QTextDocumentPrivate::blockMap ( ) const
inline

Definition at line 207 of file qtextdocument_p.h.

◆ blocksBegin()

QTextBlock QTextDocumentPrivate::blocksBegin ( ) const
inline

Definition at line 200 of file qtextdocument_p.h.

◆ blocksEnd()

QTextBlock QTextDocumentPrivate::blocksEnd ( ) const
inline

Definition at line 201 of file qtextdocument_p.h.

◆ blocksFind()

QTextBlock QTextDocumentPrivate::blocksFind ( int pos) const
inline

Definition at line 202 of file qtextdocument_p.h.

◆ buffer()

◆ canLayout()

bool QTextDocumentPrivate::canLayout ( ) const
inline

Definition at line 298 of file qtextdocument_p.h.

◆ changeObjectFormat()

void QTextDocumentPrivate::changeObjectFormat ( QTextObject * group,
int format )

Definition at line 1375 of file qtextdocument_p.cpp.

◆ clear()

void QTextDocumentPrivate::clear ( )

Definition at line 203 of file qtextdocument_p.cpp.

◆ clearUndoRedoStacks()

void QTextDocumentPrivate::clearUndoRedoStacks ( QTextDocument::Stacks stacksToClear,
bool emitSignals = false )

Definition at line 1075 of file qtextdocument_p.cpp.

◆ createObject()

QTextObject * QTextDocumentPrivate::createObject ( const QTextFormat & newFormat,
int objectIndex = -1 )

Definition at line 1607 of file qtextdocument_p.cpp.

◆ defaultFont()

QFont QTextDocumentPrivate::defaultFont ( ) const
inline

Definition at line 224 of file qtextdocument_p.h.

◆ deleteObject()

void QTextDocumentPrivate::deleteObject ( QTextObject * object)

Definition at line 1619 of file qtextdocument_p.cpp.

◆ document() [1/2]

QTextDocument * QTextDocumentPrivate::document ( )
inline

Definition at line 263 of file qtextdocument_p.h.

◆ document() [2/2]

const QTextDocument * QTextDocumentPrivate::document ( ) const
inline

Definition at line 264 of file qtextdocument_p.h.

◆ documentChange()

void QTextDocumentPrivate::documentChange ( int from,
int length )

Definition at line 1231 of file qtextdocument_p.cpp.

◆ emitRedoAvailable()

void QTextDocumentPrivate::emitRedoAvailable ( bool available)

Definition at line 1125 of file qtextdocument_p.cpp.

◆ emitUndoAvailable()

void QTextDocumentPrivate::emitUndoAvailable ( bool available)

Definition at line 1116 of file qtextdocument_p.cpp.

◆ enableUndoRedo()

void QTextDocumentPrivate::enableUndoRedo ( bool enable)

Definition at line 1134 of file qtextdocument_p.cpp.

◆ end()

FragmentIterator QTextDocumentPrivate::end ( ) const
inline

Definition at line 198 of file qtextdocument_p.h.

◆ endEditBlock()

void QTextDocumentPrivate::endEditBlock ( )

Definition at line 1159 of file qtextdocument_p.cpp.

◆ ensureMaximumBlockCount()

bool QTextDocumentPrivate::ensureMaximumBlockCount ( )

Definition at line 1689 of file qtextdocument_p.cpp.

◆ find()

FragmentIterator QTextDocumentPrivate::find ( int pos) const
inline

Definition at line 196 of file qtextdocument_p.h.

◆ finishEdit()

void QTextDocumentPrivate::finishEdit ( )

Definition at line 1179 of file qtextdocument_p.cpp.

◆ formatCollection() [1/2]

QTextFormatCollection * QTextDocumentPrivate::formatCollection ( )
inline

Definition at line 192 of file qtextdocument_p.h.

◆ formatCollection() [2/2]

const QTextFormatCollection * QTextDocumentPrivate::formatCollection ( ) const
inline

Definition at line 193 of file qtextdocument_p.h.

◆ fragmentMap() [1/2]

FragmentMap & QTextDocumentPrivate::fragmentMap ( )
inline

Definition at line 210 of file qtextdocument_p.h.

◆ fragmentMap() [2/2]

const FragmentMap & QTextDocumentPrivate::fragmentMap ( ) const
inline

Definition at line 208 of file qtextdocument_p.h.

◆ frameAt()

QTextFrame * QTextDocumentPrivate::frameAt ( int pos) const

Definition at line 1436 of file qtextdocument_p.cpp.

◆ get() [1/6]

static const QTextDocumentPrivate * QTextDocumentPrivate::get ( const QTextBlock & block)
inlinestatic

Definition at line 283 of file qtextdocument_p.h.

◆ get() [2/6]

static const QTextDocumentPrivate * QTextDocumentPrivate::get ( const QTextDocument * document)
inlinestatic

Definition at line 268 of file qtextdocument_p.h.

◆ get() [3/6]

static const QTextDocumentPrivate * QTextDocumentPrivate::get ( const QTextObject * object)
inlinestatic

Definition at line 293 of file qtextdocument_p.h.

◆ get() [4/6]

static QTextDocumentPrivate * QTextDocumentPrivate::get ( QTextBlock & block)
inlinestatic

Definition at line 278 of file qtextdocument_p.h.

◆ get() [5/6]

static QTextDocumentPrivate * QTextDocumentPrivate::get ( QTextDocument * document)
inlinestatic

Definition at line 273 of file qtextdocument_p.h.

◆ get() [6/6]

static QTextDocumentPrivate * QTextDocumentPrivate::get ( QTextObject * object)
inlinestatic

Definition at line 288 of file qtextdocument_p.h.

◆ init()

void QTextDocumentPrivate::init ( )

Definition at line 188 of file qtextdocument_p.cpp.

◆ insert() [1/3]

void QTextDocumentPrivate::insert ( int pos,
int strPos,
int strLength,
int format )

Definition at line 427 of file qtextdocument_p.cpp.

◆ insert() [2/3]

void QTextDocumentPrivate::insert ( int pos,
QChar c,
int format )
inline

Definition at line 146 of file qtextdocument_p.h.

◆ insert() [3/3]

void QTextDocumentPrivate::insert ( int pos,
QStringView text,
int format )

Definition at line 450 of file qtextdocument_p.cpp.

◆ insertBlock() [1/2]

int QTextDocumentPrivate::insertBlock ( int pos,
int blockFormat,
int charFormat,
QTextUndoCommand::Operation op = QTextUndoCommand::MoveCursor )

Definition at line 422 of file qtextdocument_p.cpp.

◆ insertBlock() [2/2]

int QTextDocumentPrivate::insertBlock ( QChar blockSeparator,
int pos,
int blockFormat,
int charFormat,
QTextUndoCommand::Operation op = QTextUndoCommand::MoveCursor )

Definition at line 370 of file qtextdocument_p.cpp.

◆ insertFrame()

QTextFrame * QTextDocumentPrivate::insertFrame ( int start,
int end,
const QTextFrameFormat & format )

Definition at line 1530 of file qtextdocument_p.cpp.

◆ isInEditBlock()

bool QTextDocumentPrivate::isInEditBlock ( ) const
inline

Definition at line 178 of file qtextdocument_p.h.

◆ isModified()

bool QTextDocumentPrivate::isModified ( ) const
inline

Definition at line 222 of file qtextdocument_p.h.

◆ isRedoAvailable()

bool QTextDocumentPrivate::isRedoAvailable ( ) const
inline

Definition at line 183 of file qtextdocument_p.h.

◆ isUndoAvailable()

bool QTextDocumentPrivate::isUndoAvailable ( ) const
inline

Definition at line 182 of file qtextdocument_p.h.

◆ isUndoRedoEnabled()

bool QTextDocumentPrivate::isUndoRedoEnabled ( ) const
inline

Definition at line 180 of file qtextdocument_p.h.

◆ joinPreviousEditBlock()

void QTextDocumentPrivate::joinPreviousEditBlock ( )

Definition at line 1151 of file qtextdocument_p.cpp.

◆ layout()

QAbstractTextDocumentLayout * QTextDocumentPrivate::layout ( ) const
inline

Definition at line 194 of file qtextdocument_p.h.

◆ leftCursorPosition()

int QTextDocumentPrivate::leftCursorPosition ( int position) const

Definition at line 1361 of file qtextdocument_p.cpp.

◆ length()

int QTextDocumentPrivate::length ( ) const
inline

Definition at line 190 of file qtextdocument_p.h.

Referenced by testing.tools.encode_pdf_filter._PngIdatPdfStream::write().

+ Here is the caller graph for this function:

◆ mergeCachedResources()

void QTextDocumentPrivate::mergeCachedResources ( const QTextDocumentPrivate * priv)

Definition at line 3379 of file qtextdocument.cpp.

◆ move()

void QTextDocumentPrivate::move ( int from,
int to,
int length,
QTextUndoCommand::Operation op = QTextUndoCommand::MoveCursor )

Definition at line 552 of file qtextdocument_p.cpp.

◆ nextCursorPosition()

int QTextDocumentPrivate::nextCursorPosition ( int position,
QTextLayout::CursorMode mode ) const

Definition at line 1334 of file qtextdocument_p.cpp.

◆ numBlocks()

int QTextDocumentPrivate::numBlocks ( ) const
inline

Definition at line 205 of file qtextdocument_p.h.

◆ objectForFormat() [1/2]

QTextObject * QTextDocumentPrivate::objectForFormat ( const QTextFormat & f) const

Definition at line 1602 of file qtextdocument_p.cpp.

◆ objectForFormat() [2/2]

QTextObject * QTextDocumentPrivate::objectForFormat ( int formatIndex) const

Definition at line 1596 of file qtextdocument_p.cpp.

◆ objectForIndex()

QTextObject * QTextDocumentPrivate::objectForIndex ( int objectIndex) const

Definition at line 1582 of file qtextdocument_p.cpp.

◆ plainText()

QString QTextDocumentPrivate::plainText ( ) const

Definition at line 1309 of file qtextdocument_p.cpp.

◆ previousCursorPosition()

int QTextDocumentPrivate::previousCursorPosition ( int position,
QTextLayout::CursorMode mode ) const

Definition at line 1348 of file qtextdocument_p.cpp.

◆ redo()

void QTextDocumentPrivate::redo ( )
inline

Definition at line 172 of file qtextdocument_p.h.

◆ remove()

void QTextDocumentPrivate::remove ( int pos,
int length,
QTextUndoCommand::Operation op = QTextUndoCommand::MoveCursor )

Definition at line 646 of file qtextdocument_p.cpp.

◆ removeCursor()

void QTextDocumentPrivate::removeCursor ( QTextCursorPrivate * c)

Definition at line 1431 of file qtextdocument_p.cpp.

◆ removeFrame()

void QTextDocumentPrivate::removeFrame ( QTextFrame * frame)

Definition at line 1563 of file qtextdocument_p.cpp.

◆ rightCursorPosition()

int QTextDocumentPrivate::rightCursorPosition ( int position) const

Definition at line 1368 of file qtextdocument_p.cpp.

◆ rootFrame()

QTextFrame * QTextDocumentPrivate::rootFrame ( ) const

Definition at line 1416 of file qtextdocument_p.cpp.

◆ setBlockFormat()

void QTextDocumentPrivate::setBlockFormat ( const QTextBlock & from,
const QTextBlock & to,
const QTextBlockFormat & newFormat,
FormatChangeMode mode = SetFormat )

Definition at line 753 of file qtextdocument_p.cpp.

◆ setCharFormat()

void QTextDocumentPrivate::setCharFormat ( int pos,
int length,
const QTextCharFormat & newFormat,
FormatChangeMode mode = SetFormat )

Definition at line 661 of file qtextdocument_p.cpp.

◆ setDefaultFont()

void QTextDocumentPrivate::setDefaultFont ( const QFont & f)
inline

Definition at line 225 of file qtextdocument_p.h.

◆ setLayout()

void QTextDocumentPrivate::setLayout ( QAbstractTextDocumentLayout * layout)

Definition at line 268 of file qtextdocument_p.cpp.

◆ setModified()

void QTextDocumentPrivate::setModified ( bool m)

Definition at line 1674 of file qtextdocument_p.cpp.

◆ undo()

void QTextDocumentPrivate::undo ( )
inline

Definition at line 171 of file qtextdocument_p.h.

◆ undoRedo()

int QTextDocumentPrivate::undoRedo ( bool undo)

Definition at line 851 of file qtextdocument_p.cpp.

Friends And Related Symbol Documentation

◆ QTextCursor

friend class QTextCursor
friend

Definition at line 368 of file qtextdocument_p.h.

◆ QTextHtmlExporter

friend class QTextHtmlExporter
friend

Definition at line 367 of file qtextdocument_p.h.

◆ QTextHtmlParserNode

friend struct QTextHtmlParserNode
friend

Definition at line 366 of file qtextdocument_p.h.

Member Data Documentation

◆ baseUrl

QUrl QTextDocumentPrivate::baseUrl

Definition at line 362 of file qtextdocument_p.h.

◆ blockCursorAdjustment

uint QTextDocumentPrivate::blockCursorAdjustment

Definition at line 354 of file qtextdocument_p.h.

◆ cssMedia

QString QTextDocumentPrivate::cssMedia

Definition at line 358 of file qtextdocument_p.h.

◆ defaultCursorMoveStyle

Qt::CursorMoveStyle QTextDocumentPrivate::defaultCursorMoveStyle

Definition at line 348 of file qtextdocument_p.h.

◆ defaultTextOption

QTextOption QTextDocumentPrivate::defaultTextOption

Definition at line 347 of file qtextdocument_p.h.

◆ documentMargin

qreal QTextDocumentPrivate::documentMargin

Definition at line 361 of file qtextdocument_p.h.

◆ frontMatter

QString QTextDocumentPrivate::frontMatter

Definition at line 359 of file qtextdocument_p.h.

◆ inContentsChange

bool QTextDocumentPrivate::inContentsChange

Definition at line 345 of file qtextdocument_p.h.

◆ indentWidth

qreal QTextDocumentPrivate::indentWidth

Definition at line 360 of file qtextdocument_p.h.

◆ layoutEnabled

bool QTextDocumentPrivate::layoutEnabled = true

Definition at line 346 of file qtextdocument_p.h.

◆ maximumBlockCount

int QTextDocumentPrivate::maximumBlockCount

Definition at line 352 of file qtextdocument_p.h.

◆ needsEnsureMaximumBlockCount

uint QTextDocumentPrivate::needsEnsureMaximumBlockCount

Definition at line 353 of file qtextdocument_p.h.

◆ pageSize

QSizeF QTextDocumentPrivate::pageSize

Definition at line 355 of file qtextdocument_p.h.

◆ parsedDefaultStyleSheet

QCss::StyleSheet QTextDocumentPrivate::parsedDefaultStyleSheet

Definition at line 350 of file qtextdocument_p.h.

◆ title

QString QTextDocumentPrivate::title

Definition at line 356 of file qtextdocument_p.h.

◆ url

QString QTextDocumentPrivate::url

Definition at line 357 of file qtextdocument_p.h.


The documentation for this class was generated from the following files: