[Qt-interest] QItemSelectionModel

Mikhail Veygman mveygman at gmail.com
Wed Dec 30 15:39:42 CET 2009


Hi,

I have a Application using QT X11 which uses QTableView to display some
data.

I also have an Action Menu that appears on RightClick in the QTableView.
The issue that I am running into is as follows:

When I LeftClick on a row in a TableView it gets selected and becomes
entered into the selected rows/items in QItemSelectionModel, but when I
do right-click the row gets selected, but it is not entered into the
selected rows/items of the selection model.

Is there a way of overriding this behavior without having to
re-implement the Mouse Event handlers?
-- 
Regards,

Mikhail Veygman





More information about the Qt-interest-old mailing list