In questa pagina

qmlProperty QML Value Type

un valore che si riferisce a una proprietà di un oggetto. Per saperne di più...

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

Proprietà

Descrizione dettagliata

Il tipo qmlProperty si riferisce a una proprietà di una specifica istanza di oggetto.

Un valore non valido di tipo ` qmlProperty ` presenta un ` null ` object e un ` name` vuoto.

qmlProperty I valori non sono costruibili da QML, ma possono essere passati da C++.

Vedi anche Tipi di valore QML.

Documentazione sulle proprietà

name : string [read-only]

Questa proprietà di sola lettura contiene il nome della proprietà a cui si fa riferimento.

object : QtObject [read-only]

Questa proprietà di sola lettura contiene l'oggetto della proprietà a cui si fa riferimento.

© 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.