| 頭: | #include <PropertyPair> |
| qmake: | QT += qml |
| Since: | Qt 5.11 |
| QString | name |
| QVariant | value |
This struct contains a property name and a property value. It is used as a parameter for the
setContextProperties
函數。
另請參閱 QQmlContext::setContextProperties ().