![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtextdocument_p.h>
Public Types | |
| enum | Command { Inserted = 0 , Removed = 1 , CharFormatChanged = 2 , BlockFormatChanged = 3 , BlockInserted = 4 , BlockRemoved = 5 , BlockAdded = 6 , BlockDeleted = 7 , GroupFormatChange = 8 , CursorMoved = 9 , Custom = 256 } |
| enum | Operation { KeepCursor = 0 , MoveCursor = 1 } |
Public Member Functions | |
| bool | tryMerge (const QTextUndoCommand &other) |
Public Attributes | |
| quint16 | command |
| uint | block_part: 1 |
| uint | block_end: 1 |
| uint | block_padding: 6 |
| quint8 | operation |
| int | format |
| quint32 | strPos |
| quint32 | pos |
| union { | |
| int blockFormat | |
| quint32 length | |
| QAbstractUndoItem * custom | |
| int objectIndex | |
| }; | |
| quint32 | revision |
Definition at line 89 of file qtextdocument_p.h.
| Enumerator | |
|---|---|
| Inserted | |
| Removed | |
| CharFormatChanged | |
| BlockFormatChanged | |
| BlockInserted | |
| BlockRemoved | |
| BlockAdded | |
| BlockDeleted | |
| GroupFormatChange | |
| CursorMoved | |
| Custom | |
Definition at line 92 of file qtextdocument_p.h.
| Enumerator | |
|---|---|
| KeepCursor | |
| MoveCursor | |
Definition at line 105 of file qtextdocument_p.h.
| bool QTextUndoCommand::tryMerge | ( | const QTextUndoCommand & | other | ) |
Definition at line 108 of file qtextdocument_p.cpp.
References QScriptLine::length.
| union { ... } QTextUndoCommand |
| uint QTextUndoCommand::block_end |
Definition at line 111 of file qtextdocument_p.h.
| uint QTextUndoCommand::block_padding |
Definition at line 112 of file qtextdocument_p.h.
| uint QTextUndoCommand::block_part |
Definition at line 110 of file qtextdocument_p.h.
| int QTextUndoCommand::blockFormat |
Definition at line 118 of file qtextdocument_p.h.
| quint16 QTextUndoCommand::command |
Definition at line 109 of file qtextdocument_p.h.
| QAbstractUndoItem* QTextUndoCommand::custom |
Definition at line 120 of file qtextdocument_p.h.
| int QTextUndoCommand::format |
Definition at line 114 of file qtextdocument_p.h.
| quint32 QTextUndoCommand::length |
Definition at line 119 of file qtextdocument_p.h.
Referenced by testing.tools.encode_pdf_filter._PngIdatPdfStream::write().
| int QTextUndoCommand::objectIndex |
Definition at line 121 of file qtextdocument_p.h.
| quint8 QTextUndoCommand::operation |
Definition at line 113 of file qtextdocument_p.h.
| quint32 QTextUndoCommand::pos |
Definition at line 116 of file qtextdocument_p.h.
| quint32 QTextUndoCommand::revision |
Definition at line 123 of file qtextdocument_p.h.
| quint32 QTextUndoCommand::strPos |
Definition at line 115 of file qtextdocument_p.h.