summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-03-11 03:04:12 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-03-11 03:04:12 (GMT)
commiteb3b1be77f4a8037896c0d463ef09a9172939f69 (patch)
treeffdda9d1197bd3237a5a4d433da4353a4e65cfe3
parent044dd8d0a62b7e8b90556258b494953e3364ff2d (diff)
parent2b0bfcf72f145b6948d9cdfd2db6c9f2e10b5def (diff)
downloadQt-eb3b1be77f4a8037896c0d463ef09a9172939f69.zip
Qt-eb3b1be77f4a8037896c0d463ef09a9172939f69.tar.gz
Qt-eb3b1be77f4a8037896c0d463ef09a9172939f69.tar.bz2
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team
* '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team: Doc: Cannot alter SelectionMode of a combobox's view
-rw-r--r--src/gui/widgets/qcombobox.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/qcombobox.cpp b/src/gui/widgets/qcombobox.cpp
index dbbf49a..8aeef50 100644
--- a/src/gui/widgets/qcombobox.cpp
+++ b/src/gui/widgets/qcombobox.cpp
@@ -944,7 +944,10 @@ QComboBox::QComboBox(bool rw, QWidget *parent, const char *name)
to set and get item data (e.g., setItemData() and itemText()). You
can also set a new model and view (with setModel() and setView()).
For the text and icon in the combobox label, the data in the model
- that has the Qt::DisplayRole and Qt::DecorationRole is used.
+ that has the Qt::DisplayRole and Qt::DecorationRole is used. Note
+ that you cannot alter the \l{QAbstractItemView::}{SelectionMode}
+ of the view(), e.g., by using
+ \l{QAbstractItemView::}{setSelectionMode()}.
\image qstyle-comboboxes.png Comboboxes in the different built-in styles.