summaryrefslogtreecommitdiffstats
path: root/examples/tools/completer/mainwindow.h
diff options
context:
space:
mode:
authorFrédéric Mercille <fmercille@homer.(none)>2009-07-17 12:46:29 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-17 13:20:24 (GMT)
commit866e6e6338767086cef8f97bc4e7b38e78b83651 (patch)
tree81fdb2a2403ef12db4d0305335b65ba14c35ee2a /examples/tools/completer/mainwindow.h
parente3a34408aa65af33494b7154ab5eaefe676b5f20 (diff)
downloadQt-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.h3
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;