![]() |
Qt 6.x
The Qt SDK
|
#include <qtextblock_p.h>
Collaboration diagram for Utils::TextBlock:Public Member Functions | |
| bool | isValid () const |
| void | setBlockNumber (int blockNumber) |
| int | blockNumber () const |
| void | setPosition (int position) |
| int | position () const |
| void | setLength (int length) |
| int | length () const |
| TextBlock | next () const |
| TextBlock | previous () const |
| int | userState () const |
| void | setUserState (int state) |
| bool | isVisible () const |
| void | setVisible (bool visible) |
| void | setLineCount (int count) |
| int | lineCount () const |
| void | setDocument (TextDocument *document) |
| TextDocument * | document () const |
| QString | text () const |
| int | revision () const |
| void | setRevision (int rev) |
Friends | |
| bool | operator== (const TextBlock &t1, const TextBlock &t2) |
| bool | operator!= (const TextBlock &t1, const TextBlock &t2) |
Definition at line 25 of file qtextblock_p.h.
| int Utils::TextBlock::blockNumber | ( | ) | const |
Definition at line 21 of file qtextblock.cpp.
Referenced by Utils::TextCursor::blockNumber(), and setBlockNumber().
Here is the caller graph for this function:| TextDocument * Utils::TextBlock::document | ( | ) | const |
Definition at line 71 of file qtextblock.cpp.
Referenced by setDocument(), and text().
Here is the caller graph for this function:| bool Utils::TextBlock::isValid | ( | ) | const |
Definition at line 11 of file qtextblock.cpp.
Referenced by Utils::TextCursor::block().
Here is the caller graph for this function:| bool Utils::TextBlock::isVisible | ( | ) | const |
| int Utils::TextBlock::length | ( | ) | const |
Definition at line 41 of file qtextblock.cpp.
Referenced by Utils::TextCursor::block(), setLength(), and text().
Here is the caller graph for this function:| int Utils::TextBlock::lineCount | ( | ) | const |
| TextBlock Utils::TextBlock::next | ( | ) | const |
Definition at line 46 of file qtextblock.cpp.
References Utils::TextDocument::findBlockByNumber().
Referenced by Utils::TextCursor::block().
Here is the call graph for this function:
Here is the caller graph for this function:| int Utils::TextBlock::position | ( | ) | const |
Definition at line 31 of file qtextblock.cpp.
Referenced by Utils::TextCursor::block(), Utils::TextCursor::positionInBlock(), setPosition(), and text().
Here is the caller graph for this function:| TextBlock Utils::TextBlock::previous | ( | ) | const |
Definition at line 51 of file qtextblock.cpp.
References Utils::TextDocument::findBlockByNumber().
Here is the call graph for this function:| int Utils::TextBlock::revision | ( | ) | const |
Definition at line 81 of file qtextblock.cpp.
| void Utils::TextBlock::setBlockNumber | ( | int | blockNumber | ) |
Definition at line 16 of file qtextblock.cpp.
References blockNumber().
Here is the call graph for this function:| void Utils::TextBlock::setDocument | ( | TextDocument * | document | ) |
Definition at line 66 of file qtextblock.cpp.
References document().
Here is the call graph for this function:| void Utils::TextBlock::setLength | ( | int | length | ) |
Definition at line 36 of file qtextblock.cpp.
References length().
Here is the call graph for this function:| void Utils::TextBlock::setLineCount | ( | int | count | ) |
| void Utils::TextBlock::setPosition | ( | int | position | ) |
Definition at line 26 of file qtextblock.cpp.
References position().
Here is the call graph for this function:| void Utils::TextBlock::setRevision | ( | int | rev | ) |
Definition at line 86 of file qtextblock.cpp.
| void Utils::TextBlock::setUserState | ( | int | state | ) |
Definition at line 61 of file qtextblock.cpp.
References Utils::TextDocument::setUserState(), and state.
Here is the call graph for this function:| void Utils::TextBlock::setVisible | ( | bool | visible | ) |
| QString Utils::TextBlock::text | ( | ) | const |
Definition at line 76 of file qtextblock.cpp.
References document(), length(), QString::mid(), position(), and Utils::TextDocument::toPlainText().
Here is the call graph for this function:| int Utils::TextBlock::userState | ( | ) | const |
Definition at line 56 of file qtextblock.cpp.
References Utils::TextDocument::userState().
Here is the call graph for this function:Definition at line 96 of file qtextblock.cpp.
Definition at line 91 of file qtextblock.cpp.