NAME

Qt::Gui::QTextCursor

PUBLIC METHODS

QTextCursor()
QTextCursor(QTextDocument * document)
QTextCursor(QTextFrame * frame)
QTextCursor(const QTextBlock & block)
QTextCursor(QTextCursorPrivate * d)
QTextCursor(const QTextCursor & cursor)
QTextCursor(QTextDocumentPrivate * p, int pos)
~QTextCursor()
int anchor()
bool atBlockEnd()
bool atBlockStart()
bool atEnd()
bool atStart()
void beginEditBlock()
QTextBlock block()
QTextCharFormat blockCharFormat()
QTextBlockFormat blockFormat()
int blockNumber()
QTextCharFormat charFormat()
void clearSelection()
int columnNumber()
QTextList * createList(const QTextListFormat & format)
QTextList * createList(QTextListFormat::Style style)
QTextFrame * currentFrame()
QTextList * currentList()
QTextTable * currentTable()
void deleteChar()
void deletePreviousChar()
QTextDocument * document()
void endEditBlock()
bool hasComplexSelection()
bool hasSelection()
void insertBlock()
void insertBlock(const QTextBlockFormat & format)
void insertBlock(const QTextBlockFormat & format, const QTextCharFormat & charFormat)
void insertFragment(const QTextDocumentFragment & fragment)
QTextFrame * insertFrame(const QTextFrameFormat & format)
void insertHtml(const QString & html)
void insertImage(const QTextImageFormat & format)
void insertImage(const QString & name)
void insertImage(const QTextImageFormat & format, QTextFrameFormat::Position alignment)
void insertImage(const QImage & image, const QString & name = QString())
void insertImage(const QImage & image, const QString & name)
QTextList * insertList(const QTextListFormat & format)
QTextList * insertList(QTextListFormat::Style style)
QTextTable * insertTable(int rows, int cols)
QTextTable * insertTable(int rows, int cols, const QTextTableFormat & format)
void insertText(const QString & text)
void insertText(const QString & text, const QTextCharFormat & format)
bool isCopyOf(const QTextCursor & other)
bool isNull()
void joinPreviousEditBlock()
void mergeBlockCharFormat(const QTextCharFormat & modifier)
void mergeBlockFormat(const QTextBlockFormat & modifier)
void mergeCharFormat(const QTextCharFormat & modifier)
bool movePosition(QTextCursor::MoveOperation op, QTextCursor::MoveMode arg1, int n = 1)
bool movePosition(QTextCursor::MoveOperation op, QTextCursor::MoveMode arg1, int n)
bool movePosition(QTextCursor::MoveOperation op, QTextCursor::MoveMode arg1 = QTextCursor::MoveAnchor, int n = 1)
bool movePosition(QTextCursor::MoveOperation op, QTextCursor::MoveMode arg1, int n = 1)
bool operator!=(const QTextCursor & rhs)
bool operator<(const QTextCursor & rhs)
bool operator<=(const QTextCursor & rhs)
QTextCursor & operator=(const QTextCursor & other)
bool operator==(const QTextCursor & rhs)
bool operator>(const QTextCursor & rhs)
bool operator>=(const QTextCursor & rhs)
int position()
void removeSelectedText()
void select(QTextCursor::SelectionType selection)
void selectedTableCells(int * firstRow, int * numRows, int * firstColumn, int * numColumns)
QString selectedText()
QTextDocumentFragment selection()
int selectionEnd()
int selectionStart()
void setBlockCharFormat(const QTextCharFormat & format)
void setBlockFormat(const QTextBlockFormat & format)
void setCharFormat(const QTextCharFormat & format)
void setPosition(int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor)
void setPosition(int pos, QTextCursor::MoveMode mode)
void setVisualNavigation(bool b)
bool visualNavigation()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html