Ejemplo n.º 1
0
 def __init__(self, memberData, groupChildren = False, label = None, forceCollapsed = True, *args, **kw):
     if label is None:
         label = localization.GetByLabel('UI/Inventory/MemberHangars')
     self.memberData = memberData
     self.groupChildren = groupChildren
     self.memberData.sort(key=lambda x: cfg.eveowners.Get(x[0]).name.lower())
     self.forceCollapsed = forceCollapsed
     TreeData.__init__(self, label=label, *args, **kw)
Ejemplo n.º 2
0
 def __init__(self, memberData, groupChildren = False, label = None, forceCollapsed = True, *args, **kw):
     if label is None:
         label = localization.GetByLabel('UI/Inventory/MemberHangars')
     self.memberData = memberData
     self.groupChildren = groupChildren
     self.memberData.sort(key=lambda x: cfg.eveowners.Get(x[0]).name.lower())
     self.forceCollapsed = forceCollapsed
     TreeData.__init__(self, label=label, *args, **kw)
Ejemplo n.º 3
0
 def __init__(self, treeID = None, showLinksTo = True, iconsPerRow = 3, *args, **kw):
     TreeData.__init__(self, *args, **kw)
     self._isLocked = None
     self._isRestricted = None
     self._isPathToElite = None
     self.showLinksTo = showLinksTo
     self.treeID = treeID
     self._boundingBox = None
     self._position = (0, 0)
     self._iconsPerRow = iconsPerRow
Ejemplo n.º 4
0
 def __init__(self,
              treeID=None,
              showLinksTo=True,
              iconsPerRow=3,
              *args,
              **kw):
     TreeData.__init__(self, *args, **kw)
     self._isLocked = None
     self._isRestricted = None
     self._isPathToElite = None
     self.showLinksTo = showLinksTo
     self.treeID = treeID
     self._boundingBox = None
     self._position = (0, 0)
     self._iconsPerRow = iconsPerRow
Ejemplo n.º 5
0
 def __init__(self, label, parent = None, children = None):
     TreeData.__init__(self, label, parent, children)
Ejemplo n.º 6
0
 def __init__(self, clsName, parent = None, children = None, label = None, isRemovable = False, cmdName = None, iconName = None, **kw):
     TreeData.__init__(self, parent=parent, children=children, label=label, isRemovable=isRemovable, **kw)
     self.clsName = clsName
     self.cmdName = cmdName
     self.iconName = iconName
     self.invController = getattr(invCtrl, clsName)(**kw)
Ejemplo n.º 7
0
 def __init__(self, slimItem, **kw):
     TreeData.__init__(self, **kw)
     self.slimItem = slimItem
     self.invController = invCtrl.POSCorpHangar(self.slimItem.itemID)
Ejemplo n.º 8
0
 def __init__(self, clsName, parent = None, children = None, label = None, isRemovable = False, cmdName = None, iconName = None, **kw):
     TreeData.__init__(self, parent=parent, children=children, label=label, isRemovable=isRemovable, **kw)
     self.clsName = clsName
     self.cmdName = cmdName
     self.iconName = iconName
     self.invController = getattr(invCtrl, clsName)(**kw)
Ejemplo n.º 9
0
 def __init__(self, slimItem, **kw):
     TreeData.__init__(self, **kw)
     self.slimItem = slimItem
     self.invController = invCtrl.POSCorpHangar(self.slimItem.itemID)
Ejemplo n.º 10
0
 def __init__(self, label, parent = None, children = None):
     TreeData.__init__(self, label, parent, children)