Qt Labs Platform QML Types

Das experimentelle Qt Labs Platform Modul bietet QML-Typen für native Plattformerweiterungen. Diese QML-Typen arbeiten in Verbindung mit Qt Quick und Qt Quick Controls.

Die QML-Typen können in Ihre Anwendung importiert werden, indem Sie die folgende Import-Anweisung in Ihrer .qml-Datei verwenden:

import Qt.labs.platform

QML-Typen

ColorDialog

Ein nativer Farbdialog

Dialog

Basisklasse der nativen Dialoge

FileDialog

Ein nativer Dateidialog

FolderDialog

Ein nativer Ordnerdialog

FontDialog

Ein nativer Schriftart-Dialog

Menu

Ein natives Menü

MenuBar

Eine native Menüleiste

MenuItem

Ein nativer Menüpunkt

MenuItemGroup

Eine Gruppe zur Verwaltung nativer Menüpunkte

MenuSeparator

Ein nativer Menütrenner

MessageDialog

Ein nativer Nachrichtendialog

SystemTrayIcon

Ein Systemtray-Symbol

Hinweis: Es ist nicht garantiert, dass Typen in Qt.labs-Modulen in zukünftigen Versionen kompatibel bleiben.

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