diff options
author | nickthetait <tait@alephobjects.com> | 2015-05-28 20:38:08 +0300 |
---|---|---|
committer | nickthetait <tait@alephobjects.com> | 2015-06-02 21:34:07 +0300 |
commit | 0fdca05c00183b76d585147730c733d1abf91de8 (patch) | |
tree | 4f2f049f67a04766322bf677369202c65863b6c0 | |
parent | b6cd7fe3478c30faca7db00ca4b5deaf4d7c89f3 (diff) |
Labeling cleanup, hyperlink for more help.
-rw-r--r-- | Cura/gui/configWizard.py | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Cura/gui/configWizard.py b/Cura/gui/configWizard.py index 36c5d9c1b5..da2a2632b1 100644 --- a/Cura/gui/configWizard.py +++ b/Cura/gui/configWizard.py @@ -1010,22 +1010,32 @@ class LulzbotReadyPage(InfoPage): self.AddSeperator() class Taz5NozzleSelectPage(InfoPage): + url='http://lulzbot.com/fakeurl' + def __init__(self, parent): super(Taz5NozzleSelectPage, self).__init__(parent, _("LulzBot TAZ5")) self._old_machine_index = int(profile.getPreferenceFloat('active_machine')) - #self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGED, self.OnPageChanged) self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGING, self.OnPageChanging) self.Bind(wx.wizard.EVT_WIZARD_CANCEL, self.OnCancel) + self.AddText(_(' ')) self.AddText(_('Please select nozzle size:')) self.Nozzle35Radio = self.AddRadioButton("0.35 mm", style=wx.RB_GROUP) self.Nozzle35Radio.Bind(wx.EVT_RADIOBUTTON, self.OnNozzleSelect) - self.Nozzle50Radio = self.AddRadioButton("0.5 mm (after x date)") + self.Nozzle50Radio = self.AddRadioButton("0.5 mm") self.Nozzle50Radio.Bind(wx.EVT_RADIOBUTTON, self.OnNozzleSelect) - #self.Nozzle50Radio.SetValue(True) + self.Nozzle50Radio.SetValue(True) + self.AddText(_(' ')) self.AddSeperator() + self.AddText(_('If you are not sure which nozzle size you have please check this webpage: ')) + button = self.AddButton(Taz5NozzleSelectPage.url) + button.Bind(wx.EVT_BUTTON, self.OnUrlClick) + + def OnUrlClick(self, e): + webbrowser.open(Taz5NozzleSelectPage.url) + def OnNozzleSelect(self, e): wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotReadyPage) |