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
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)
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)
def __init__(self, count): QTableWidgetItem.__init__(self, str(count)) self._count = count
def __init__(self, txt): QTableWidgetItem.__init__(self, txt) self.sort_key = sort_key(unicode_type(txt))
def __init__(self, count): QTableWidgetItem.__init__(self, unicode_type(count)) self._count = count
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))