summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qquickplatformfontdialog.cpp
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2014-08-05 11:38:45 +0200
committerShawn Rutledge <shawn.rutledge@digia.com>2014-10-06 13:45:38 +0200
commitfa9883f47e61d11ca4e208174ec49d01ee683b98 (patch)
tree805d94571895aba95821def1f23b6ed6da29c723 /src/dialogs/qquickplatformfontdialog.cpp
parent4a9cd455fae9b2b0e473d3ddf58e664818feb545 (diff)
Doc: Fix documentation issues for Qt Quick Dialogs
- Document clickedButton property for Dialog, MessageDialog - Update Dialog::accepted() and rejected() documentation - Remove duplicate documentation for Dialog::visible property - Update description of modality property for ColorDialog, FontDialog - Fix broken links Change-Id: I5b73ea5cbccf1ad0203351730197336e1c6e1b98 Reviewed-by: Liang Qi <liang.qi@digia.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/dialogs/qquickplatformfontdialog.cpp')
-rw-r--r--src/dialogs/qquickplatformfontdialog.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/dialogs/qquickplatformfontdialog.cpp b/src/dialogs/qquickplatformfontdialog.cpp
index faf873f4e..1744cb846 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.
*/
/*!