diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-07-23 15:57:59 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-24 10:49:58 +0200 |
commit | bd602a2dc4bc9491f80919b09a8990edb6fbee97 (patch) | |
tree | 1eb18561385058a54502b43f7270946bdea6b1ea /src/printsupport/dialogs/qabstractprintdialog.cpp | |
parent | 366aba402f7ed53f83447f23d044cbc950f87252 (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
Change-Id: I2f24581dc660a088b4e741fa4ee1518e27adea4a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/printsupport/dialogs/qabstractprintdialog.cpp')
-rw-r--r-- | src/printsupport/dialogs/qabstractprintdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/printsupport/dialogs/qabstractprintdialog.cpp b/src/printsupport/dialogs/qabstractprintdialog.cpp index 6951d8c7bc..ba5320f040 100644 --- a/src/printsupport/dialogs/qabstractprintdialog.cpp +++ b/src/printsupport/dialogs/qabstractprintdialog.cpp @@ -460,6 +460,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) |