From: daid Date: Fri, 6 Apr 2012 12:41:38 +0000 (+0200) Subject: Updated advanced window (old name) to expert window (new name), was already called... X-Git-Tag: RC3~97 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bcf7466f9da939920f626e581ffc910078964c8f;p=cura.git Updated advanced window (old name) to expert window (new name), was already called expert config in the GUI, just refactor in the code --- diff --git a/Cura/gui/advancedConfig.py b/Cura/gui/expertConfig.py similarity index 96% rename from Cura/gui/advancedConfig.py rename to Cura/gui/expertConfig.py index 99c841f8..786c587f 100644 --- a/Cura/gui/advancedConfig.py +++ b/Cura/gui/expertConfig.py @@ -10,10 +10,10 @@ from gui import sliceProgessPanel from gui import alterationPanel from gui import validators -class advancedConfigWindow(configBase.configWindowBase): - "Advanced configuration window" +class expertConfigWindow(configBase.configWindowBase): + "Expert configuration window" def __init__(self): - super(advancedConfigWindow, self).__init__(title='Expert config') + super(expertConfigWindow, self).__init__(title='Expert config') wx.EVT_CLOSE(self, self.OnClose) diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py index d602ce40..1fe2650e 100644 --- a/Cura/gui/mainWindow.py +++ b/Cura/gui/mainWindow.py @@ -4,7 +4,7 @@ import __init__ import wx, os, platform, types, webbrowser from gui import configBase -from gui import advancedConfig +from gui import expertConfig from gui import preview3d from gui import sliceProgessPanel from gui import alterationPanel @@ -126,7 +126,7 @@ class mainWindow(configBase.configWindowBase): configBase.TitleRow(right, "Support") c = configBase.SettingRow(right, "Support type", 'support', ['None', 'Exterior Only', 'Everywhere', 'Empty Layers Only'], 'Type of support structure build.\nNone does not do any support.\nExterior only only creates support on the outside.\nEverywhere creates support even on the insides of the model.\nOnly on empty layers is for stacked objects.') - c = configBase.SettingRow(right, "Add raft", 'enable_raft', False, 'A raft is a few layers of lines below the bottom of the object. It prevents warping. Full raft settings can be found in the advanced settings.\nFor PLA this is usually not required. But if you print with ABS it is almost required.') + c = configBase.SettingRow(right, "Add raft", 'enable_raft', False, 'A raft is a few layers of lines below the bottom of the object. It prevents warping. Full raft settings can be found in the expert settings.\nFor PLA this is usually not required. But if you print with ABS it is almost required.') configBase.TitleRow(right, "Filament") c = configBase.SettingRow(right, "Diameter (mm)", 'filament_diameter', '2.89', 'Diameter of your filament, as accurately as possible.\nIf you cannot measure this value you will have to callibrate it, a higher number means less extrusion, a smaller number generates more extrusion.') @@ -291,9 +291,9 @@ class mainWindow(configBase.configWindowBase): printWindow.printFile(self.filename[: self.filename.rfind('.')] + "_export.gcode") def OnExpertOpen(self, e): - acw = advancedConfig.advancedConfigWindow() - acw.Centre() - acw.Show(True) + ecw = expertConfig.expertConfigWindow() + ecw.Centre() + ecw.Show(True) def removeSliceProgress(self, spp): self.progressPanelList.remove(spp)