Exemple #1
0
 def __init__(self, sort_key):
     QTableWidgetItem.__init__(self)
     self.initial_value = ''
     self.current_value = ''
     self.is_deleted = False
     self.is_placeholder = False
     self.sort_key = sort_key
Exemple #2
0
 def __init__(self, getter=None):
     self.val = ''
     self.sort = None
     self.sort_idx = 0
     self.getter = getter
     self.resolved = False
     QTableWidgetItem.__init__(self, '')
     self.setFlags(Qt.ItemFlag.ItemIsEnabled | Qt.ItemFlag.ItemIsSelectable)
Exemple #3
0
 def __init__(self, val, sort, idx=0):
     self.sort = sort
     self.sort_idx = idx
     QTableWidgetItem.__init__(self, val)
     self.setFlags(Qt.ItemFlag.ItemIsEnabled | Qt.ItemFlag.ItemIsSelectable)
Exemple #4
0
 def __init__(self, count):
     QTableWidgetItem.__init__(self, str(count))
     self._count = count
Exemple #5
0
 def __init__(self, txt):
     QTableWidgetItem.__init__(self, txt)
     self.sort_key = sort_key(unicode_type(txt))
Exemple #6
0
 def __init__(self, count):
     QTableWidgetItem.__init__(self, unicode_type(count))
     self._count = count
Exemple #7
0
 def __init__(self, text):
     QTableWidgetItem.__init__(self, text)
     self.setFlags(Qt.ItemFlag.ItemIsEnabled)
     self.sort = text.lower()
 def __init__(self, txt):
     QTableWidgetItem.__init__(self, txt)
     self.sort_key = sort_key(str(txt))