summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qquickdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/qquickdialog.cpp')
-rw-r--r--src/dialogs/qquickdialog.cpp20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/dialogs/qquickdialog.cpp b/src/dialogs/qquickdialog.cpp
index ebe2c7b01..ab3d9200f 100644
--- a/src/dialogs/qquickdialog.cpp
+++ b/src/dialogs/qquickdialog.cpp
@@ -73,7 +73,9 @@ QT_BEGIN_NAMESPACE
/*!
\qmlsignal Dialog::accepted()
- This signal is emitted by \l accept().
+ This signal is emitted when the user has pressed any button which has the
+ \l {QMessageBox::}{AcceptRole}: \gui OK, \gui Open, \gui Save,
+ \gui {Save All}, \gui Retry or \gui Ignore.
The corresponding handler is \c onAccepted.
*/
@@ -81,7 +83,9 @@ QT_BEGIN_NAMESPACE
/*!
\qmlsignal Dialog::rejected()
- This signal is emitted by \l reject().
+ This signal is emitted when the user has dismissed the dialog, by closing
+ the dialog window, by pressing a \gui Cancel, \gui Close or \gui Abort
+ button on the dialog, or by pressing the back button or the escape key.
The corresponding handler is \c onRejected.
*/
@@ -152,6 +156,12 @@ QT_BEGIN_NAMESPACE
\sa modality
*/
+/*! \qmlproperty StandardButton Dialog::clickedButton
+
+ This property holds the button pressed by the user. Its value is
+ one of the flags set for the standardButtons property.
+*/
+
/*!
\qmlproperty Qt::WindowModality Dialog::modality
@@ -294,12 +304,6 @@ void QQuickDialog::setStandardButtons(StandardButtons buttons)
}
/*!
- \qmlproperty bool Dialog::visible
-
- This property holds whether the dialog is visible. By default this is false.
-*/
-
-/*!
\qmlproperty QObject Dialog::contentItem
The QML object which implements the dialog contents. Should be an \l Item.