![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
struct | List |
Public Types | |
enum | ListType { Ordered , Unordered , Ordered , Unordered } |
enum | ListFormat { Bullet , Disc , Square , Decimal , LowerAlpha , UpperAlpha , LowerRoman , UpperRoman , Bullet , Disc , Square , Decimal , LowerAlpha , UpperAlpha , LowerRoman , UpperRoman } |
enum | ListType { Ordered , Unordered , Ordered , Unordered } |
enum | ListFormat { Bullet , Disc , Square , Decimal , LowerAlpha , UpperAlpha , LowerRoman , UpperRoman , Bullet , Disc , Square , Decimal , LowerAlpha , UpperAlpha , LowerRoman , UpperRoman } |
Static Public Member Functions | |
static QString | toAlpha (int value, bool upper) |
static QString | toRoman (int value, bool upper) |
static QString | toAlpha (int value, bool upper) |
static QString | toRoman (int value, bool upper) |
Public Attributes | |
QString | text |
QTextLayout & | layout |
QList< QQuickStyledTextImgTag * > * | imgTags |
QFont | baseFont |
QStack< List > | listStack |
QUrl | baseUrl |
bool * | fontSizeModified |
QQmlContext * | context |
int | nbImages = 0 |
bool | hasNewLine = true |
bool | updateImagePositions = false |
bool | preFormat = false |
bool | prependSpace = false |
bool | hasSpace = true |
bool | preloadImages |
Static Public Attributes | |
static const QChar | lessThan |
static const QChar | greaterThan |
static const QChar | equals |
static const QChar | singleQuote |
static const QChar | doubleQuote |
static const QChar | slash |
static const QChar | ampersand |
static const QChar | bullet |
static const QChar | disc |
static const QChar | square |
static const QChar | lineFeed |
static const QChar | space |
static const int | tabsize = 6 |
Definition at line 42 of file qquickstyledtext.cpp.
Enumerator | |
---|---|
Bullet | |
Disc | |
Square | |
Decimal | |
LowerAlpha | |
UpperAlpha | |
LowerRoman | |
UpperRoman | |
Bullet | |
Disc | |
Square | |
Decimal | |
LowerAlpha | |
UpperAlpha | |
LowerRoman | |
UpperRoman |
Definition at line 46 of file qquickstyledtext.cpp.
Enumerator | |
---|---|
Bullet | |
Disc | |
Square | |
Decimal | |
LowerAlpha | |
UpperAlpha | |
LowerRoman | |
UpperRoman | |
Bullet | |
Disc | |
Square | |
Decimal | |
LowerAlpha | |
UpperAlpha | |
LowerRoman | |
UpperRoman |
Definition at line 46 of file qquickstyledtext.cpp.
Enumerator | |
---|---|
Ordered | |
Unordered | |
Ordered | |
Unordered |
Definition at line 45 of file qquickstyledtext.cpp.
Enumerator | |
---|---|
Ordered | |
Unordered | |
Ordered | |
Unordered |
Definition at line 45 of file qquickstyledtext.cpp.
|
inline |
Definition at line 54 of file qquickstyledtext.cpp.
References QQuickStyledTextPrivate(), context, fontSizeModified, and preloadImages.
Referenced by QQuickStyledTextPrivate().
|
inline |
Definition at line 54 of file qquickstyledtext.cpp.
void QQuickStyledTextPrivate::appendText | ( | const QString & | textIn, |
int | start, | ||
int | length, | ||
QString & | textOut ) |
Definition at line 272 of file qquickstyledtext.cpp.
References hasNewLine, hasSpace, and prependSpace.
void QQuickStyledTextPrivate::appendText | ( | const QString & | textIn, |
int | start, | ||
int | length, | ||
QString & | textOut ) |
void QQuickStyledTextPrivate::parse | ( | ) |
Definition at line 166 of file qquickstyledtext.cpp.
References hasNewLine, hasSpace, preFormat, and prependSpace.
void QQuickStyledTextPrivate::parse | ( | ) |
bool QQuickStyledTextPrivate::parseAnchorAttributes | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QTextCharFormat & | format ) |
Definition at line 628 of file qquickstyledtext.cpp.
bool QQuickStyledTextPrivate::parseAnchorAttributes | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QTextCharFormat & | format ) |
std::pair< QStringView, QStringView > QQuickStyledTextPrivate::parseAttribute | ( | const QChar *& | ch, |
const QString & | textIn ) |
Definition at line 719 of file qquickstyledtext.cpp.
std::pair< QStringView, QStringView > QQuickStyledTextPrivate::parseAttribute | ( | const QChar *& | ch, |
const QString & | textIn ) |
bool QQuickStyledTextPrivate::parseCloseTag | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QString & | textOut ) |
Definition at line 443 of file qquickstyledtext.cpp.
References hasNewLine, hasSpace, and preFormat.
bool QQuickStyledTextPrivate::parseCloseTag | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QString & | textOut ) |
void QQuickStyledTextPrivate::parseEntity | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QString & | textOut ) |
Definition at line 527 of file qquickstyledtext.cpp.
void QQuickStyledTextPrivate::parseEntity | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QString & | textOut ) |
bool QQuickStyledTextPrivate::parseFontAttributes | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QTextCharFormat & | format ) |
Definition at line 552 of file qquickstyledtext.cpp.
bool QQuickStyledTextPrivate::parseFontAttributes | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QTextCharFormat & | format ) |
void QQuickStyledTextPrivate::parseImageAttributes | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QString & | textOut ) |
Definition at line 646 of file qquickstyledtext.cpp.
References nbImages, preloadImages, and updateImagePositions.
void QQuickStyledTextPrivate::parseImageAttributes | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QString & | textOut ) |
bool QQuickStyledTextPrivate::parseOrderedListAttributes | ( | const QChar *& | ch, |
const QString & | textIn ) |
Definition at line 574 of file qquickstyledtext.cpp.
References Decimal, QQuickStyledTextPrivate::List::format, QQuickStyledTextPrivate::List::level, LowerAlpha, LowerRoman, Ordered, QQuickStyledTextPrivate::List::type, UpperAlpha, and UpperRoman.
bool QQuickStyledTextPrivate::parseOrderedListAttributes | ( | const QChar *& | ch, |
const QString & | textIn ) |
bool QQuickStyledTextPrivate::parseTag | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QString & | textOut, | ||
QTextCharFormat & | format ) |
Definition at line 296 of file qquickstyledtext.cpp.
References Bullet, Decimal, Disc, QQuickStyledTextPrivate::List::format, hasSpace, QQuickStyledTextPrivate::List::level, LowerAlpha, LowerRoman, Ordered, preFormat, prependSpace, Square, toAlpha(), toRoman(), QQuickStyledTextPrivate::List::type, Unordered, UpperAlpha, and UpperRoman.
bool QQuickStyledTextPrivate::parseTag | ( | const QChar *& | ch, |
const QString & | textIn, | ||
QString & | textOut, | ||
QTextCharFormat & | format ) |
bool QQuickStyledTextPrivate::parseUnorderedListAttributes | ( | const QChar *& | ch, |
const QString & | textIn ) |
Definition at line 603 of file qquickstyledtext.cpp.
References Bullet, Disc, QQuickStyledTextPrivate::List::format, QQuickStyledTextPrivate::List::level, Square, QQuickStyledTextPrivate::List::type, and Unordered.
bool QQuickStyledTextPrivate::parseUnorderedListAttributes | ( | const QChar *& | ch, |
const QString & | textIn ) |
QStringView QQuickStyledTextPrivate::parseValue | ( | const QChar *& | ch, |
const QString & | textIn ) |
Definition at line 752 of file qquickstyledtext.cpp.
QStringView QQuickStyledTextPrivate::parseValue | ( | const QChar *& | ch, |
const QString & | textIn ) |
void QQuickStyledTextPrivate::setFontSize | ( | int | size, |
QTextCharFormat & | format ) |
Definition at line 286 of file qquickstyledtext.cpp.
References fontSizeModified.
void QQuickStyledTextPrivate::setFontSize | ( | int | size, |
QTextCharFormat & | format ) |
Definition at line 79 of file qquickstyledtext.cpp.
Definition at line 79 of file qquickstyledtext.cpp.
|
static |
Definition at line 767 of file qquickstyledtext.cpp.
Referenced by parseTag().
|
static |
|
static |
Definition at line 781 of file qquickstyledtext.cpp.
Referenced by parseTag().
|
static |
|
static |
Definition at line 109 of file qquickstyledtext.cpp.
QFont QQuickStyledTextPrivate::baseFont |
Definition at line 90 of file qquickstyledtext.cpp.
QUrl QQuickStyledTextPrivate::baseUrl |
Definition at line 92 of file qquickstyledtext.cpp.
|
static |
Definition at line 110 of file qquickstyledtext.cpp.
QQmlContext * QQuickStyledTextPrivate::context |
Definition at line 94 of file qquickstyledtext.cpp.
Referenced by QQuickStyledTextPrivate(), testing.tools.safetynet_job.JobRun::_BuildRunMetadata(), testing.tools.safetynet_job.JobRun::_IncrementalRun(), testing.tools.safetynet_job.JobRun::_WriteCheckpoint(), testing.tools.safetynet_job.JobRun::_WriteRawJson(), and testing.tools.safetynet_job.JobRun::Run().
|
static |
Definition at line 111 of file qquickstyledtext.cpp.
|
static |
Definition at line 107 of file qquickstyledtext.cpp.
|
static |
Definition at line 105 of file qquickstyledtext.cpp.
bool * QQuickStyledTextPrivate::fontSizeModified |
Definition at line 93 of file qquickstyledtext.cpp.
Referenced by QQuickStyledTextPrivate(), and setFontSize().
|
static |
Definition at line 104 of file qquickstyledtext.cpp.
bool QQuickStyledTextPrivate::hasNewLine = true |
Definition at line 96 of file qquickstyledtext.cpp.
Referenced by appendText(), parse(), and parseCloseTag().
bool QQuickStyledTextPrivate::hasSpace = true |
Definition at line 100 of file qquickstyledtext.cpp.
Referenced by appendText(), parse(), parseCloseTag(), and parseTag().
QList< QQuickStyledTextImgTag * > * QQuickStyledTextPrivate::imgTags |
Definition at line 89 of file qquickstyledtext.cpp.
QTextLayout & QQuickStyledTextPrivate::layout |
Definition at line 88 of file qquickstyledtext.cpp.
|
static |
Definition at line 103 of file qquickstyledtext.cpp.
|
static |
Definition at line 113 of file qquickstyledtext.cpp.
Definition at line 91 of file qquickstyledtext.cpp.
int QQuickStyledTextPrivate::nbImages = 0 |
Definition at line 95 of file qquickstyledtext.cpp.
Referenced by parseImageAttributes().
bool QQuickStyledTextPrivate::preFormat = false |
Definition at line 98 of file qquickstyledtext.cpp.
Referenced by parse(), parseCloseTag(), and parseTag().
bool QQuickStyledTextPrivate::preloadImages |
Definition at line 101 of file qquickstyledtext.cpp.
Referenced by QQuickStyledTextPrivate(), and parseImageAttributes().
bool QQuickStyledTextPrivate::prependSpace = false |
Definition at line 99 of file qquickstyledtext.cpp.
Referenced by appendText(), parse(), and parseTag().
|
static |
Definition at line 106 of file qquickstyledtext.cpp.
|
static |
Definition at line 108 of file qquickstyledtext.cpp.
|
static |
Definition at line 114 of file qquickstyledtext.cpp.
|
static |
Definition at line 112 of file qquickstyledtext.cpp.
|
static |
Definition at line 115 of file qquickstyledtext.cpp.
QString QQuickStyledTextPrivate::text |
Definition at line 87 of file qquickstyledtext.cpp.
bool QQuickStyledTextPrivate::updateImagePositions = false |
Definition at line 97 of file qquickstyledtext.cpp.
Referenced by parseImageAttributes().