QQmlSA::Property Class

class QQmlSA::Property

Stellt eine QML-Eigenschaft dar. Mehr...

Kopfzeile: #include <Property>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Status: Technische Vorschau

Öffentliche Funktionen

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)

Detaillierte Beschreibung

Dokumentation der Mitgliederfunktionen

Property::Property()

Konstruiert ein neues Property-Objekt.

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

Erzeugt eine Kopie von other.

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

Move-konstruiert eine Property-Instanz.

[noexcept] Property::~Property()

Zerstört diese Eigenschaft.

bool Property::isReadonly() const

Gibt true zurück, wenn diese Eigenschaft schreibgeschützt ist, andernfalls false.

bool Property::isValid() const

Gibt true zurück, wenn diese Eigenschaft gültig ist, andernfalls false.

QQmlSA::Element Property::type() const

Gibt den Typ dieser Eigenschaft zurück.

QString Property::typeName() const

Gibt den Namen des Typs dieser Eigenschaft zurück.

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

Verschieben - weist other dieser Eigenschaftsinstanz zu.

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

Weist dieser Eigenschaftsinstanz other zu.

Verwandte Nicht-Mitglieder

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

Gibt true zurück, wenn lhs und rhs nicht gleich sind, und andernfalls false.

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

Gibt true zurück, wenn lhs und rhs gleich sind, und andernfalls false.

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