diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2012-08-01 14:36:13 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 15:37:46 +0200 |
commit | a68577e7e07cce40cac142f6e2b386a76f3ecbd1 (patch) | |
tree | d79bbae4fcebb76f72aa1a56beac09b945967248 /doc/src/examples/drilldown.qdoc | |
parent | d61c356516cddb9cb0862d13479acd4c3310a972 (diff) |
replace \key and \gui qdoc commands with \uicontrol
Change-Id: I0753305d4fe1ea20417f451766101da1247dfeeb
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'doc/src/examples/drilldown.qdoc')
-rw-r--r-- | doc/src/examples/drilldown.qdoc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/src/examples/drilldown.qdoc b/doc/src/examples/drilldown.qdoc index 7f195d5261..f8086c193e 100644 --- a/doc/src/examples/drilldown.qdoc +++ b/doc/src/examples/drilldown.qdoc @@ -194,7 +194,7 @@ \snippet examples/sql/drilldown/informationwindow.cpp 6 - The \c revert() slot is triggered whenever the user hits the \gui + The \c revert() slot is triggered whenever the user hits the \uicontrol Revert button. Since we set the QDataWidgetMapper::ManualSubmit submit policy, @@ -207,7 +207,7 @@ \snippet examples/sql/drilldown/informationwindow.cpp 7 Likewise, the \c submit() slot is triggered whenever the users - decide to submit their changes by pressing the \gui Submit button. + decide to submit their changes by pressing the \uicontrol Submit button. We use QDataWidgetMapper's \l {QDataWidgetMapper::}{submit()} slot to submit all changes from the mapped widgets to the model, @@ -228,12 +228,12 @@ The \c createButtons() function is provided for convenience, i.e., to simplify the constructor. - We make the \gui Close button the default button, i.e., the button - that is pressed when the user presses \gui Enter, and connect its + We make the \uicontrol Close button the default button, i.e., the button + that is pressed when the user presses \uicontrol Enter, and connect its \l {QPushButton::}{clicked()} signal to the widget's \l {QWidget::}{close()} slot. As mentioned above closing the window - only hides the widget; it is not deleted. We also connect the \gui - Submit and \gui Revert buttons to the corresponding \c submit() + only hides the widget; it is not deleted. We also connect the \uicontrol + Submit and \uicontrol Revert buttons to the corresponding \c submit() and \c revert() slots. \snippet examples/sql/drilldown/informationwindow.cpp 9 @@ -247,8 +247,8 @@ automatically using the appropriate layout for the user's desktop environment. - Most buttons for a dialog follow certain roles. We give the \gui - Submit and \gui Revert buttons the \l + Most buttons for a dialog follow certain roles. We give the \uicontrol + Submit and \uicontrol Revert buttons the \l {QDialogButtonBox::ButtonRole}{reset} role, i.e., indicating that pressing the button resets the fields to the default values (in our case the information contained in the database). The \l |