def __init__(self, parent, backingList, isTask=False, pName=''): ReferenceListCtrl.__init__(self, parent, PERSONACHARACTERISTIC_LISTWARRANT_ID, 'warrant') self.thePcId = -1 self.thePersonaName = pName self.theBackingList = backingList self.isTaskIndicator = isTask
def __init__(self, parent, winId, crTypeName, pName): wx.Panel.__init__(self, parent) topSizer = wx.BoxSizer(wx.VERTICAL) pBox = wx.StaticBox(self, -1) pBoxSizer = wx.StaticBoxSizer(pBox, wx.HORIZONTAL) topSizer.Add(pBoxSizer, 1, wx.EXPAND) refList = ReferenceListCtrl(self, winId, crTypeName, pName) pBoxSizer.Add(refList, 1, wx.EXPAND) self.SetSizer(topSizer)
def load(self,pcId,refs): self.thePcId = pcId ReferenceListCtrl.load(self,refs) self.reloadBackingList()
def __init__(self,parent,backingList,isTask = False,pName = ''): ReferenceListCtrl.__init__(self,parent,armid.PERSONACHARACTERISTIC_LISTWARRANT_ID,'warrant') self.thePcId = -1 self.thePersonaName = pName self.theBackingList = backingList self.isTaskIndicator = isTask