7#include <QtGui/qtguiglobal.h>
8#include <QtCore/qstring.h>
9#include <QtCore/qshareddata.h>
10#include <QtGui/qtextdocument.h>
11#include <QtGui/qtextformat.h>
39 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(
QTextCursor)
54 int positionInBlock()
const;
92 bool movePosition(MoveOperation op, MoveMode = MoveAnchor,
int n = 1);
94 bool visualNavigation()
const;
95 void setVisualNavigation(
bool b);
97 void setVerticalMovementX(
int x);
98 int verticalMovementX()
const;
100 void setKeepPositionOnInsert(
bool b);
101 bool keepPositionOnInsert()
const;
104 void deletePreviousChar();
115 bool hasComplexSelection()
const;
116 void removeSelectedText();
117 void clearSelection();
118 int selectionStart()
const;
119 int selectionEnd()
const;
123 void selectedTableCells(
int *firstRow,
int *numRows,
int *firstColumn,
int *numColumns)
const;
139 bool atBlockStart()
const;
140 bool atBlockEnd()
const;
141 bool atStart()
const;
164#ifndef QT_NO_TEXTHTMLPARSER
165 void insertHtml(
const QString &html);
167#if QT_CONFIG(textmarkdownreader)
168 void insertMarkdown(
const QString &markdown,
169 QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub);
177 void beginEditBlock();
178 void joinPreviousEditBlock();
190 int blockNumber()
const;
191 int columnNumber()
const;
\macro QT_RESTRICTED_CAST_FROM_ASCII
\reentrant \inmodule QtGui
SelectionType
This enum describes the types of selection that can be applied with the select() function.
MoveMode
\value MoveAnchor Moves the anchor to the same position as the cursor itself.
void swap(QTextCursor &other) noexcept
MoveOperation
\value NoMove Keep the cursor where it is
\reentrant \inmodule QtGui
Position
This enum describes how a frame is located relative to the surrounding text.
Style
This enum describes the symbols used to decorate list items:
Combined button and popup list for selecting options.
constexpr bool operator!=(const timespec &t1, const timespec &t2)
static bool hasSelection()
n void setPosition(void) \n\
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei GLenum format
bool operator>(const QPoint &a, const QPoint &b)
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
static bool operator<(const QSettingsIniKey &k1, const QSettingsIniKey &k2)
bool operator<=(const QUuid &lhs, const QUuid &rhs) noexcept
bool operator>=(const QUuid &lhs, const QUuid &rhs) noexcept
QItemSelection * selection
[0]
selection select(topLeft, bottomRight)