QQmlSA::Property Class
class QQmlSA::PropertyRepresenta uma propriedade QML. Mais...
| Cabeçalho: | #include <qqmlsa.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
| Status: | Prévia tecnológica |
Esta classe está em pré-visualização tecnológica e está sujeita a alterações.
Funções 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) |
Elementos não-membros relacionados
| bool | operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs) |
| bool | operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs) |
Documentação da função de membro
Property::Property()
Cria um novo objeto Property.
Property::Property(const QQmlSA::Property &other)
Cria uma cópia de other.
[noexcept] Property::Property(QQmlSA::Property &&other)
Cria uma instância de Property por meio da construção por move.
[noexcept] Property::~Property()
Exclui essa propriedade.
bool Property::isReadonly() const
Retorna ` true ` se essa propriedade for somente leitura; caso contrário, retorna ` false `.
bool Property::isValid() const
Retorna ` true ` se esta propriedade for válida; caso contrário, retorna ` false `.
QQmlSA::Element Property::type() const
Retorna o tipo desta propriedade.
QString Property::typeName() const
Retorna o nome do tipo desta propriedade.
[noexcept] QQmlSA::Property &Property::operator=(QQmlSA::Property &&other)
A função move-assigns atribui ` other ` a esta instância da propriedade.
QQmlSA::Property &Property::operator=(const QQmlSA::Property &other)
Atribui ` other ` a esta instância da `Property`.
Não-membros relacionados
bool operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)
Retorna ` true ` se ` lhs ` e ` rhs ` não forem iguais e, caso contrário, ` false `.
bool operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)
Retorna ` true ` se ` lhs ` e ` rhs ` forem iguais e, caso contrário, ` 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.