diff options
Diffstat (limited to 'src/dialogs/qquickplatformfontdialog.cpp')
-rw-r--r-- | src/dialogs/qquickplatformfontdialog.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/dialogs/qquickplatformfontdialog.cpp b/src/dialogs/qquickplatformfontdialog.cpp index faf873f4..1744cb84 100644 --- a/src/dialogs/qquickplatformfontdialog.cpp +++ b/src/dialogs/qquickplatformfontdialog.cpp @@ -187,13 +187,17 @@ QPlatformFontDialogHelper *QQuickPlatformFontDialog::helper() containing the dialog's parent Item, modal with respect to the whole application, or non-modal. - By default it is \l WindowModal. + By default it is \c Qt.WindowModal. Modality does not mean that there are any blocking calls to wait for the dialog to be accepted or rejected; it's only that the user will be prevented from interacting with the parent window and/or the application - windows at the same time. You probably need to write an onAccepted handler - to actually load or save the chosen file. + windows at the same time. + + You probably need to write an onAccepted handler if you wish to change a + font after the user has pressed the OK button, or an onCurrentFontChanged + handler if you wish to react to every change the user makes while the + dialog is open. */ /*! |