def __init__(self, owner, model): self._table = owner.linkTable QStyledItemDelegate.__init__(self, self._table) self._parent = owner self._model = model self._filename = '' self._dirname = ''
def __init__(self, owner, model, diag): QStyledItemDelegate.__init__(self, owner) self._parent = owner self._model = model self._diag = diag self.orange = QColor("#FFA500") self.red = QColor("#FF0000") self.green = QColor("#008000") self.gray = QColor("#C0C0C0")
def __init__(self, parent): QStyledItemDelegate.__init__(self, parent)
def __init__(self, wtree, model): QStyledItemDelegate.__init__(self, wtree) self._parent = wtree self._mode = CELLTEXT self._model = model
def __init__(self, regex): QStyledItemDelegate.__init__(self) self.__regex = regex
def __init__(self, parent): QStyledItemDelegate.__init__(self, parent) self._margin = None
def __init__(self, owner, model): QStyledItemDelegate.__init__(self, owner._tb) self._parent = owner self._mode = CELLTEXT self._model = model self._lastCol = None