Hi Everyone,
I was wondering if anyone know what the correct/best way to deselect items inside of a qtreeview is ? I'm using pyqt and am trying to do something like this but it doesn't seem to be doing anything
selectionModel = self.selectionModel()
selectionModel.select(itemToDeselect, QtGui.QItemSelectionModel.deselect)
after doing this the item is still selected in the gui but if I do
selectionModel.isSelected(itemToDeselect)
then it returns False.
Any ideas/suggestions would be greatly appreciated
thanks
babak
Bookmarks