Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 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