def _createTemplateWidgets(self, parent): self.staticBox = wx.StaticBox( parent, wx.ID_ANY, _extstr(u"templatesubpage.ChooseTemplate")) #$NON-NLS-1$ self.contentProvider = ZTemplateCheckBoxListProvider(self.model) self.templates = ZRadioBoxListView(self.contentProvider, parent, wx.ID_ANY)
def _createStoreWidgets(self, parent): self.staticBox = wx.StaticBox( parent, wx.ID_ANY, _extstr(u"storesubpage.UploadFilesVia")) #$NON-NLS-1$ self.contentProvider = ZMediaStorageCheckBoxListContentProvider( self.model) self.mediaStoresLB = ZRadioBoxListView(self.contentProvider, parent, wx.ID_ANY)
def _createListControl(self): s = wx.LC_VRULES | wx.LC_HRULES | wx.LC_NO_HEADER | wx.LC_SINGLE_SEL | wx.LC_LIST self.catListCtrl = ZRadioBoxListView(self.catListProvider, self, style=s) return self.catListCtrl