qt - How do I remove an index or range from a QItemSelection -


I can not find anything like QItemSelection.remove () or QItemSelection.deselect (). What is the best way to do this?

So far, the best way to do this is to merge each other with the merge set Using Selection:

  deselection = QItemSelection (curr_index, curr_index) # Can I dislike? ;) Selection. Merge (Dissection, QITIM SelectionModel. Selection)    

Comments