Sur cette page

QQmlSA::Property Class

class QQmlSA::Property

Représente une propriété QML. Plus d'informations...

En-tête : #include <Property>
CMake : find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)

Fonctions publiques

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)

Description détaillée

Documentation des fonctions membres

Property::Property()

Construit un nouvel objet Property.

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

Crée une copie de other.

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

Move-construit une instance de propriété.

[noexcept] Property::~Property()

Détruit cette propriété.

bool Property::isReadonly() const

Renvoie true si cette propriété est en lecture seule, false dans le cas contraire.

bool Property::isValid() const

Renvoie true si cette propriété est valide, false dans le cas contraire.

QQmlSA::Element Property::type() const

Renvoie le type de cette propriété.

QString Property::typeName() const

Renvoie le nom du type de cette propriété.

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

Move-assigne other à cette instance de propriété.

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

Attribue other à cette instance de propriété.

Non-membres associés

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

Renvoie true si lhs et rhs ne sont pas égaux, et false dans le cas contraire.

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

Renvoie true si lhs et rhs sont égaux, et false sinon.

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