Класс PropertyPair
(QQmlContext::PropertyPair)| Заголовок: | #include <PropertyPair> |
| qmake: | QT += qml |
| С тех пор: | Qt 5.11 |
Открытые переменные
| QString | name |
| QVariant | value |
Подробное описание
Этот структуре содержит имя свойства и значение свойства. Она используется в качестве параметра для функции setContextProperties.
См. также QQmlContext::setContextProperties().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qqmlcontext-propertypair.html