diff options
author | David Boddie <dboddie@trolltech.com> | 2009-03-31 17:53:21 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-03-31 17:53:21 (GMT) |
commit | 65c16391fff38e28e4a9db215758b1df6c868a32 (patch) | |
tree | 9e021ca30d915d0a44a2a733cde7ae5e6d6a8f30 /doc/src/examples | |
parent | 2b0f0b7132f985be5b6e5b5e888be8b1f19a784c (diff) | |
download | Qt-65c16391fff38e28e4a9db215758b1df6c868a32.zip Qt-65c16391fff38e28e4a9db215758b1df6c868a32.tar.gz Qt-65c16391fff38e28e4a9db215758b1df6c868a32.tar.bz2 |
Doc: Fixed the screenshots and example description to match the code.
Task-number: 242369
Reviewed-by: TrustMe
Diffstat (limited to 'doc/src/examples')
-rw-r--r-- | doc/src/examples/extension.qdoc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/src/examples/extension.qdoc b/doc/src/examples/extension.qdoc index 8a0ca3a..02e0698 100644 --- a/doc/src/examples/extension.qdoc +++ b/doc/src/examples/extension.qdoc @@ -80,9 +80,9 @@ user type a word to search for, we need several \l {QCheckBox}{QCheckBox}es to facilitate the search options, and we need three \l {QPushButton}{QPushButton}s: the \gui Find button to - start a search, the \gui More button to enable an advanced search, - and the \gui Close button to exit the application. Finally, we - need a QWidget representing the application's extension part. + start a search and the \gui More button to enable an advanced search. + Finally, we need a QWidget representing the application's extension + part. \section1 FindDialog Class Implementation @@ -128,8 +128,7 @@ the connection makes sure that the extension widget is shown depending on the state of \gui More button. - We also connect the \gui Close button to the QWidget::close() - slot, and we put the checkboxes associated with the advanced + We also put the check boxes associated with the advanced search options into a layout we install on the extension widget. \snippet examples/dialogs/extension/finddialog.cpp 4 @@ -137,7 +136,7 @@ Before we create the main layout, we create several child layouts for the widgets: First we allign the QLabel ans its buddy, the QLineEdit, using a QHBoxLayout. Then we vertically allign the - QLabel and QLineEdit with the checkboxes associated with the + QLabel and QLineEdit with the check boxes associated with the simple search, using a QVBoxLayout. We also create a QVBoxLayout for the buttons. In the end we lay out the two latter layouts and the extension widget using a QGridLayout. |