[PyQt] can't correctly delete the icons of a QListView

alteo_gange romanocaldoni at free.fr
Fri Dec 5 20:35:34 GMT 2008


In fact, it was:

lstRow = []
        for index in self.list.selectedIndexes():
                i = index.row()
                lstRow.append(i)
        lstRow.sort(reverse = True)
        for row in lstRow:
                self.model.removeRow(row)

Le jeudi 04 décembre 2008, alteo_gange a écrit :





More information about the PyQt mailing list