QT table cell editing behaviour
I have table in QT using C++. I need to have : 1. Single cell should allow editing either if clicked on selected cell or double clicked on cell 2. Multi-editing is allowed when either double clicked on cell or clicked on any one of the selected cell How to achieve this? I have used SetSelectionMode(MultiSelection) and SetSelectionBehavior(SelectItems) along with SetEditTriggers(SelectedClicked | DoubleClick). This works well for single selection i.e. I am able to modify single cell value either by double click or by doing selection on selected cell. However, multi selection happens without me pressing control key. This is not desired and I need to have selection of multiple cells only using control key. Am I doing anything wrong or something additional is missing?