[PySide][Maya 2014] QTreeView, Right Mouse Click, and Context Menus

Here’s my dilemma, I got a QTreeView with some Items and a Context Menu tied to Right-Mouse Click. I want the Right Mouse Click to pop up the context menu, but prevent the Mouse Button from changing the selection.

In other words, I want a context menu to appear for the item under the mouse, without selecting that item.

If I override the mousePressEvent to swallow the Right Click, how do I allow the Right click to spawn the Context Menu?

Currently I have the Context Menu set to the QTreeView using a CustomContextManager. Should I consider managing the popup QMenu and MousePressEvents together on the QTreeItem?

Thanks

turned out to be easier than expected, I simply sub-classed the QTreeView and re-implemented the mousePressEvent to swallow the Right-Clicks. Context Menu management continued to work as before.