def createWidgets(self): self.staticBox = wx.StaticBox( self, wx.ID_ANY, _extstr(u"pingsitesprefpage.Ping_Sites")) #$NON-NLS-1$ self.contentProvider = ZPingListContentProvider() self.pingSites = ZCheckBoxListViewWithButtons(self.contentProvider, self, wx.ID_ANY)
def _createWidgets(self): self.description1 = wx.StaticText( self, wx.ID_ANY, _extstr(u"publishersitewizard.Confirm")) #$NON-NLS-1$ self.description1.SetFont(getDefaultFontBold()) self.description2 = wx.StaticText( self, wx.ID_ANY, _extstr(u"publishersitewizard.ConfirmDescription"), size=wx.Size(-1, 40)) #$NON-NLS-1$ self.staticBox = wx.StaticBox( self, wx.ID_ANY, _extstr(u"accountblogs.BlogList")) #$NON-NLS-1$ self.blogListControl = ZCheckBoxListViewWithButtons( self.blogListProvider, self) self.mediaUploadLabel = wx.StaticText( self, wx.ID_ANY, _extstr( u"publishersitewizard.MediaUploadMethodLabel")) #$NON-NLS-1$ comboValidator = ZNullControlValidator() self.mediaUploadCombo = ZValidatingBitmapComboBox(comboValidator, self, wx.ID_ANY, style=wx.CB_READONLY) self.mediaUploadCombo.SetToolTipString( _extstr( u"publishersitewizard.MediaUploadMethodTooltip")) #$NON-NLS-1$ self.mediaWizardButton = wx.Button( self, wx.ID_ANY, _extstr( u"publishersitewizard.CreateNewMediaStorage")) #$NON-NLS-1$
def _createWidgets(self): self.overrideCB = wx.CheckBox(self, wx.ID_ANY, self._getOverrideTagSitesLabel()) self.panel = ZTransparentPanel(self, wx.ID_ANY) self.staticBox = wx.StaticBox( self.panel, wx.ID_ANY, _extstr(u"tagsubpage.TagSites")) #$NON-NLS-1$ self.contentProvider = ZTagspaceListContentProvider() self.tagSites = ZCheckBoxListViewWithButtons(self.contentProvider, self.panel, wx.ID_ANY)
def _createNonHeaderWidgets(self): self.staticBox = wx.StaticBox( self, wx.ID_ANY, _extstr(u"accountblogs.BlogList")) #$NON-NLS-1$ self.blogListProvider = ZBlogCheckboxListContentProvider() self.blogListControl = ZCheckBoxListViewWithButtons( self.blogListProvider, self) self.blogListControl.SetSizeHints(-1, 150) self.refreshButton = wx.Button( self, wx.ID_ANY, _extstr(u"synchronizeaccountdialog.RefreshBlogList")) #$NON-NLS-1$ self.animateControl = ZProgressLabelCtrl(self)
def _createStandardDialogWidgets(self): ZStandardDialog._createStandardDialogWidgets(self) self.provider = ZBlogListContentProvider(self.blogs, self.blog) style = wx.LC_REPORT | wx.LC_NO_HEADER | wx.LC_SINGLE_SEL self.blogsCheckList = ZCheckBoxListViewWithButtons(self.provider, self.topPanel, style=style) singleBlog = len(self.blogs) == 1 self.localCopyCB = wx.CheckBox( self.topPanel, wx.ID_ANY, _extstr(u"deletepostsdialog.DeleteLocalCopy")) #$NON-NLS-1$ self.localCopyCB.SetValue(singleBlog)
def _createListControl(self): s = wx.LC_VRULES | wx.LC_HRULES | wx.LC_NO_HEADER | wx.LC_SINGLE_SEL | wx.LC_LIST self.catListCtrl = ZCheckBoxListViewWithButtons(self.catListProvider, self, style=s) return self.catListCtrl
def _createWidgets(self): self.listCtrl = ZCheckBoxListViewWithButtons(self.tagListProvider, self)
def _createPingPage(self): self.pingPanel = ZSmartTransparentPanel(self.notebook, wx.ID_ANY) self.pingListProvider = ZPingListContentProvider() self.pingListCtrl = ZCheckBoxListViewWithButtons(self.pingListProvider, self.pingPanel) return self.pingPanel