![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QTextFormatPrivate () | |
size_t | hash () const |
bool | operator== (const QTextFormatPrivate &rhs) const |
void | insertProperty (qint32 key, const QVariant &value) |
void | clearProperty (qint32 key) |
int | propertyIndex (qint32 key) const |
QVariant | property (qint32 key) const |
bool | hasProperty (qint32 key) const |
void | resolveFont (const QFont &defaultFont) |
const QFont & | font () const |
![]() | |
QSharedData () noexcept | |
Constructs a QSharedData object with a reference count of 0. | |
QSharedData (const QSharedData &) noexcept | |
Constructs a QSharedData object with reference count 0. | |
QSharedData & | operator= (const QSharedData &)=delete |
~QSharedData ()=default | |
Public Attributes | |
QList< Property > | props |
![]() | |
QAtomicInt | ref |
Friends | |
QDataStream & | operator<< (QDataStream &, const QTextFormat &) |
QDataStream & | operator>> (QDataStream &, QTextFormat &) |
Definition at line 146 of file qtextformat.cpp.
|
inline |
Definition at line 149 of file qtextformat.cpp.
Definition at line 179 of file qtextformat.cpp.
References QTextFormat::FirstFontProperty, i, and QTextFormat::LastFontProperty.
Referenced by QTextFormat::clearProperty(), and QTextFormat::setObjectIndex().
|
inline |
Definition at line 212 of file qtextformat.cpp.
|
inline |
Definition at line 151 of file qtextformat.cpp.
Referenced by operator==().
|
inline |
Definition at line 207 of file qtextformat.cpp.
References propertyIndex().
Referenced by QTextFormat::hasProperty(), and resolveFont().
Definition at line 165 of file qtextformat.cpp.
References QTextFormat::FirstFontProperty, i, and QTextFormat::LastFontProperty.
Referenced by QTextFormat::setObjectIndex(), QTextFormat::setProperty(), and QTextFormat::setProperty().
|
inline |
Definition at line 199 of file qtextformat.cpp.
References propertyIndex().
Referenced by QTextFormat::boolProperty(), QTextFormat::brushProperty(), QTextFormat::colorProperty(), QTextFormat::doubleProperty(), QTextFormat::intProperty(), QTextFormat::lengthProperty(), QTextFormat::lengthVectorProperty(), QTextFormat::objectIndex(), QTextFormat::penProperty(), QTextFormat::property(), and QTextFormat::stringProperty().
|
inline |
Definition at line 191 of file qtextformat.cpp.
References i.
Referenced by hasProperty(), and property().
Definition at line 288 of file qtextformat.cpp.
References QTextFormat::FontSizeAdjustment, hasProperty(), QFont::pixelSize(), QFont::pointSize(), QFont::pointSizeF(), property, qBound(), qRound(), QFont::resolve(), QFont::resolveMask(), QFont::setPixelSize(), QFont::setPointSizeF(), QFont::setResolveMask(), and toInt().
Referenced by QTextFormatCollection::indexForFormat().
|
friend |
Definition at line 404 of file qtextformat.cpp.
|
friend |
Definition at line 437 of file qtextformat.cpp.
QList<Property> QTextFormatPrivate::props |
Definition at line 218 of file qtextformat.cpp.
Referenced by QTextFormat::operator==(), operator==(), QTextFormat::properties(), and QTextFormat::propertyCount().