QListWidget item should be de-selected on ctrl key + click
-
Hi,
I am having a problem with extended selection of QListWidget- icon view.
Following are the steps to reproduce the issue:You should make selection mode as Extended selection.
- Select items.
- Now press Ctrl key
- Now press left button down
The item get de-selected, actually it should remain selected and should de-select only on ctrl key + click not on ctrl+LMB down.
Do any one is having idea how can I resolve the issue? I tried to fix the issue in event filter, but it does not work.
-
Hi,
You need to add which version of Qt you are using as well as OS you are running on.
-
Can you provide a minimal code sample (e.g. QListWidget setup) that reproduce that problem ?
-
Hi,
Thanks for your response.
I have not done any coding to handle the selections. In the UI designer, I used selection mode of QListWidget as Extended selection.
I think the behaviour can be reproduced if you have QListWidget with icon view and QlistWidget selection mode is Extended.Thanks,
Maahi -
Just checked on OS X with Numbers, the cells get deselected on mouse down so it would make the behavior consistent at least on OS X