PropertyPair Class

(QQmlContext::PropertyPair)
Header: #include <PropertyPair>
qmake: QT += qml
Since: Qt 5.11

Public Variables

QString name
QVariant value

Detailed Description

This struct contains a property name and a property value. It is used as a parameter for the setContextProperties function.

See also QQmlContext::setContextProperties().

Member Type Documentation

Property Documentation

Member Function Documentation

Member Variable Documentation

Related Non-Members

Macro Documentation