Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QTextCursor
Sub-classes: MoveMode, QFlags_MoveMode, MoveOperation, QFlags_MoveOperation, SelectionType, QFlags_SelectionType
new QTextCursor | new | Constructor QTextCursor::QTextCursor() | |
new QTextCursor | new | (QTextDocument ptr document) | Constructor QTextCursor::QTextCursor(QTextDocument *document) |
new QTextCursor | new | (QTextFrame ptr frame) | Constructor QTextCursor::QTextCursor(QTextFrame *frame) |
new QTextCursor | new | (const QTextBlock block) | Constructor QTextCursor::QTextCursor(const QTextBlock &block) |
new QTextCursor | new | (const QTextCursor cursor) | Constructor QTextCursor::QTextCursor(const QTextCursor &cursor) |
[const] | bool | != | (const QTextCursor rhs) | Method bool QTextCursor::operator!=(const QTextCursor &rhs) |
[const] | bool | < | (const QTextCursor rhs) | Method bool QTextCursor::operator<(const QTextCursor &rhs) |
[const] | bool | <= | (const QTextCursor rhs) | Method bool QTextCursor::operator<=(const QTextCursor &rhs) |
[const] | bool | == | (const QTextCursor rhs) | Method bool QTextCursor::operator==(const QTextCursor &rhs) |
[const] | bool | > | (const QTextCursor rhs) | Method bool QTextCursor::operator>(const QTextCursor &rhs) |
[const] | bool | >= | (const QTextCursor rhs) | Method bool QTextCursor::operator>=(const QTextCursor &rhs) |
void | _assign | (const QTextCursor other) | Assigns another object to self | |
[const] | QTextCursor ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | int | anchor | Method int QTextCursor::anchor() | |
QTextCursor | assign | (const QTextCursor other) | Method QTextCursor &QTextCursor::operator=(const QTextCursor &other) | |
[const] | bool | atBlockEnd | Method bool QTextCursor::atBlockEnd() | |
[const] | bool | atBlockStart | Method bool QTextCursor::atBlockStart() | |
[const] | bool | atEnd | Method bool QTextCursor::atEnd() | |
[const] | bool | atStart | Method bool QTextCursor::atStart() | |
void | beginEditBlock | Method void QTextCursor::beginEditBlock() | ||
[const] | QTextBlock | block | Method QTextBlock QTextCursor::block() | |
[const] | QTextCharFormat | blockCharFormat | Method QTextCharFormat QTextCursor::blockCharFormat() | |
void | blockCharFormat= | (const QTextCharFormat format) | Method void QTextCursor::setBlockCharFormat(const QTextCharFormat &format) | |
[const] | QTextBlockFormat | blockFormat | Method QTextBlockFormat QTextCursor::blockFormat() | |
void | blockFormat= | (const QTextBlockFormat format) | Method void QTextCursor::setBlockFormat(const QTextBlockFormat &format) | |
[const] | int | blockNumber | Method int QTextCursor::blockNumber() | |
[const] | QTextCharFormat | charFormat | Method QTextCharFormat QTextCursor::charFormat() | |
void | charFormat= | (const QTextCharFormat format) | Method void QTextCursor::setCharFormat(const QTextCharFormat &format) | |
void | clearSelection | Method void QTextCursor::clearSelection() | ||
[const] | int | columnNumber | Method int QTextCursor::columnNumber() | |
QTextList ptr | createList | (const QTextListFormat format) | Method QTextList *QTextCursor::createList(const QTextListFormat &format) | |
QTextList ptr | createList | (const QTextListFormat_Style style) | Method QTextList *QTextCursor::createList(QTextListFormat::Style style) | |
[const] | QTextFrame ptr | currentFrame | Method QTextFrame *QTextCursor::currentFrame() | |
[const] | QTextList ptr | currentList | Method QTextList *QTextCursor::currentList() | |
[const] | QTextTable ptr | currentTable | Method QTextTable *QTextCursor::currentTable() | |
void | deleteChar | Method void QTextCursor::deleteChar() | ||
void | deletePreviousChar | Method void QTextCursor::deletePreviousChar() | ||
[const] | QTextDocument ptr | document | Method QTextDocument *QTextCursor::document() | |
[const] | new QTextCursor ptr | dup | Creates a copy of self | |
void | endEditBlock | Method void QTextCursor::endEditBlock() | ||
[const] | bool | hasComplexSelection | Method bool QTextCursor::hasComplexSelection() | |
[const] | bool | hasSelection | Method bool QTextCursor::hasSelection() | |
void | insertBlock | Method void QTextCursor::insertBlock() | ||
void | insertBlock | (const QTextBlockFormat format) | Method void QTextCursor::insertBlock(const QTextBlockFormat &format) | |
void | insertBlock | (const QTextBlockFormat format, const QTextCharFormat charFormat) | Method void QTextCursor::insertBlock(const QTextBlockFormat &format, const QTextCharFormat &charFormat) | |
void | insertFragment | (const QTextDocumentFragment fragment) | Method void QTextCursor::insertFragment(const QTextDocumentFragment &fragment) | |
QTextFrame ptr | insertFrame | (const QTextFrameFormat format) | Method QTextFrame *QTextCursor::insertFrame(const QTextFrameFormat &format) | |
void | insertHtml | (string html) | Method void QTextCursor::insertHtml(const QString &html) | |
void | insertImage | (const QTextImageFormat format, const QTextFrameFormat_Position alignment) | Method void QTextCursor::insertImage(const QTextImageFormat &format, QTextFrameFormat::Position alignment) | |
void | insertImage | (const QTextImageFormat format) | Method void QTextCursor::insertImage(const QTextImageFormat &format) | |
void | insertImage | (string name) | Method void QTextCursor::insertImage(const QString &name) | |
void | insertImage | (const QImage image, string name = QString()) | Method void QTextCursor::insertImage(const QImage &image, const QString &name) | |
QTextList ptr | insertList | (const QTextListFormat format) | Method QTextList *QTextCursor::insertList(const QTextListFormat &format) | |
QTextList ptr | insertList | (const QTextListFormat_Style style) | Method QTextList *QTextCursor::insertList(QTextListFormat::Style style) | |
QTextTable ptr | insertTable | (int rows, int cols, const QTextTableFormat format) | Method QTextTable *QTextCursor::insertTable(int rows, int cols, const QTextTableFormat &format) | |
QTextTable ptr | insertTable | (int rows, int cols) | Method QTextTable *QTextCursor::insertTable(int rows, int cols) | |
void | insertText | (string text) | Method void QTextCursor::insertText(const QString &text) | |
void | insertText | (string text, const QTextCharFormat format) | Method void QTextCursor::insertText(const QString &text, const QTextCharFormat &format) | |
[const] | bool | isCopyOf? | (const QTextCursor other) | Method bool QTextCursor::isCopyOf(const QTextCursor &other) |
[const] | bool | isNull? | Method bool QTextCursor::isNull() | |
void | joinPreviousEditBlock | Method void QTextCursor::joinPreviousEditBlock() | ||
void | mergeBlockCharFormat | (const QTextCharFormat modifier) | Method void QTextCursor::mergeBlockCharFormat(const QTextCharFormat &modifier) | |
void | mergeBlockFormat | (const QTextBlockFormat modifier) | Method void QTextCursor::mergeBlockFormat(const QTextBlockFormat &modifier) | |
void | mergeCharFormat | (const QTextCharFormat modifier) | Method void QTextCursor::mergeCharFormat(const QTextCharFormat &modifier) | |
bool | movePosition | (const QTextCursor_MoveOperation op, const QTextCursor_MoveMode arg2 = QTextCursor::MoveAnchor, int n = 1) | Method bool QTextCursor::movePosition(QTextCursor::MoveOperation op, QTextCursor::MoveMode, int n) | |
[const] | int | position | Method int QTextCursor::position() | |
void | removeSelectedText | Method void QTextCursor::removeSelectedText() | ||
void | select | (const QTextCursor_SelectionType selection) | Method void QTextCursor::select(QTextCursor::SelectionType selection) | |
[const] | void | selectedTableCells | (int ptr firstRow, int ptr numRows, int ptr firstColumn, int ptr numColumns) | Method void QTextCursor::selectedTableCells(int *firstRow, int *numRows, int *firstColumn, int *numColumns) |
[const] | string | selectedText | Method QString QTextCursor::selectedText() | |
[const] | QTextDocumentFragment | selection | Method QTextDocumentFragment QTextCursor::selection() | |
[const] | int | selectionEnd | Method int QTextCursor::selectionEnd() | |
[const] | int | selectionStart | Method int QTextCursor::selectionStart() | |
void | setBlockCharFormat | (const QTextCharFormat format) | Method void QTextCursor::setBlockCharFormat(const QTextCharFormat &format) | |
void | setBlockFormat | (const QTextBlockFormat format) | Method void QTextCursor::setBlockFormat(const QTextBlockFormat &format) | |
void | setCharFormat | (const QTextCharFormat format) | Method void QTextCursor::setCharFormat(const QTextCharFormat &format) | |
void | setPosition | (int pos, const QTextCursor_MoveMode mode = QTextCursor::MoveAnchor) | Method void QTextCursor::setPosition(int pos, QTextCursor::MoveMode mode) | |
void | setVisualNavigation | (bool b) | Method void QTextCursor::setVisualNavigation(bool b) | |
[const] | bool | visualNavigation | Method bool QTextCursor::visualNavigation() | |
void | visualNavigation= | (bool b) | Method void QTextCursor::setVisualNavigation(bool b) |
[static,const] | QTextCursor_SelectionType | BlockUnderCursor | Enum constant QTextCursor::BlockUnderCursor | |
[static,const] | QTextCursor_SelectionType | Document | Enum constant QTextCursor::Document | |
[static,const] | QTextCursor_MoveOperation | Down | Enum constant QTextCursor::Down | |
[static,const] | QTextCursor_MoveOperation | End | Enum constant QTextCursor::End | |
[static,const] | QTextCursor_MoveOperation | EndOfBlock | Enum constant QTextCursor::EndOfBlock | |
[static,const] | QTextCursor_MoveOperation | EndOfLine | Enum constant QTextCursor::EndOfLine | |
[static,const] | QTextCursor_MoveOperation | EndOfWord | Enum constant QTextCursor::EndOfWord | |
[static,const] | QTextCursor_MoveMode | KeepAnchor | Enum constant QTextCursor::KeepAnchor | |
[static,const] | QTextCursor_MoveOperation | Left | Enum constant QTextCursor::Left | |
[static,const] | QTextCursor_SelectionType | LineUnderCursor | Enum constant QTextCursor::LineUnderCursor | |
[static,const] | QTextCursor_MoveMode | MoveAnchor | Enum constant QTextCursor::MoveAnchor | |
[static,const] | QTextCursor_MoveOperation | NextBlock | Enum constant QTextCursor::NextBlock | |
[static,const] | QTextCursor_MoveOperation | NextCell | Enum constant QTextCursor::NextCell | |
[static,const] | QTextCursor_MoveOperation | NextCharacter | Enum constant QTextCursor::NextCharacter | |
[static,const] | QTextCursor_MoveOperation | NextRow | Enum constant QTextCursor::NextRow | |
[static,const] | QTextCursor_MoveOperation | NextWord | Enum constant QTextCursor::NextWord | |
[static,const] | QTextCursor_MoveOperation | NoMove | Enum constant QTextCursor::NoMove | |
[static,const] | QTextCursor_MoveOperation | PreviousBlock | Enum constant QTextCursor::PreviousBlock | |
[static,const] | QTextCursor_MoveOperation | PreviousCell | Enum constant QTextCursor::PreviousCell | |
[static,const] | QTextCursor_MoveOperation | PreviousCharacter | Enum constant QTextCursor::PreviousCharacter | |
[static,const] | QTextCursor_MoveOperation | PreviousRow | Enum constant QTextCursor::PreviousRow | |
[static,const] | QTextCursor_MoveOperation | PreviousWord | Enum constant QTextCursor::PreviousWord | |
[static,const] | QTextCursor_MoveOperation | Right | Enum constant QTextCursor::Right | |
[static,const] | QTextCursor_MoveOperation | Start | Enum constant QTextCursor::Start | |
[static,const] | QTextCursor_MoveOperation | StartOfBlock | Enum constant QTextCursor::StartOfBlock | |
[static,const] | QTextCursor_MoveOperation | StartOfLine | Enum constant QTextCursor::StartOfLine | |
[static,const] | QTextCursor_MoveOperation | StartOfWord | Enum constant QTextCursor::StartOfWord | |
[static,const] | QTextCursor_MoveOperation | Up | Enum constant QTextCursor::Up | |
[static,const] | QTextCursor_MoveOperation | WordLeft | Enum constant QTextCursor::WordLeft | |
[static,const] | QTextCursor_MoveOperation | WordRight | Enum constant QTextCursor::WordRight | |
[static,const] | QTextCursor_SelectionType | WordUnderCursor | Enum constant QTextCursor::WordUnderCursor |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
!= | Signature: [const] bool != (const QTextCursor rhs) Description: Method bool QTextCursor::operator!=(const QTextCursor &rhs) |
< | Signature: [const] bool < (const QTextCursor rhs) Description: Method bool QTextCursor::operator<(const QTextCursor &rhs) |
<= | Signature: [const] bool <= (const QTextCursor rhs) Description: Method bool QTextCursor::operator<=(const QTextCursor &rhs) |
== | Signature: [const] bool == (const QTextCursor rhs) Description: Method bool QTextCursor::operator==(const QTextCursor &rhs) |
> | Signature: [const] bool > (const QTextCursor rhs) Description: Method bool QTextCursor::operator>(const QTextCursor &rhs) |
>= | Signature: [const] bool >= (const QTextCursor rhs) Description: Method bool QTextCursor::operator>=(const QTextCursor &rhs) |
BlockUnderCursor | Signature: [static,const] QTextCursor_SelectionType BlockUnderCursor Description: Enum constant QTextCursor::BlockUnderCursor Python specific notes: |
Document | Signature: [static,const] QTextCursor_SelectionType Document Description: Enum constant QTextCursor::Document Python specific notes: |
Down | Signature: [static,const] QTextCursor_MoveOperation Down Description: Enum constant QTextCursor::Down Python specific notes: |
End | Signature: [static,const] QTextCursor_MoveOperation End Description: Enum constant QTextCursor::End Python specific notes: |
EndOfBlock | Signature: [static,const] QTextCursor_MoveOperation EndOfBlock Description: Enum constant QTextCursor::EndOfBlock Python specific notes: |
EndOfLine | Signature: [static,const] QTextCursor_MoveOperation EndOfLine Description: Enum constant QTextCursor::EndOfLine Python specific notes: |
EndOfWord | Signature: [static,const] QTextCursor_MoveOperation EndOfWord Description: Enum constant QTextCursor::EndOfWord Python specific notes: |
KeepAnchor | Signature: [static,const] QTextCursor_MoveMode KeepAnchor Description: Enum constant QTextCursor::KeepAnchor Python specific notes: |
Left | Signature: [static,const] QTextCursor_MoveOperation Left Description: Enum constant QTextCursor::Left Python specific notes: |
LineUnderCursor | Signature: [static,const] QTextCursor_SelectionType LineUnderCursor Description: Enum constant QTextCursor::LineUnderCursor Python specific notes: |
MoveAnchor | Signature: [static,const] QTextCursor_MoveMode MoveAnchor Description: Enum constant QTextCursor::MoveAnchor Python specific notes: |
NextBlock | Signature: [static,const] QTextCursor_MoveOperation NextBlock Description: Enum constant QTextCursor::NextBlock Python specific notes: |
NextCell | Signature: [static,const] QTextCursor_MoveOperation NextCell Description: Enum constant QTextCursor::NextCell Python specific notes: |
NextCharacter | Signature: [static,const] QTextCursor_MoveOperation NextCharacter Description: Enum constant QTextCursor::NextCharacter Python specific notes: |
NextRow | Signature: [static,const] QTextCursor_MoveOperation NextRow Description: Enum constant QTextCursor::NextRow Python specific notes: |
NextWord | Signature: [static,const] QTextCursor_MoveOperation NextWord Description: Enum constant QTextCursor::NextWord Python specific notes: |
NoMove | Signature: [static,const] QTextCursor_MoveOperation NoMove Description: Enum constant QTextCursor::NoMove Python specific notes: |
PreviousBlock | Signature: [static,const] QTextCursor_MoveOperation PreviousBlock Description: Enum constant QTextCursor::PreviousBlock Python specific notes: |
PreviousCell | Signature: [static,const] QTextCursor_MoveOperation PreviousCell Description: Enum constant QTextCursor::PreviousCell Python specific notes: |
PreviousCharacter | Signature: [static,const] QTextCursor_MoveOperation PreviousCharacter Description: Enum constant QTextCursor::PreviousCharacter Python specific notes: |
PreviousRow | Signature: [static,const] QTextCursor_MoveOperation PreviousRow Description: Enum constant QTextCursor::PreviousRow Python specific notes: |
PreviousWord | Signature: [static,const] QTextCursor_MoveOperation PreviousWord Description: Enum constant QTextCursor::PreviousWord Python specific notes: |
Right | Signature: [static,const] QTextCursor_MoveOperation Right Description: Enum constant QTextCursor::Right Python specific notes: |
Start | Signature: [static,const] QTextCursor_MoveOperation Start Description: Enum constant QTextCursor::Start Python specific notes: |
StartOfBlock | Signature: [static,const] QTextCursor_MoveOperation StartOfBlock Description: Enum constant QTextCursor::StartOfBlock Python specific notes: |
StartOfLine | Signature: [static,const] QTextCursor_MoveOperation StartOfLine Description: Enum constant QTextCursor::StartOfLine Python specific notes: |
StartOfWord | Signature: [static,const] QTextCursor_MoveOperation StartOfWord Description: Enum constant QTextCursor::StartOfWord Python specific notes: |
Up | Signature: [static,const] QTextCursor_MoveOperation Up Description: Enum constant QTextCursor::Up Python specific notes: |
WordLeft | Signature: [static,const] QTextCursor_MoveOperation WordLeft Description: Enum constant QTextCursor::WordLeft Python specific notes: |
WordRight | Signature: [static,const] QTextCursor_MoveOperation WordRight Description: Enum constant QTextCursor::WordRight Python specific notes: |
WordUnderCursor | Signature: [static,const] QTextCursor_SelectionType WordUnderCursor Description: Enum constant QTextCursor::WordUnderCursor Python specific notes: |
_assign | Signature: void _assign (const QTextCursor other) Description: Assigns another object to self |
_const_cast | Signature: [const] QTextCursor ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
anchor | Signature: [const] int anchor Description: Method int QTextCursor::anchor() |
assign | Signature: QTextCursor assign (const QTextCursor other) Description: Method QTextCursor &QTextCursor::operator=(const QTextCursor &other) |
atBlockEnd | Signature: [const] bool atBlockEnd Description: Method bool QTextCursor::atBlockEnd() |
atBlockStart | Signature: [const] bool atBlockStart Description: Method bool QTextCursor::atBlockStart() |
atEnd | Signature: [const] bool atEnd Description: Method bool QTextCursor::atEnd() |
atStart | Signature: [const] bool atStart Description: Method bool QTextCursor::atStart() |
beginEditBlock | Signature: void beginEditBlock Description: Method void QTextCursor::beginEditBlock() |
block | Signature: [const] QTextBlock block Description: Method QTextBlock QTextCursor::block() |
blockCharFormat | Signature: [const] QTextCharFormat blockCharFormat Description: Method QTextCharFormat QTextCursor::blockCharFormat() Python specific notes: |
blockCharFormat= | Signature: void blockCharFormat= (const QTextCharFormat format) Description: Method void QTextCursor::setBlockCharFormat(const QTextCharFormat &format) Python specific notes: |
blockFormat | Signature: [const] QTextBlockFormat blockFormat Description: Method QTextBlockFormat QTextCursor::blockFormat() Python specific notes: |
blockFormat= | Signature: void blockFormat= (const QTextBlockFormat format) Description: Method void QTextCursor::setBlockFormat(const QTextBlockFormat &format) Python specific notes: |
blockNumber | Signature: [const] int blockNumber Description: Method int QTextCursor::blockNumber() |
charFormat | Signature: [const] QTextCharFormat charFormat Description: Method QTextCharFormat QTextCursor::charFormat() Python specific notes: |
charFormat= | Signature: void charFormat= (const QTextCharFormat format) Description: Method void QTextCursor::setCharFormat(const QTextCharFormat &format) Python specific notes: |
clearSelection | Signature: void clearSelection Description: Method void QTextCursor::clearSelection() |
columnNumber | Signature: [const] int columnNumber Description: Method int QTextCursor::columnNumber() |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
createList | (1) Signature: QTextList ptr createList (const QTextListFormat format) Description: Method QTextList *QTextCursor::createList(const QTextListFormat &format) |
(2) Signature: QTextList ptr createList (const QTextListFormat_Style style) Description: Method QTextList *QTextCursor::createList(QTextListFormat::Style style) | |
currentFrame | Signature: [const] QTextFrame ptr currentFrame Description: Method QTextFrame *QTextCursor::currentFrame() |
currentList | Signature: [const] QTextList ptr currentList Description: Method QTextList *QTextCursor::currentList() |
currentTable | Signature: [const] QTextTable ptr currentTable Description: Method QTextTable *QTextCursor::currentTable() |
deleteChar | Signature: void deleteChar Description: Method void QTextCursor::deleteChar() |
deletePreviousChar | Signature: void deletePreviousChar Description: Method void QTextCursor::deletePreviousChar() |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
document | Signature: [const] QTextDocument ptr document Description: Method QTextDocument *QTextCursor::document() |
dup | Signature: [const] new QTextCursor ptr dup Description: Creates a copy of self Python specific notes: |
endEditBlock | Signature: void endEditBlock Description: Method void QTextCursor::endEditBlock() |
hasComplexSelection | Signature: [const] bool hasComplexSelection Description: Method bool QTextCursor::hasComplexSelection() |
hasSelection | Signature: [const] bool hasSelection Description: Method bool QTextCursor::hasSelection() |
insertBlock | (1) Signature: void insertBlock Description: Method void QTextCursor::insertBlock() |
(2) Signature: void insertBlock (const QTextBlockFormat format) Description: Method void QTextCursor::insertBlock(const QTextBlockFormat &format) | |
(3) Signature: void insertBlock (const QTextBlockFormat format, const QTextCharFormat charFormat) Description: Method void QTextCursor::insertBlock(const QTextBlockFormat &format, const QTextCharFormat &charFormat) | |
insertFragment | Signature: void insertFragment (const QTextDocumentFragment fragment) Description: Method void QTextCursor::insertFragment(const QTextDocumentFragment &fragment) |
insertFrame | Signature: QTextFrame ptr insertFrame (const QTextFrameFormat format) Description: Method QTextFrame *QTextCursor::insertFrame(const QTextFrameFormat &format) |
insertHtml | Signature: void insertHtml (string html) Description: Method void QTextCursor::insertHtml(const QString &html) |
insertImage | (1) Signature: void insertImage (const QTextImageFormat format, const QTextFrameFormat_Position alignment) Description: Method void QTextCursor::insertImage(const QTextImageFormat &format, QTextFrameFormat::Position alignment) |
(2) Signature: void insertImage (const QTextImageFormat format) Description: Method void QTextCursor::insertImage(const QTextImageFormat &format) | |
(3) Signature: void insertImage (string name) Description: Method void QTextCursor::insertImage(const QString &name) | |
(4) Signature: void insertImage (const QImage image, string name = QString()) Description: Method void QTextCursor::insertImage(const QImage &image, const QString &name) | |
insertList | (1) Signature: QTextList ptr insertList (const QTextListFormat format) Description: Method QTextList *QTextCursor::insertList(const QTextListFormat &format) |
(2) Signature: QTextList ptr insertList (const QTextListFormat_Style style) Description: Method QTextList *QTextCursor::insertList(QTextListFormat::Style style) | |
insertTable | (1) Signature: QTextTable ptr insertTable (int rows, int cols, const QTextTableFormat format) Description: Method QTextTable *QTextCursor::insertTable(int rows, int cols, const QTextTableFormat &format) |
(2) Signature: QTextTable ptr insertTable (int rows, int cols) Description: Method QTextTable *QTextCursor::insertTable(int rows, int cols) | |
insertText | (1) Signature: void insertText (string text) Description: Method void QTextCursor::insertText(const QString &text) |
(2) Signature: void insertText (string text, const QTextCharFormat format) Description: Method void QTextCursor::insertText(const QString &text, const QTextCharFormat &format) | |
isCopyOf? | Signature: [const] bool isCopyOf? (const QTextCursor other) Description: Method bool QTextCursor::isCopyOf(const QTextCursor &other) |
isNull? | Signature: [const] bool isNull? Description: Method bool QTextCursor::isNull() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
joinPreviousEditBlock | Signature: void joinPreviousEditBlock Description: Method void QTextCursor::joinPreviousEditBlock() |
mergeBlockCharFormat | Signature: void mergeBlockCharFormat (const QTextCharFormat modifier) Description: Method void QTextCursor::mergeBlockCharFormat(const QTextCharFormat &modifier) |
mergeBlockFormat | Signature: void mergeBlockFormat (const QTextBlockFormat modifier) Description: Method void QTextCursor::mergeBlockFormat(const QTextBlockFormat &modifier) |
mergeCharFormat | Signature: void mergeCharFormat (const QTextCharFormat modifier) Description: Method void QTextCursor::mergeCharFormat(const QTextCharFormat &modifier) |
movePosition | Signature: bool movePosition (const QTextCursor_MoveOperation op, const QTextCursor_MoveMode arg2 = QTextCursor::MoveAnchor, int n = 1) Description: Method bool QTextCursor::movePosition(QTextCursor::MoveOperation op, QTextCursor::MoveMode, int n) |
new | (1) Signature: [static] new QTextCursor new Description: Constructor QTextCursor::QTextCursor() This method creates an object of class QTextCursor. Python specific notes: |
(2) Signature: [static] new QTextCursor new (QTextDocument ptr document) Description: Constructor QTextCursor::QTextCursor(QTextDocument *document) This method creates an object of class QTextCursor. Python specific notes: | |
(3) Signature: [static] new QTextCursor new (QTextFrame ptr frame) Description: Constructor QTextCursor::QTextCursor(QTextFrame *frame) This method creates an object of class QTextCursor. Python specific notes: | |
(4) Signature: [static] new QTextCursor new (const QTextBlock block) Description: Constructor QTextCursor::QTextCursor(const QTextBlock &block) This method creates an object of class QTextCursor. Python specific notes: | |
(5) Signature: [static] new QTextCursor new (const QTextCursor cursor) Description: Constructor QTextCursor::QTextCursor(const QTextCursor &cursor) This method creates an object of class QTextCursor. Python specific notes: | |
position | Signature: [const] int position Description: Method int QTextCursor::position() Python specific notes: |
removeSelectedText | Signature: void removeSelectedText Description: Method void QTextCursor::removeSelectedText() |
select | Signature: void select (const QTextCursor_SelectionType selection) Description: Method void QTextCursor::select(QTextCursor::SelectionType selection) |
selectedTableCells | Signature: [const] void selectedTableCells (int ptr firstRow, int ptr numRows, int ptr firstColumn, int ptr numColumns) Description: Method void QTextCursor::selectedTableCells(int *firstRow, int *numRows, int *firstColumn, int *numColumns) |
selectedText | Signature: [const] string selectedText Description: Method QString QTextCursor::selectedText() |
selection | Signature: [const] QTextDocumentFragment selection Description: Method QTextDocumentFragment QTextCursor::selection() |
selectionEnd | Signature: [const] int selectionEnd Description: Method int QTextCursor::selectionEnd() |
selectionStart | Signature: [const] int selectionStart Description: Method int QTextCursor::selectionStart() |
setBlockCharFormat | Signature: void setBlockCharFormat (const QTextCharFormat format) Description: Method void QTextCursor::setBlockCharFormat(const QTextCharFormat &format) Python specific notes: |
setBlockFormat | Signature: void setBlockFormat (const QTextBlockFormat format) Description: Method void QTextCursor::setBlockFormat(const QTextBlockFormat &format) Python specific notes: |
setCharFormat | Signature: void setCharFormat (const QTextCharFormat format) Description: Method void QTextCursor::setCharFormat(const QTextCharFormat &format) Python specific notes: |
setPosition | Signature: void setPosition (int pos, const QTextCursor_MoveMode mode = QTextCursor::MoveAnchor) Description: Method void QTextCursor::setPosition(int pos, QTextCursor::MoveMode mode) |
setVisualNavigation | Signature: void setVisualNavigation (bool b) Description: Method void QTextCursor::setVisualNavigation(bool b) Python specific notes: |
visualNavigation | Signature: [const] bool visualNavigation Description: Method bool QTextCursor::visualNavigation() Python specific notes: |
visualNavigation= | Signature: void visualNavigation= (bool b) Description: Method void QTextCursor::setVisualNavigation(bool b) Python specific notes: |