Hi,

I have a subclassed QAbstractListModel attached to a QListView. I have setSelectionMode(ExtendedSelection)

I would like to be able to select multiple rows, and then press the spacebar, and have it toggle the checkboxes on ALL of the selected rows.

How can I make this happen?

I was thinking of a hack in my model::setData() ... give the model the list's selectionModel so that it knows what other items are selected, and then the setData() method can do the work of toggling all the checks. But this seems to go against the class design...

thanks,
Paul