本页内容

Qt Quick Dialogs

Qt Quick Dialogs 模块允许您通过QML创建系统对话框并与之交互。该模块于Qt 6.2版本中引入。

使用该模块

可通过 `QtQuick.Dialogs ` 导入语句使用该模块的 QML 类型。要使用这些类型,请在您的 .qml 文件中添加以下导入语句:

import QtQuick.Dialogs

参考

许可与归属

Qt Quick Dialogs 本模块由The Qt Company 提供商业许可。此外,它还遵循GNU 较少通用公共许可证第 3 版或GNU 通用公共许可证第 2 版。更多详细信息请参阅Qt 许可协议。

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