Пример #1
0
 def __init__(self, parent):
     CTreeView.__init__(self, parent)
     self.expandedItemsState = {}
Пример #2
0
 def __init__(self, parent):
     CTreeView.__init__(self, parent)
     self.setItemDelegateForColumn(CEventJobTicketsView.jobTicketColumn, CEventJobTicketsDelegate(self))
     self.setItemDelegateForColumn(CEventJobTicketsView.jobTicketNameColumn, CEventJobTicketsDelimiterPainterDelegate(self))
     self.setItemDelegateForColumn(CEventJobTicketsView.jobTicketLIDColumn, CEventJobTicketsLIDDelegate(self))