API reference - Class QTextCursorNotation used in Ruby API documentation Description: Binding of QTextCursor Sub-classes: MoveMode, MoveOperation, SelectionType
Public constructors
Public methods
Public static methods and constants
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[const] bool !=(const QTextCursor rhs)Description: Method bool QTextCursor::operator!=(const QTextCursor &rhs) [const] bool <(const QTextCursor rhs)Description: Method bool QTextCursor::operator<(const QTextCursor &rhs) [const] bool <=(const QTextCursor rhs)Description: Method bool QTextCursor::operator<=(const QTextCursor &rhs) [const] bool ==(const QTextCursor rhs)Description: Method bool QTextCursor::operator==(const QTextCursor &rhs) [const] bool >(const QTextCursor rhs)Description: Method bool QTextCursor::operator>(const QTextCursor &rhs) [const] bool >=(const QTextCursor rhs)Description: Method bool QTextCursor::operator>=(const QTextCursor &rhs) [static,const] new QTextCursor_SelectionType ptr BlockUnderCursorDescription: Enum constant QTextCursor::BlockUnderCursor [static,const] new QTextCursor_SelectionType ptr DocumentDescription: Enum constant QTextCursor::Document [static,const] new QTextCursor_MoveOperation ptr DownDescription: Enum constant QTextCursor::Down [static,const] new QTextCursor_MoveOperation ptr EndDescription: Enum constant QTextCursor::End [static,const] new QTextCursor_MoveOperation ptr EndOfBlockDescription: Enum constant QTextCursor::EndOfBlock [static,const] new QTextCursor_MoveOperation ptr EndOfLineDescription: Enum constant QTextCursor::EndOfLine [static,const] new QTextCursor_MoveOperation ptr EndOfWordDescription: Enum constant QTextCursor::EndOfWord [static,const] new QTextCursor_MoveMode ptr KeepAnchorDescription: Enum constant QTextCursor::KeepAnchor [static,const] new QTextCursor_MoveOperation ptr LeftDescription: Enum constant QTextCursor::Left [static,const] new QTextCursor_SelectionType ptr LineUnderCursorDescription: Enum constant QTextCursor::LineUnderCursor [static,const] new QTextCursor_MoveMode ptr MoveAnchorDescription: Enum constant QTextCursor::MoveAnchor [static,const] new QTextCursor_MoveOperation ptr NextBlockDescription: Enum constant QTextCursor::NextBlock [static,const] new QTextCursor_MoveOperation ptr NextCellDescription: Enum constant QTextCursor::NextCell [static,const] new QTextCursor_MoveOperation ptr NextCharacterDescription: Enum constant QTextCursor::NextCharacter [static,const] new QTextCursor_MoveOperation ptr NextRowDescription: Enum constant QTextCursor::NextRow [static,const] new QTextCursor_MoveOperation ptr NextWordDescription: Enum constant QTextCursor::NextWord [static,const] new QTextCursor_MoveOperation ptr NoMoveDescription: Enum constant QTextCursor::NoMove [static,const] new QTextCursor_MoveOperation ptr PreviousBlockDescription: Enum constant QTextCursor::PreviousBlock [static,const] new QTextCursor_MoveOperation ptr PreviousCellDescription: Enum constant QTextCursor::PreviousCell [static,const] new QTextCursor_MoveOperation ptr PreviousCharacterDescription: Enum constant QTextCursor::PreviousCharacter [static,const] new QTextCursor_MoveOperation ptr PreviousRowDescription: Enum constant QTextCursor::PreviousRow [static,const] new QTextCursor_MoveOperation ptr PreviousWordDescription: Enum constant QTextCursor::PreviousWord [static,const] new QTextCursor_MoveOperation ptr RightDescription: Enum constant QTextCursor::Right [static,const] new QTextCursor_MoveOperation ptr StartDescription: Enum constant QTextCursor::Start [static,const] new QTextCursor_MoveOperation ptr StartOfBlockDescription: Enum constant QTextCursor::StartOfBlock [static,const] new QTextCursor_MoveOperation ptr StartOfLineDescription: Enum constant QTextCursor::StartOfLine [static,const] new QTextCursor_MoveOperation ptr StartOfWordDescription: Enum constant QTextCursor::StartOfWord [static,const] new QTextCursor_MoveOperation ptr UpDescription: Enum constant QTextCursor::Up [static,const] new QTextCursor_MoveOperation ptr WordLeftDescription: Enum constant QTextCursor::WordLeft [static,const] new QTextCursor_MoveOperation ptr WordRightDescription: Enum constant QTextCursor::WordRight [static,const] new QTextCursor_SelectionType ptr WordUnderCursorDescription: Enum constant QTextCursor::WordUnderCursor void _assign(const QTextCursor other)Description: Assigns another object to self void _createDescription: 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. void _destroyDescription: 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. [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. [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. void _manageDescription: 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. void _unmanageDescription: 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. [const] int anchorDescription: Method int QTextCursor::anchor() QTextCursor assign(const QTextCursor other)Description: Method QTextCursor &QTextCursor::operator=(const QTextCursor &other) [const] bool atBlockEndDescription: Method bool QTextCursor::atBlockEnd() [const] bool atBlockStartDescription: Method bool QTextCursor::atBlockStart() [const] bool atEndDescription: Method bool QTextCursor::atEnd() [const] bool atStartDescription: Method bool QTextCursor::atStart() void beginEditBlockDescription: Method void QTextCursor::beginEditBlock() [const] QTextBlock blockDescription: Method QTextBlock QTextCursor::block() [const] QTextCharFormat blockCharFormatDescription: Method QTextCharFormat QTextCursor::blockCharFormat() Python specific notes:The object exposes a readable attribute 'blockCharFormat'. This is the getter. void blockCharFormat=(const QTextCharFormat format)Description: Method void QTextCursor::setBlockCharFormat(const QTextCharFormat &format) Python specific notes:The object exposes a writable attribute 'blockCharFormat'. This is the setter. [const] QTextBlockFormat blockFormatDescription: Method QTextBlockFormat QTextCursor::blockFormat() Python specific notes:The object exposes a readable attribute 'blockFormat'. This is the getter. void blockFormat=(const QTextBlockFormat format)Description: Method void QTextCursor::setBlockFormat(const QTextBlockFormat &format) Python specific notes:The object exposes a writable attribute 'blockFormat'. This is the setter. [const] int blockNumberDescription: Method int QTextCursor::blockNumber() [const] QTextCharFormat charFormatDescription: Method QTextCharFormat QTextCursor::charFormat() Python specific notes:The object exposes a readable attribute 'charFormat'. This is the getter. void charFormat=(const QTextCharFormat format)Description: Method void QTextCursor::setCharFormat(const QTextCharFormat &format) Python specific notes:The object exposes a writable attribute 'charFormat'. This is the setter. void clearSelectionDescription: Method void QTextCursor::clearSelection() [const] int columnNumberDescription: Method int QTextCursor::columnNumber() void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead QTextList ptr createList(const QTextListFormat format)Description: Method QTextList *QTextCursor::createList(const QTextListFormat &format) QTextList ptr createList(const QTextListFormat_Style style)Description: Method QTextList *QTextCursor::createList(QTextListFormat::Style style) [const] QTextFrame ptr currentFrameDescription: Method QTextFrame *QTextCursor::currentFrame() [const] QTextList ptr currentListDescription: Method QTextList *QTextCursor::currentList() [const] QTextTable ptr currentTableDescription: Method QTextTable *QTextCursor::currentTable() void deleteCharDescription: Method void QTextCursor::deleteChar() void deletePreviousCharDescription: Method void QTextCursor::deletePreviousChar() void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [const] QTextDocument ptr documentDescription: Method QTextDocument *QTextCursor::document() [const] new QTextCursor ptr dupDescription: Creates a copy of self void endEditBlockDescription: Method void QTextCursor::endEditBlock() [const] bool hasComplexSelectionDescription: Method bool QTextCursor::hasComplexSelection() [const] bool hasSelectionDescription: Method bool QTextCursor::hasSelection() void insertBlockDescription: Method void QTextCursor::insertBlock() void insertBlock(const QTextBlockFormat format)Description: Method void QTextCursor::insertBlock(const QTextBlockFormat &format) void insertBlock(const QTextBlockFormat format,const QTextCharFormat charFormat)Description: Method void QTextCursor::insertBlock(const QTextBlockFormat &format, const QTextCharFormat &charFormat) void insertFragment(const QTextDocumentFragment fragment)Description: Method void QTextCursor::insertFragment(const QTextDocumentFragment &fragment) QTextFrame ptr insertFrame(const QTextFrameFormat format)Description: Method QTextFrame *QTextCursor::insertFrame(const QTextFrameFormat &format) void insertHtml(string html)Description: Method void QTextCursor::insertHtml(const QString &html) void insertImage(const QTextImageFormat format,const QTextFrameFormat_Position alignment)Description: Method void QTextCursor::insertImage(const QTextImageFormat &format, QTextFrameFormat::Position alignment) void insertImage(const QTextImageFormat format)Description: Method void QTextCursor::insertImage(const QTextImageFormat &format) void insertImage(string name)Description: Method void QTextCursor::insertImage(const QString &name) void insertImage(const QImage image,string name = QString())Description: Method void QTextCursor::insertImage(const QImage &image, const QString &name) QTextList ptr insertList(const QTextListFormat format)Description: Method QTextList *QTextCursor::insertList(const QTextListFormat &format) QTextList ptr insertList(const QTextListFormat_Style style)Description: Method QTextList *QTextCursor::insertList(QTextListFormat::Style style) QTextTable ptr insertTable(int rows,int cols,const QTextTableFormat format)Description: Method QTextTable *QTextCursor::insertTable(int rows, int cols, const QTextTableFormat &format) QTextTable ptr insertTable(int rows,int cols)Description: Method QTextTable *QTextCursor::insertTable(int rows, int cols) void insertText(string text)Description: Method void QTextCursor::insertText(const QString &text) void insertText(string text,const QTextCharFormat format)Description: Method void QTextCursor::insertText(const QString &text, const QTextCharFormat &format) [const] bool isCopyOf?(const QTextCursor other)Description: Method bool QTextCursor::isCopyOf(const QTextCursor &other) [const] bool isNull?Description: Method bool QTextCursor::isNull() [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 void joinPreviousEditBlockDescription: Method void QTextCursor::joinPreviousEditBlock() void mergeBlockCharFormat(const QTextCharFormat modifier)Description: Method void QTextCursor::mergeBlockCharFormat(const QTextCharFormat &modifier) void mergeBlockFormat(const QTextBlockFormat modifier)Description: Method void QTextCursor::mergeBlockFormat(const QTextBlockFormat &modifier) void mergeCharFormat(const QTextCharFormat modifier)Description: Method void QTextCursor::mergeCharFormat(const QTextCharFormat &modifier) 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) [static] new QTextCursor newDescription: Constructor QTextCursor::QTextCursor() This method creates an object of class QTextCursor. Python specific notes:This method is the default initializer of the object [static] new QTextCursor new(QTextDocument ptr document)Description: Constructor QTextCursor::QTextCursor(QTextDocument *document) This method creates an object of class QTextCursor. Python specific notes:This method is the default initializer of the object [static] new QTextCursor new(QTextFrame ptr frame)Description: Constructor QTextCursor::QTextCursor(QTextFrame *frame) This method creates an object of class QTextCursor. Python specific notes:This method is the default initializer of the object [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:This method is the default initializer of the object [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:This method is the default initializer of the object [const] int positionDescription: Method int QTextCursor::position() Python specific notes:The object exposes a readable attribute 'position'. This is the getter. void removeSelectedTextDescription: Method void QTextCursor::removeSelectedText() void select(const QTextCursor_SelectionType selection)Description: Method void QTextCursor::select(QTextCursor::SelectionType selection) [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) [const] string selectedTextDescription: Method QString QTextCursor::selectedText() [const] QTextDocumentFragment selectionDescription: Method QTextDocumentFragment QTextCursor::selection() [const] int selectionEndDescription: Method int QTextCursor::selectionEnd() [const] int selectionStartDescription: Method int QTextCursor::selectionStart() void setBlockCharFormat(const QTextCharFormat format)Description: Method void QTextCursor::setBlockCharFormat(const QTextCharFormat &format) Python specific notes:The object exposes a writable attribute 'blockCharFormat'. This is the setter. void setBlockFormat(const QTextBlockFormat format)Description: Method void QTextCursor::setBlockFormat(const QTextBlockFormat &format) Python specific notes:The object exposes a writable attribute 'blockFormat'. This is the setter. void setCharFormat(const QTextCharFormat format)Description: Method void QTextCursor::setCharFormat(const QTextCharFormat &format) Python specific notes:The object exposes a writable attribute 'charFormat'. This is the setter. void setPosition(int pos,const QTextCursor_MoveMode mode = QTextCursor::MoveAnchor)Description: Method void QTextCursor::setPosition(int pos, QTextCursor::MoveMode mode) void setVisualNavigation(bool b)Description: Method void QTextCursor::setVisualNavigation(bool b) Python specific notes:The object exposes a writable attribute 'visualNavigation'. This is the setter. [const] bool visualNavigationDescription: Method bool QTextCursor::visualNavigation() Python specific notes:The object exposes a readable attribute 'visualNavigation'. This is the getter. void visualNavigation=(bool b)Description: Method void QTextCursor::setVisualNavigation(bool b) Python specific notes:The object exposes a writable attribute 'visualNavigation'. This is the setter. |