Esempio 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)
Esempio 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)
Esempio 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
 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
Esempio n. 5
0
 def __init__(self, label, parent = None, children = None):
     TreeData.__init__(self, label, parent, children)
Esempio 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)
Esempio n. 7
0
 def __init__(self, slimItem, **kw):
     TreeData.__init__(self, **kw)
     self.slimItem = slimItem
     self.invController = invCtrl.POSCorpHangar(self.slimItem.itemID)
Esempio 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)
Esempio n. 9
0
 def __init__(self, slimItem, **kw):
     TreeData.__init__(self, **kw)
     self.slimItem = slimItem
     self.invController = invCtrl.POSCorpHangar(self.slimItem.itemID)
Esempio n. 10
0
 def __init__(self, label, parent = None, children = None):
     TreeData.__init__(self, label, parent, children)