diff options
author | Frédéric Mercille <fmercille@homer.(none)> | 2009-07-17 12:46:29 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-17 13:20:24 (GMT) |
commit | 866e6e6338767086cef8f97bc4e7b38e78b83651 (patch) | |
tree | 81fdb2a2403ef12db4d0305335b65ba14c35ee2a /examples/tools/completer/mainwindow.h | |
parent | e3a34408aa65af33494b7154ab5eaefe676b5f20 (diff) | |
download | Qt-866e6e6338767086cef8f97bc4e7b38e78b83651.zip Qt-866e6e6338767086cef8f97bc4e7b38e78b83651.tar.gz Qt-866e6e6338767086cef8f97bc4e7b38e78b83651.tar.bz2 |
Lets the size of the completer be configurable in a way similar to QComboBox.
Merge-request: 884
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
Diffstat (limited to 'examples/tools/completer/mainwindow.h')
-rw-r--r-- | examples/tools/completer/mainwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/tools/completer/mainwindow.h b/examples/tools/completer/mainwindow.h index f6c962b..30b8d26 100644 --- a/examples/tools/completer/mainwindow.h +++ b/examples/tools/completer/mainwindow.h @@ -52,6 +52,7 @@ class QLabel; class QLineEdit; class QProgressBar; class QCheckBox; +class QSpinBox; QT_END_NAMESPACE //! [0] @@ -67,6 +68,7 @@ private slots: void changeCase(int); void changeMode(int); void changeModel(); + void changeMaxVisible(int); //! [0] //! [1] @@ -77,6 +79,7 @@ private: QComboBox *caseCombo; QComboBox *modeCombo; QComboBox *modelCombo; + QSpinBox *maxVisibleSpinBox; QCheckBox *wrapCheckBox; QCompleter *completer; QLabel *contentsLabel; |