Quantcast
Channel: CSDN博客移动开发推荐文章
Viewing all articles
Browse latest Browse all 5930

获取QTableWidget中所有已选行的行号

$
0
0
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 原文链接
阅读:57 评论:0 查看评论

Viewing all articles
Browse latest Browse all 5930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>