pyqt4 遍历TableWidget

filter_list为QTableWidget类型

        #得到总行数
        rows = self.filter_list.rowCount()

        for rows_index in range(rows):
            #print items[item_index].text()
            print self.filter_list.item(rows_index,0).text()

你可能感兴趣的:(python)