43 #include <QtGui/qtguiglobal.h>
44 #include <QtCore/qobject.h>
45 #include <QtGui/qtextformat.h>
46 #include <QtGui/qtextlayout.h>
47 #include <QtGui/qglyphrun.h>
72 int formatIndex()
const;
76 int objectIndex()
const;
129 int firstPosition()
const;
130 int lastPosition()
const;
162 Q_GUI_EXPORT
iterator &operator++();
164 Q_GUI_EXPORT
iterator &operator--();
201 bool isValid()
const;
214 int blockFormatIndex()
const;
216 int charFormatIndex()
const;
231 int userState()
const;
232 void setUserState(
int state);
234 int revision()
const;
235 void setRevision(
int rev);
238 void setVisible(
bool visible);
240 int blockNumber()
const;
241 int firstLineNumber()
const;
243 void setLineCount(
int count);
244 int lineCount()
const;
263 Q_GUI_EXPORT
iterator &operator++();
265 Q_GUI_EXPORT
iterator &operator--();
310 int charFormatIndex()
const;
313 #if !defined(QT_NO_RAWFONT)
The QObject class is the base class of all Qt objects.
The QString class provides a Unicode character string.
The QSyntaxHighlighter class allows you to define syntax highlighting rules, and in addition you can ...
The QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock....
bool operator!=(const iterator &o) const
bool operator==(const iterator &o) const
constexpr iterator()=default
The QTextBlockFormat class provides formatting information for blocks of text in a QTextDocument....
The QTextBlockGroup class provides a container for text blocks within a QTextDocument....
The QTextBlock class provides a container for text fragments in a QTextDocument. \inmodule QtGui.
int fragmentIndex() const
QTextBlock(const QTextBlock &o)
bool operator<(const QTextBlock &o) const
bool operator==(const QTextBlock &o) const
bool operator!=(const QTextBlock &o) const
QTextBlock & operator=(const QTextBlock &o)
QTextBlock(QTextDocumentPrivate *priv, int b)
QTextBlock previous() const
The QTextBlockUserData class is used to associate custom data with blocks of text....
The QTextCharFormat class provides formatting information for characters in a QTextDocument....
The QTextCursor class offers an API to access and modify QTextDocuments.
The QTextDocument class holds formatted text.
The QTextFormat class provides formatting information for a QTextDocument. \inmodule QtGui.
QTextFrameFormat toFrameFormat() const
The QTextFragment class holds a piece of text in a QTextDocument with a single QTextCharFormat....
bool operator==(const QTextFragment &o) const
QTextFragment(const QTextDocumentPrivate *priv, int f, int fe)
bool operator!=(const QTextFragment &o) const
bool operator<(const QTextFragment &o) const
QTextFragment(const QTextFragment &o)
QTextFragment & operator=(const QTextFragment &o)
The iterator class provides an iterator for reading the contents of a QTextFrame.
QTextFrame * currentFrame() const
bool operator==(const iterator &o) const
constexpr iterator() noexcept=default
bool operator!=(const iterator &o) const
The QTextFrameFormat class provides formatting information for frames in a QTextDocument....
The QTextFrame class represents a frame in a QTextDocument. \inmodule QtGui.
void setFrameFormat(const QTextFrameFormat &format)
QTextFrameFormat frameFormat() const
The QTextLayout class is used to lay out and render text. \inmodule QtGui.
The QTextList class provides a decorated list of items in a QTextDocument. \inmodule QtGui.
The QTextObject class is a base class for different kinds of objects that can group parts of a QTextD...
void setFormat(const QTextFormat &format)
QTextFormat format() const
The QTextTableCell class represents the properties of a cell in a QTextTable. \inmodule QtGui.
typename C::iterator iterator
QHighDpiScaling::Point position(T, QHighDpiScaling::Point::Kind)
#define Q_DISABLE_COPY(Class)
GLenum GLuint GLenum GLsizei length
GLboolean GLboolean GLboolean b
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei GLsizei GLenum format
QtPrivate::QRegularExpressionMatchIteratorRangeBasedForIterator begin(const QRegularExpressionMatchIterator &iterator)
SSL_CTX int(* cb)(SSL *ssl, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)
Q_DECLARE_TYPEINFO(QTextFrame::iterator, Q_RELOCATABLE_TYPE)