The experimental Qt Labs Platform module provides QML types for native platform extensions. These QML types work in conjunction with Qt Quick and Qt Quick Controls .
可以使用以下 import 语句在 .qml 文件中把 QML 类型导入应用程序:
import Qt.labs.platform 1.1
| A native color dialog | |
| Base class of native dialogs | |
| A native file dialog | |
| A native folder dialog | |
| A native font dialog | |
| A native menu | |
| A native menubar | |
| A native menu item | |
| A group for managing native menu items | |
| A native menu separator | |
| A native message dialog | |
| Provides access to the standard system paths | |
| A system tray icon |
注意: Types in Qt.labs modules are not guaranteed to remain compatible in future versions.