Exemple #1
0
 def _createWidgets(self):
     self.generalHtmlBox = ZHTMLControl(self,
                                        style=wx.SIMPLE_BORDER
                                        | HW_NO_SELECTION)
     # FIXME (PJ / EPW) re-use ZWhereFoundBlogPostListView (and model).
     self.postPropertiesListView = ZListView(self.postPropsContentProvider,
                                             self)
Exemple #2
0
 def createWidgets(self):
     self.localeDetailsStaticBox = wx.StaticBox(self, wx.ID_ANY)
     self.defaultLocaleLabel = wx.StaticText(self, wx.ID_ANY, _extstr(u"localeprefpage.DefaultLocale")) #$NON-NLS-1$
     self.defaultLocaleLabel.SetFont(getDefaultFontBold())
     self.defaultLocale = wx.StaticText(self, wx.ID_ANY, u"") #$NON-NLS-1$
     self.defaultLocaleBitmap = wx.StaticBitmap(self, wx.ID_ANY, wx.NullBitmap)
     self.overrideCB = wx.CheckBox(self, wx.ID_ANY, _extstr(u"localeprefpage.OverrideDefaultLocale")) #$NON-NLS-1$
     provider = self._createLocaleListProvider()
     self.localeList = ZListView(provider, self, style = wx.LC_VIRTUAL | wx.LC_REPORT | wx.LC_SINGLE_SEL)
Exemple #3
0
 def createWidgets(self):
     self.dictionaryDownloadPanel = ZDictionaryDownloadPanel(self)
     self.enableSpellCheckCB = wx.CheckBox(
         self, wx.ID_ANY,
         _extstr(u"spellingprefpage.EnableSpellcheck"))  #$NON-NLS-1$
     provider = ZLanguagesListProvider(self.model)
     self.langListBox = ZListView(provider,
                                  self,
                                  style=wx.LC_VIRTUAL | wx.LC_REPORT
                                  | wx.LC_SINGLE_SEL)