QtBase
v6.3.1
|
#include <qtextformat_p.h>
Public Types | |
typedef QList< QTextFormat > | FormatVector |
Public Member Functions | |
QTextFormatCollection () | |
~QTextFormatCollection () | |
void | clear () |
QTextFormat | objectFormat (int objectIndex) const |
void | setObjectFormat (int objectIndex, const QTextFormat &format) |
int | objectFormatIndex (int objectIndex) const |
void | setObjectFormatIndex (int objectIndex, int formatIndex) |
int | createObjectIndex (const QTextFormat &f) |
int | indexForFormat (const QTextFormat &f) |
bool | hasFormatCached (const QTextFormat &format) const |
QTextFormat | format (int idx) const |
QTextBlockFormat | blockFormat (int index) const |
QTextCharFormat | charFormat (int index) const |
QTextListFormat | listFormat (int index) const |
QTextTableFormat | tableFormat (int index) const |
QTextImageFormat | imageFormat (int index) const |
int | numFormats () const |
QFont | defaultFont () const |
void | setDefaultFont (const QFont &f) |
void | setSuperScriptBaseline (qreal baseline) |
void | setSubScriptBaseline (qreal baseline) |
void | setBaselineOffset (qreal baseline) |
QTextCharFormat | defaultTextFormat () const |
Public Attributes | |
FormatVector | formats |
QList< qint32 > | objFormats |
QMultiHash< size_t, int > | hashes |
Definition at line 60 of file qtextformat_p.h.
Definition at line 95 of file qtextformat_p.h.
|
inline |
Definition at line 63 of file qtextformat_p.h.
QTextFormatCollection::~QTextFormatCollection | ( | ) |
Definition at line 3952 of file qtextformat.cpp.
|
inline |
|
inline |
void QTextFormatCollection::clear | ( | ) |
Definition at line 3956 of file qtextformat.cpp.
int QTextFormatCollection::createObjectIndex | ( | const QTextFormat & | f | ) |
Definition at line 4017 of file qtextformat.cpp.
|
inline |
|
inline |
Definition at line 108 of file qtextformat_p.h.
QTextFormat QTextFormatCollection::format | ( | int | idx | ) | const |
Definition at line 4024 of file qtextformat.cpp.
bool QTextFormatCollection::hasFormatCached | ( | const QTextFormat & | format | ) | const |
Definition at line 3992 of file qtextformat.cpp.
|
inline |
Definition at line 90 of file qtextformat_p.h.
int QTextFormatCollection::indexForFormat | ( | const QTextFormat & | f | ) |
|
inline |
Definition at line 86 of file qtextformat_p.h.
|
inline |
Definition at line 93 of file qtextformat_p.h.
|
inline |
int QTextFormatCollection::objectFormatIndex | ( | int | objectIndex | ) | const |
Definition at line 4005 of file qtextformat.cpp.
Definition at line 106 of file qtextformat_p.h.
|
inline |
Definition at line 70 of file qtextformat_p.h.
void QTextFormatCollection::setObjectFormatIndex | ( | int | objectIndex, |
int | formatIndex | ||
) |
Definition at line 105 of file qtextformat_p.h.
Definition at line 104 of file qtextformat_p.h.
|
inline |
Definition at line 88 of file qtextformat_p.h.
FormatVector QTextFormatCollection::formats |
Definition at line 97 of file qtextformat_p.h.
QMultiHash<size_t,int> QTextFormatCollection::hashes |
Definition at line 99 of file qtextformat_p.h.
Definition at line 98 of file qtextformat_p.h.