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
A color dialog | |
Base class of native dialogs | |
A file dialog | |
A native folder dialog | |
A font dialog | |
A message dialog |