summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-07-23 15:57:59 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-28 08:55:23 +0100
commit0034e1af4acf48d38670b733a095794301cafdd2 (patch)
tree81a145a622e144796b61d93bb480534b738a1435 /src/gui/dialogs
parent19458101ebc48a8cc6d5ff75aa4b657d2898758e (diff)
QPrintDialog: document the modality on OS X and Windows
You can't programmatically close the dialog because it's modal. Task-number: QTBUG-32464 (backported from qtbase/bd602a2dc4bc9491f80919b09a8990edb6fbee97) Change-Id: Ib7573b347b3f10914e60af05f95ed9f5763eadd8 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/qabstractprintdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/dialogs/qabstractprintdialog.cpp b/src/gui/dialogs/qabstractprintdialog.cpp
index 22a311de0f..f8a613102f 100644
--- a/src/gui/dialogs/qabstractprintdialog.cpp
+++ b/src/gui/dialogs/qabstractprintdialog.cpp
@@ -458,6 +458,10 @@ void QAbstractPrintDialog::setOptionTabs(const QList<QWidget*> &tabs)
is shown with exec(), done() causes the local event loop to finish,
and exec() to return \a result.
+ \note This function does not apply to the Native Print Dialog on the Mac
+ OS X and Windows platforms, because the dialog is required to be modal
+ and only the user can close it.
+
\sa QDialog::done()
*/
void QPrintDialog::done(int result)