The Qt Quick Dialogs module allows you to create and interact with system dialogs from QML. The module was introduced in Qt 6.2.
The QML types of the module are available through the
QtQuick.Dialogs
導入。要使用類型,添加以下 import 語句到 .qml 文件:
import QtQuick.Dialogs
Qt Quick Dialogs is available under commercial licenses from Qt 公司 。此外,它是可用的根據 GNU LGPL (次一般公共許可) 第 3 版 ,或 GNU GPL (一般公共許可) 第 2 版 。見 Qt 許可 進一步瞭解細節。