En esta página

QQmlSA::Property Class

class QQmlSA::Property

Representa una propiedad de QML. Más información...

Encabezado: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Estado: Versión preliminar tecnológica

Esta clase se encuentra en fase de vista previa tecnológica y está sujeta a cambios.

Funciones públicas

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)

Descripción detallada

Documentación de funciones de miembro

Property::Property()

Crea un nuevo objeto Property.

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

Crea una copia de other.

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

Crea una instancia de Property mediante la construcción por asignación.

[noexcept] Property::~Property()

Elimina esta propiedad.

bool Property::isReadonly() const

Devuelve « true » si esta propiedad es de solo lectura; en caso contrario, devuelve « false ».

bool Property::isValid() const

Devuelve « true » si esta propiedad es válida; en caso contrario, devuelve « false ».

QQmlSA::Element Property::type() const

Devuelve el tipo de esta propiedad.

QString Property::typeName() const

Devuelve el nombre del tipo de esta propiedad.

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

Asigna « other » a esta instancia de Property.

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

Asigna « other » a esta instancia de Property.

Elementos no miembros relacionados

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

Devuelve « true » si « lhs » y « rhs » no son iguales, y « false » en caso contrario.

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

Devuelve « true » si « lhs » y « rhs » son iguales, y « false » en 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.