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