summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qdialog.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qdialog.3qt')
-rw-r--r--doc/man/man3/qdialog.3qt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/man3/qdialog.3qt b/doc/man/man3/qdialog.3qt
index 7d23207f6..adaaa29d9 100644
--- a/doc/man/man3/qdialog.3qt
+++ b/doc/man/man3/qdialog.3qt
@@ -116,7 +116,7 @@ If the user presses the Esc key in a dialog, QDialog::reject() will be called. T
.SH "Extensibility"
Extensibility is the ability to show the dialog in two ways: a partial dialog that shows the most commonly used options, and a full dialog that shows all the options. Typically an extensible dialog will initially appear as a partial dialog, but with a" More" toggle button. If the user presses the "More" button down, the full dialog will appear. The extension widget will be resized to its sizeHint(). If orientation is Horizontal the extension widget's height() will be expanded to the height() of the dialog. If the orientation is Vertical the extension widget's width() will be expanded to the width() of the dialog. Extensibility is controlled with setExtension(), setOrientation() and showExtension().
.SH "Return value (modal dialogs)"
-Modal dialogs are often used in situations where a return value is retquired, e.g. to indicate whether the user pressed "OK" or" Cancel". A dialog can be closed by calling the accept() or the reject() slots, and exec() will return Accepted or Rejected as appropriate. The exec() call returns the result of the dialog. The result is also available from result() if the dialog has not been destroyed. If the WDestructiveClose flag is set, the dialog is deleted after exec() returns.
+Modal dialogs are often used in situations where a return value is required, e.g. to indicate whether the user pressed "OK" or" Cancel". A dialog can be closed by calling the accept() or the reject() slots, and exec() will return Accepted or Rejected as appropriate. The exec() call returns the result of the dialog. The result is also available from result() if the dialog has not been destroyed. If the WDestructiveClose flag is set, the dialog is deleted after exec() returns.
.SH "Examples"
A modal dialog.
.PP