![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Functions | |
Q_QML_EXPORT QVariant | variantFromString (const QString &, QMetaType preferredType, bool *ok=nullptr) |
Q_QML_EXPORT QVariant | colorFromString (const QString &, bool *ok=nullptr) |
Q_QML_EXPORT unsigned | rgbaFromString (const QString &, bool *ok=nullptr) |
Q_QML_EXPORT QPointF | pointFFromString (const QString &, bool *ok=nullptr) |
Q_QML_EXPORT QSizeF | sizeFFromString (const QString &, bool *ok=nullptr) |
Q_QML_EXPORT QRectF | rectFFromString (const QString &, bool *ok=nullptr) |
template<int NumParams, char16_t... separators> | |
bool | isValidNumberString (const QString &s, std::array< double, NumParams > *numbers=nullptr) |
template<typename T, int NumParams, char16_t... separators> | |
T | valueTypeFromNumberString (const QString &s, bool *ok=nullptr) |
Definition at line 56 of file qqmlstringconverters.cpp.
bool QQmlStringConverters::isValidNumberString | ( | const QString & | s, |
std::array< double, NumParams > * | numbers = nullptr ) |
Definition at line 51 of file qqmlstringconverters_p.h.
Definition at line 90 of file qqmlstringconverters.cpp.
Definition at line 102 of file qqmlstringconverters.cpp.
unsigned QQmlStringConverters::rgbaFromString | ( | const QString & | s, |
bool * | ok = nullptr ) |
Definition at line 61 of file qqmlstringconverters.cpp.
Definition at line 96 of file qqmlstringconverters.cpp.
T QQmlStringConverters::valueTypeFromNumberString | ( | const QString & | s, |
bool * | ok = nullptr ) |
Definition at line 89 of file qqmlstringconverters_p.h.
QT_BEGIN_NAMESPACE QVariant QQmlStringConverters::variantFromString | ( | const QString & | s, |
QMetaType | preferredType, | ||
bool * | ok = nullptr ) |
Definition at line 15 of file qqmlstringconverters.cpp.