Qt Quick Dialogs QML Types

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
					

QML 类型

ColorDialog A color dialog
Dialog Base class of native dialogs
FileDialog A file dialog
FolderDialog A native folder dialog
FontDialog A font dialog
MessageDialog A message dialog