Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickvaluetypes.cpp File Reference

(8181d2874e2f3825a22fef667b2f5f5b3784dee9)

#include <private/qquickvaluetypes_p.h>
#include <qtquickglobal.h>
#include <private/qqmlvaluetype_p.h>
#include <private/qqmlstringconverters_p.h>
#include <private/qcolorspace_p.h>
#include <private/qfont_p.h>
#include "moc_qquickvaluetypes_p.cpp"
+ Include dependency graph for qquickvaluetypes.cpp:

Go to the source code of this file.

Functions

template<typename T >
void setFontProperty (QFont &font, void(QFont::*setter)(T value), QString name, const QJSValue &params, bool *ok)
 

Function Documentation

◆ setFontProperty()

template<typename T >
void setFontProperty ( QFont & font,
void(QFont::*)(T value) setter,
QString name,
const QJSValue & params,
bool * ok )

Definition at line 883 of file qquickvaluetypes.cpp.

References font, ok, and QJSValue::property().

Referenced by QQuickFontValueType::create().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: