QAbstractItemView: refine documentation for SingleSelection
Since Qt5.1 it is possible to deselect the current selected item in SingleSelection mode when pressing the Ctrl key during the click but this was not mentioned in the docs. Change-Id: I86652308215bf218ea959f869334b6077e4634f9 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
2dddc1c9f4
commit
4d7271087e
@ -343,7 +343,7 @@ void QAbstractItemViewPrivate::_q_scrollerStateChanged()
|
||||
|
||||
\value SingleSelection When the user selects an item, any already-selected
|
||||
item becomes unselected. It is possible for the user to deselect the selected
|
||||
item.
|
||||
item by pressing the Ctrl key when clicking the selected item.
|
||||
|
||||
\value ContiguousSelection When the user selects an item in the usual way,
|
||||
the selection is cleared and the new item selected. However, if the user
|
||||
|
Loading…
x
Reference in New Issue
Block a user