I am noticing that QColumnView::mousePressEvent is never called after setting it's model. I'm assuming QColumnView creates child widgets for each column which prevent the parent (QColumnView) from receiving the events.
The problem I'm facing is after overwriting QColumnView::contextMenuEvent, I noticed if the user left clicks an item in column 2, then right clicks an item in column 1, it displays the contextMenu for the selected index in column 2. Therefor I overwrote QColumnView::mousePressEvent in hopes to allow right click to select the correct index/item before creating a contextMenu and ran into this problem.
Perhaps there is a better way to address this issue or someone could point me to the documentation that explains how QColumnView propagates itself.
Thanks for reading.
Bookmarks