Hi everyone.

I have a custom QTableView that has a Context Menu attached and also has a customized startDrag method.
At this point, multiple selection is not possible with simple left click, only with left click + shift/ctrl. I would like to keep the default behavior for multiple selection in QTableView (setSelectionMode(QtGui.QAbstractItemView.Extended Selection) ) and to start dragging on Mouse - RightClick, but in the same time I don't want to lose the context menu.

Already tried to overwrite mousePressEvent & mouseReleaseEvent, but I can't make it to work.


My first question would be: is it possible to implement what I need? If yes, could anyone give me some suggestions how to do it?
I am using PyQt4 & Python 3.5.

Many thanks!
Laura