diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-17 13:19:45 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-17 13:21:15 (GMT) |
commit | 080231536cbc5e9acc486e57e165320416f66d85 (patch) | |
tree | 0cfafb4ee6efe9b02644b9d7ca41d19515d1c897 /doc | |
parent | 866e6e6338767086cef8f97bc4e7b38e78b83651 (diff) | |
download | Qt-080231536cbc5e9acc486e57e165320416f66d85.zip Qt-080231536cbc5e9acc486e57e165320416f66d85.tar.gz Qt-080231536cbc5e9acc486e57e165320416f66d85.tar.bz2 |
Update the documentation after the change in the completer exemple
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/examples/completer.qdoc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/src/examples/completer.qdoc b/doc/src/examples/completer.qdoc index 9aaaf66..3805a7c 100644 --- a/doc/src/examples/completer.qdoc +++ b/doc/src/examples/completer.qdoc @@ -100,9 +100,9 @@ \section1 MainWindow Class Definition - The \c MainWindow class is a subclass of QMainWindow and implements four - private slots - \c about(), \c changeCase(), \c changeMode(), and - \c changeModel(). + The \c MainWindow class is a subclass of QMainWindow and implements five + private slots - \c about(), \c changeCase(), \c changeMode(), \c changeModel(), + and \c changeMaxVisible(). \snippet examples/tools/completer/mainwindow.h 0 @@ -126,6 +126,9 @@ \snippet examples/tools/completer/mainwindow.cpp 0 + The \c maxVisibleSpinBox is created and determines the number of visible + item in the completer + The \c wrapCheckBox is then set up. This \c checkBox determines if the \c{completer}'s \l{QCompleter::setWrapAround()}{setWrapAround()} property is enabled or disabled. @@ -242,10 +245,15 @@ \snippet examples/tools/completer/mainwindow.cpp 14 - The \c about() function provides a brief description about the example. + The \c changeMaxVisible() update the maximum number of visible items in + the completer. \snippet examples/tools/completer/mainwindow.cpp 15 + The \c about() function provides a brief description about the example. + + \snippet examples/tools/completer/mainwindow.cpp 16 + \section1 \c main() Function The \c main() function instantiates QApplication and \c MainWindow and |