![]() |
Qt 6.x
The Qt SDK
|
#include <private/qquickvaluetypes_p.h>
#include <qtquickglobal.h>
#include <private/qqmlvaluetype_p.h>
#include <private/qcolorspace_p.h>
#include <private/qfont_p.h>
#include "moc_qquickvaluetypes_p.cpp"
Go to the source code of this file.
Functions | |
template<typename T , int NumParams> | |
QVariant | createValueTypeFromNumberString (const QString &s) |
template<typename T > | |
void | setFontProperty (QFont &font, void(QFont::*setter)(T value), QString name, const QJSValue ¶ms, bool *ok) |
Definition at line 166 of file qquickvaluetypes.cpp.
References QVarLengthArray< T, Prealloc >::append(), next, ok, Q_STATIC_ASSERT_X, and QVLABaseBase::size().
void setFontProperty | ( | QFont & | font, |
void(QFont::*)(T value) | setter, | ||
QString | name, | ||
const QJSValue & | params, | ||
bool * | ok | ||
) |
Definition at line 794 of file qquickvaluetypes.cpp.
References font, ok, and QJSValue::property().
Referenced by QQuickFontValueType::create().