Espaços de nomes QML
Um namespace QML é um tipo especial que expõe apenas enumerações e não pode ser instanciado. Um namespace só pode ser declarado em C++, usando a macro ` QML_ELEMENT ` ou ` QML_NAMED_ELEMENT ` dentro de um namespace C++ marcado com ` Q_NAMESPACE`.
Os namespaces do QML podem ser usados para extrair enumerações de outros tipos.
© 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.