Example #1
0
 def __init__(self, owner, model):
     self._table = owner.linkTable
     QStyledItemDelegate.__init__(self, self._table)
     self._parent = owner
     self._model = model
     self._filename = ''
     self._dirname = ''
Example #2
0
 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")
Example #3
0
 def __init__(self, parent):
     QStyledItemDelegate.__init__(self, parent)
Example #4
0
 def __init__(self, parent):
     QStyledItemDelegate.__init__(self, parent)
Example #5
0
 def __init__(self, wtree, model):
     QStyledItemDelegate.__init__(self, wtree)
     self._parent = wtree
     self._mode = CELLTEXT
     self._model = model
Example #6
0
 def __init__(self, regex):
     QStyledItemDelegate.__init__(self)
     self.__regex = regex
Example #7
0
 def __init__(self, parent):
     QStyledItemDelegate.__init__(self, parent)
     self._margin = None
Example #8
0
 def __init__(self, owner, model):
     QStyledItemDelegate.__init__(self, owner._tb)
     self._parent = owner
     self._mode = CELLTEXT
     self._model = model
     self._lastCol = None