[Qt-interest] QItemSelectionModel - how to ignore selection on column

David Boosalis david.boosalis at gmail.com
Mon Sep 20 21:21:45 CEST 2010


I have a QTableView with two columns.  The first column contains a
QStandardItem, the secone column contains a special widget with its own
selectable items.

I would like to have the first column selection not be effected by any mouse
clicks in the second column.  I do not see any methods for
QItemSelectionModel to do this.  Any one have an idea on how to do this.  I
do not want the second column to be disabled. I just want the multi
selection in the first column not to be disrupted by what gets clicked in
the second column.

Thanks for any help
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100920/1d6e6e5b/attachment.html 


More information about the Qt-interest-old mailing list