Exemple #1
0
    def __init__(self, parent=None):
        QStyledItemDelegate.__init__(self, parent)

        self.timestamp_delegate = TimestampDelegate()
        self.float_delegate = FloatDelegate(2)
        self.default = QStyledItemDelegate()

        self.delegates = {}
Exemple #2
0
 def __init__(self,
              tolerance=None,
              allow_tail=True,
              colors=False,
              parent=None):
     self._parent = parent
     QStyledItemDelegate.__init__(self, parent)
     try:
         self._tolerance = int(tolerance)
     except (ValueError, TypeError):
         self._tolerance = self.DEFAULT_TOLERANCE
     self._allow_tail = allow_tail
     self._colors = colors
     self._color = None
Exemple #3
0
 def __init__(self, grid_data):
     QStyledItemDelegate.__init__(self)
     self.grid_data = grid_data
Exemple #4
0
 def __init__(self, parent=None):
     QStyledItemDelegate.__init__(self, parent)
Exemple #5
0
 def __init__(self, display_format='%d/%m/%Y %H:%M:%S', parent=None):
     QStyledItemDelegate.__init__(self, parent)
     self._format = display_format
 def __init__(self, parent):
     QStyledItemDelegate.__init__(self, parent)
 def __init__(self, parent=None, *args):
     QStyledItemDelegate.__init__(self, parent, *args)
 def __init__(self):
     ## Constructor
     QStyledItemDelegate.__init__(self)