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

alteo_gange romanocaldoni at free.fr
Fri Dec 5 20:32:10 GMT 2008


It's Ok!


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)






More information about the PyQt mailing list