In questa pagina

QQmlSA::Property Class

class QQmlSA::Property

Rappresenta una proprietà QML. Maggiori informazioni...

Intestazione: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Stato: Anteprima tecnologica

Questa classe è in anteprima tecnologica ed è soggetta a modifiche.

Funzioni pubbliche

Property()
Property(const QQmlSA::Property &other)
Property(QQmlSA::Property &&other)
~Property()
bool isReadonly() const
bool isValid() const
QQmlSA::Element type() const
QString typeName() const
QQmlSA::Property &operator=(QQmlSA::Property &&other)
QQmlSA::Property &operator=(const QQmlSA::Property &other)
bool operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)
bool operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)

Descrizione dettagliata

Documentazione sulle funzioni membro

Property::Property()

Crea un nuovo oggetto Property.

Property::Property(const QQmlSA::Property &other)

Crea una copia di other.

[noexcept] Property::Property(QQmlSA::Property &&other)

Crea un'istanza di Property tramite il costrutto "move".

[noexcept] Property::~Property()

Elimina questa proprietà.

bool Property::isReadonly() const

Restituisce “ true ” se questa proprietà è di sola lettura, altrimenti “ false ”.

bool Property::isValid() const

Restituisce " true " se questa proprietà è valida, altrimenti " false ".

QQmlSA::Element Property::type() const

Restituisce il tipo di questa proprietà.

QString Property::typeName() const

Restituisce il nome del tipo di questa proprietà.

[noexcept] QQmlSA::Property &Property::operator=(QQmlSA::Property &&other)

L'operazione Move assegna ` other ` a questa istanza di Property.

QQmlSA::Property &Property::operator=(const QQmlSA::Property &other)

Assegna ` other ` a questa istanza di `Property`.

Elementi non membri correlati

bool operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)

Restituisce ` true ` se ` lhs ` e ` rhs ` non sono uguali, e ` false ` in caso contrario.

bool operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)

Restituisce ` true ` se ` lhs ` e ` rhs ` sono uguali, e ` false ` in caso contrario.

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