아미(아름다운미소)

Python pyqt tableWidget double click event 본문

랭귀지/python

Python pyqt tableWidget double click event

유키공 2018. 12. 19. 14:24

Python pyqt tableWidget double click event

#-*- coding: utf-8 -*-
self.tableWidget.doubleClicked.connect(self.tableWidget_doubleClicked)

def treeMedia_doubleClicked(self):
    row = self.tableWidget.currentIndex().row()
    column = self.tableWidget.currentIndex().column()
    print(row, column)
Comments