Beispiel #1
0
 def __init__(self, filter=None):
     if not filter:
         filter = {}
     CTreeItemWithId.__init__(self, None, '-', None)
     self._classesVisible = False
     self.filter = filter
     self.domain = self.filter.get('domain', '')
     self.plannedEndDate = self.filter.get('plannedEndDate', QtCore.QDate())
     self.orgStructureId = self.filter.get('orgStructureId', None)
Beispiel #2
0
 def __init__(self, parent, id, name):
     CTreeItemWithId.__init__(self, parent, name, id)
 def __init__(self, parent, id, code, isArea, hasStocks, bookkeeperCode):
     CTreeItemWithId.__init__(self, parent, code, id)
     self._isArea = isArea
     self._hasStocks = hasStocks
     self._bookkeeperCode = bookkeeperCode
Beispiel #4
0
 def __init__(self, parent, name, id, model, actionId, filter):
     CDBTreeItem.__init__(self, parent, name, id, model)
     CTreeItemWithId.__init__(self, parent, name, id)
     self._actionId = actionId
     self._filter = filter
Beispiel #5
0
 def __init__(self, filter=None):
     if not filter:
         filter = {}
     CTreeItemWithId.__init__(self, None, '-', None)
     self._classesVisible = False
Beispiel #6
0
 def __init__(self, parent, name, id=None):
     CTreeItemWithId.__init__(self, parent, name, id)
     self._items = []
Beispiel #7
0
 def __init__(self, parent, id, code, name):
     CTreeItemWithId.__init__(self, parent, name, id)
     self._code = code
     self._items = []
Beispiel #8
0
 def __init__(self, parent, id, name, model, type):
     CTreeItemWithId.__init__(self, parent, name, id)
     self._type = type
     self._model = model
Beispiel #9
0
 def __init__(self, parent, id, code, name, model, class_):
     CTreeItemWithId.__init__(self, parent, name, id)
     self._model = model
     self._code = code
     self._class = class_
Beispiel #10
0
 def __init__(self, parent, id, code, isArea, hasStocks):
     CTreeItemWithId.__init__(self, parent, code, id)
     self._isArea = isArea
     self._hasStocks = hasStocks