Qt Quick Dialogs QML Types
Qt Quick Dialogs 模块允许从QML中创建系统对话框并与之交互。该模块于Qt 6.2中引入。
您可以在.qml 文件中使用以下导入语句,将 QML 类型导入到您的应用程序中:
import QtQuick.DialogsQML 类型
颜色对话框 | |
原生对话框的基类 | |
文件对话框 | |
原生文件夹对话框 | |
字体对话框 | |
消息对话框 |
© 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.