Qt Labs Platform

Qt Labs Platform 实验模块为本地平台扩展提供 QML 类型。该模块在 Qt 5.8 中引入。

QML 类型

Dialog

本地对话框基类

Menu

本地菜单

MenuBar

原生菜单栏

MenuItem

一个本地菜单项

MenuItemGroup

管理本地菜单项的组

MenuSeparator

本地菜单分隔符

SystemTrayIcon

一个系统托盘图标

注意: Qt.labs 模块中的类型不保证在未来版本中保持兼容。

模块演变

Qt Quick Labs Platform 的变化列出了为 Qt 6 系列 Qt 所做的模块 API 和功能方面的重要变化。

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