In questa pagina

Qt Labs Platform QML Types

Il modulo sperimentale Qt Labs Platform fornisce tipi QML per le estensioni native della piattaforma. Questi tipi QML funzionano in combinazione con Qt Quick e ai controlliQt Quick .

I tipi QML possono essere importati nell’applicazione utilizzando la seguente istruzione di importazione nel file .qml:

import Qt.labs.platform

Tipi QML

Menu

Un menu nativo

MenuBar

Una barra dei menu nativa

MenuItem

Una voce di menu nativa

MenuItemGroup

Un gruppo per la gestione delle voci di menu native

MenuSeparator

Un separatore di menu nativo

SystemTrayIcon

Un'icona nella barra delle notifiche

Nota: non è garantito che i tipi presenti nei moduli di Qt.labs rimangano compatibili nelle versioni future.

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