def _createNonHeaderWidgets(self): self.profileJoeyPathLabel = wx.StaticText( self, wx.ID_ANY, _extstr(u"importprofile.OldProfilePath:")) #$NON-NLS-1$ self.profileJoeyPathCtrl = ZValidatingFileChooserCtrl( ZProfileJoeyPathValidator(), self, ZFCC_DIRECTORY_TYPE, _extstr(u"importprofile.ChoosePathDialogTitle")) #$NON-NLS-1$ self.profileJoeyPathCtrl.SetToolTipString( _extstr(u"importprofile.EnterZBW1XPathTooltip")) #$NON-NLS-1$ ZNewProfileDialog._createNonHeaderWidgets(self)
def _createNonHeaderWidgets(self): self.profileInfoStaticBox = wx.StaticBox( self, label=_extstr(u"newprofile.ProfileInfo")) #$NON-NLS-1$ self.profileNameLabel = wx.StaticText( self, wx.ID_ANY, _extstr(u"newprofile.Name:")) #$NON-NLS-1$ self.profileNameText = ZValidatingTextCtrl(ZProfileNameValidator( self.profilesModel), self, wx.ID_ANY, size=wx.Size(325, -1)) self.profileNameText.SetToolTipString( _extstr(u"newprofile.ProfileNameTooltip")) #$NON-NLS-1$ self.profilePathLabel = wx.StaticText( self, wx.ID_ANY, _extstr(u"newprofile.Path:")) #$NON-NLS-1$ self.profilePathCtrl = ZValidatingFileChooserCtrl( ZProfilePathValidator(), self, ZFCC_DIRECTORY_TYPE, _extstr(u"newprofile.ChooseAProfileLocation")) #$NON-NLS-1$ self.profilePathCtrl.SetToolTipString( _extstr(u"newprofile.ProfilePathTooltip")) #$NON-NLS-1$