Auf dieser Seite

QQmlSA::Property Class

class QQmlSA::Property

Stellt eine QML-Eigenschaft dar. Mehr...

Kopfzeile: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Status: Technologievorschau

Diese Klasse befindet sich in der Technologievorschau und kann sich noch ändern.

Ö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)

Ausführliche Beschreibung

Dokumentation zu Mitgliedsfunktionen

Property::Property()

Erstellt ein neues Property-Objekt.

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

Erstellt eine Kopie von „ other “.

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

Erzeugt eine Property-Instanz mittels „Move“-Konstruktion.

[noexcept] Property::~Property()

Löscht 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)

Weist dieser Property-Instanz „ other “ zu.

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

Weist dieser Property-Instanz „ 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, andernfalls „ false “.

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

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

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