5#include <private/qqmlstringconverters_p.h>
32 std::array<double, 2> numbers;
37 u
"({ x: %1, y: %2 })"_s.arg(numbers[0]).arg(numbers[1]));
40 std::array<double, 2> numbers;
45 u
"({ width: %1, height: %2 })"_s.arg(numbers[0]).arg(numbers[1]));
48 std::array<double, 4> numbers;
53 u
"({ x: %1, y: %2, width: %3, height: %4 })"_s.arg(numbers[0])
static QQmlJSStructuredTypeError hasError(const QString &typeName, const QString &value)
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isValidNumberString(const QString &s, std::array< double, NumParams > *numbers=nullptr)
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
static QQmlJSStructuredTypeError withValidString()
static QQmlJSStructuredTypeError withInvalidString()
static QQmlJSStructuredTypeError fromSuggestedString(const QString &enhancedString)