summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-03-31 19:53:21 +0200
committerDavid Boddie <dboddie@trolltech.com>2009-03-31 20:09:16 +0200
commitac96e93728541897203a8d1bcbdf9e43c4af8758 (patch)
tree6e2220efa142be2b05bd2e08c72061005fd0e574
parent4d878fe43bef5ff6387c3bb73587315efa21424d (diff)
downloadqt4-tools-ac96e93728541897203a8d1bcbdf9e43c4af8758.tar.gz
Doc: Fixed the screenshots and example description to match the code.
Task-number: 242369 Reviewed-by: TrustMe
-rw-r--r--doc/src/examples/extension.qdoc11
-rw-r--r--doc/src/images/extension-example.pngbin7676 -> 9929 bytes
-rw-r--r--doc/src/images/extension_more.pngbin9309 -> 13523 bytes
3 files changed, 5 insertions, 6 deletions
diff --git a/doc/src/examples/extension.qdoc b/doc/src/examples/extension.qdoc
index 8a0ca3a20c..02e0698267 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.
diff --git a/doc/src/images/extension-example.png b/doc/src/images/extension-example.png
index dfaacc071d..18fab52825 100644
--- a/doc/src/images/extension-example.png
+++ b/doc/src/images/extension-example.png
Binary files differ
diff --git a/doc/src/images/extension_more.png b/doc/src/images/extension_more.png
index 2b06809787..407af27cab 100644
--- a/doc/src/images/extension_more.png
+++ b/doc/src/images/extension_more.png
Binary files differ