En esta página

qmlProperty QML Value Type

un valor que hace referencia a una propiedad de un objeto. Más...

Import Statement: import QtQml
Since: Qt 6.12
In C++: QQmlProperty

Propiedades

Descripción detallada

El tipo « qmlProperty » hace referencia a una propiedad de una instancia concreta de un objeto.

Un valor no válido de tipo « qmlProperty » tiene un « null » object y un « name » vacío.

qmlProperty Los valores no se pueden construir desde QML, pero se pueden pasar desde C++.

Véase también Tipos de valor de QML.

Documentación de propiedades

name : string [read-only]

Esta propiedad de solo lectura contiene el nombre de la propiedad a la que hace referencia.

object : QtObject [read-only]

Esta propiedad de solo lectura contiene el objeto de la propiedad a la que hace referencia.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.