The Qt Quick Dialogs module allows to create and interact with system dialogs from QML. The module was introduced in Qt 6.2.
The QML types can be imported into your application using the following import statement in your
.qml
文件:
import QtQuick.Dialogs
Dialog | Base class of native dialogs |
FileDialog | A file dialog |
FontDialog | A font dialog |