QQmlSA::Property Class
class QQmlSA::PropertyReprésente une propriété QML. En savoir plus...
| En-tête : | #include <qqmlsa.h> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
| Statut : | Aperçu technologique |
Cette classe est en avant-première technologique et est susceptible d'être modifiée.
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) |
Éléments non membres associés
| bool | operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs) |
| bool | operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs) |
Documentation sur les fonctions membres
Property::Property()
Crée un nouvel objet Property.
Property::Property(const QQmlSA::Property &other)
Crée une copie de other.
[noexcept] Property::Property(QQmlSA::Property &&other)
Crée une instance de Property à l'aide de la construction par déplacement.
[noexcept] Property::~Property()
Supprime 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)
Cette instruction « move-assigns » attribue l'other à cette instance de Property.
QQmlSA::Property &Property::operator=(const QQmlSA::Property &other)
Attribue la propriété « other » à cette instance de la propriété.
Éléments 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 » dans le cas contraire.
© 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.