Exemplo n.º 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)
Exemplo n.º 2
0
 def __init__(self, parent, id, name):
     CTreeItemWithId.__init__(self, parent, name, id)
Exemplo n.º 3
0
 def __init__(self, parent, id, code, isArea, hasStocks, bookkeeperCode):
     CTreeItemWithId.__init__(self, parent, code, id)
     self._isArea = isArea
     self._hasStocks = hasStocks
     self._bookkeeperCode = bookkeeperCode
Exemplo n.º 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
Exemplo n.º 5
0
 def __init__(self, filter=None):
     if not filter:
         filter = {}
     CTreeItemWithId.__init__(self, None, '-', None)
     self._classesVisible = False
Exemplo n.º 6
0
 def __init__(self, parent, name, id=None):
     CTreeItemWithId.__init__(self, parent, name, id)
     self._items = []
Exemplo n.º 7
0
 def __init__(self, parent, id, code, name):
     CTreeItemWithId.__init__(self, parent, name, id)
     self._code = code
     self._items = []
Exemplo n.º 8
0
 def __init__(self, parent, id, name, model, type):
     CTreeItemWithId.__init__(self, parent, name, id)
     self._type = type
     self._model = model
Exemplo n.º 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_
Exemplo n.º 10
0
 def __init__(self, parent, id, code, isArea, hasStocks):
     CTreeItemWithId.__init__(self, parent, code, id)
     self._isArea = isArea
     self._hasStocks = hasStocks