def getRow(self):
self.selectedRow = list()
item = self.`qtablewidget`.selectedItems()
for i in item:
if self.`qtablewidget`.indexFromItem(i).row() not in self.selectedRow:
self.selectedRow.append(self.twFile.indexFromItem(i).row())
作者:wukai_std 发表于2017/3/29 18:06:57
原文链接