def _dataChanged(self, item):
        """Explicitly emit dataChanged upon item changing"""
        index = self.items.index(item)
        qindex = self.createIndex(index, 0)
        self.dataChanged.emit(qindex, qindex)
def _dataChanged ( self , item ) : index = self . items . index ( item ) qindex = self . createIndex ( index , 0 ) self . dataChanged . emit ( qindex , qindex )
Explicitly emit dataChanged upon item changing