self.settings._add(ComboSetting("uimode","Standard",["Standard","Compact","Tabbed"],_("Interface mode"),_("Standard interface is a one-page, three columns layout with controls/visualization/log\nCompact mode is a one-page, two columns layout with controls + log/visualization\nTabbed mode is a two-pages mode, where the first page shows controls and the second one shows visualization and log."),"UI"))
self.settings._add(BooleanSetting("slic3rintegration",False,_("Enable Slic3r integration"),_("Add a menu to select Slic3r profiles directly from Pronterface"),"UI"))
self.settings._add(ComboSetting("mainviz","2D",["2D","3D","None"],_("Main visualization"),_("Select visualization for main window."),"UI"))
self.settings._add(BooleanSetting("viz3d",False,_("Use 3D in GCode viewer window"),_("Use 3D mode instead of 2D layered mode in the visualization window"),"UI"))
self.settings._add(BooleanSetting("light3d",True,_("Use a lighter 3D visualization"),_("Use a lighter visualization with simple lines instead of extruded paths for 3D viewer"),"UI"))
self.settings._add(BooleanSetting("tempgraph",True,_("Display temperature graph"),_("Display time-lapse temperature graph"),"UI"))
self.settings._add(BooleanSetting("tempgauges",False,_("Display temperature gauges"),_("Display graphical gauges for temperatures visualization"),"UI"))
self.settings._add(BooleanSetting("lockbox",False,_("Display interface lock checkbox"),_("Display a checkbox that, when check, locks most of Pronterface"),"UI"))
self.settings._add(BooleanSetting("lockonstart",False,_("Lock interface upon print start"),_("If lock checkbox is enabled, lock the interface when starting a print"),"UI"))
self.settings._add(FloatSpinSetting("preview_extrusion_width",0.5,0,10,_("Preview extrusion width"),_("Width of Extrusion in Preview"),"UI"),self.update_gviz_params)
rco.write(_("# I moved all your custom buttons into .pronsolerc.\n# Please don't add them here any more.\n# Backup of your old buttons is in custombtn.old\n"))
rco.close()
exceptIOError,x:
printstr(x)
else:
print_("Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc")
print_("Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt")