コード例 #1
0
 def __init__(self, sortKey):
     #call custom constructor with UserType item type
     QTableWidgetItem.__init__(self, str(sortKey), QTableWidgetItem.UserType)
     
     self.sortKey = sortKey
コード例 #2
0
 def __init__(self):
     """ Initialize the Kao Table Item """
     callbacks = []
     QTableWidgetItem.__init__(self, self.getData())