confirmation=wx.MessageDialog(None,_("Are you sure you want to reset the setting to the default value: {0!r} ?").format(self.default),_("Confirm set default"),wx.ICON_EXCLAMATION|wx.YES_NO|wx.NO_DEFAULT)
self._add(BooleanSetting("tcp_streaming_mode",False,_("TCP streaming mode"),_("When using a TCP connection to the printer, the streaming mode will not wait for acks from the printer to send new commands. This will break things such as ETA prediction, but can result in smoother prints.")),root.update_tcp_streaming_mode)
self._add(BooleanSetting("rpc_server",True,_("RPC server"),_("Enable RPC server to allow remotely querying print status")),root.update_rpc_server)
self._add(SpinSetting("bedtemp_abs",110,0,400,_("Bed temperature for ABS"),_("Heated Build Platform temp for ABS (deg C)"),"Printer"))
self._add(SpinSetting("bedtemp_pla",60,0,400,_("Bed temperature for PLA"),_("Heated Build Platform temp for PLA (deg C)"),"Printer"))
self._add(SpinSetting("temperature_abs",230,0,400,_("Extruder temperature for ABS"),_("Extruder temp for ABS (deg C)"),"Printer"))
self._add(SpinSetting("temperature_pla",185,0,400,_("Extruder temperature for PLA"),_("Extruder temp for PLA (deg C)"),"Printer"))
self._add(SpinSetting("xy_feedrate",3000,0,50000,_("X && Y manual feedrate"),_("Feedrate for Control Panel Moves in X and Y (mm/min)"),"Printer"))
self._add(SpinSetting("z_feedrate",100,0,50000,_("Z manual feedrate"),_("Feedrate for Control Panel Moves in Z (mm/min)"),"Printer"))
self._add(SpinSetting("e_feedrate",100,0,1000,_("E manual feedrate"),_("Feedrate for Control Panel Moves in Extrusions (mm/min)"),"Printer"))
confirmation=wx.MessageDialog(None,_("Are you sure you want to reset the setting to the default value: {0!r} ?").format(self.default),_("Confirm set default"),wx.ICON_EXCLAMATION|wx.YES_NO|wx.NO_DEFAULT)
self._add(BooleanSetting("tcp_streaming_mode",False,_("TCP streaming mode"),_("When using a TCP connection to the printer, the streaming mode will not wait for acks from the printer to send new commands. This will break things such as ETA prediction, but can result in smoother prints.")),root.update_tcp_streaming_mode)
self._add(BooleanSetting("rpc_server",True,_("RPC server"),_("Enable RPC server to allow remotely querying print status")),root.update_rpc_server)
self._add(SpinSetting("bedtemp_abs",110,0,400,_("Bed temperature for ABS"),_("Heated Build Platform temp for ABS (deg C)"),"Printer"))
self._add(SpinSetting("bedtemp_pla",60,0,400,_("Bed temperature for PLA"),_("Heated Build Platform temp for PLA (deg C)"),"Printer"))
self._add(SpinSetting("temperature_abs",230,0,400,_("Extruder temperature for ABS"),_("Extruder temp for ABS (deg C)"),"Printer"))
self._add(SpinSetting("temperature_pla",185,0,400,_("Extruder temperature for PLA"),_("Extruder temp for PLA (deg C)"),"Printer"))
self._add(SpinSetting("xy_feedrate",3000,0,50000,_("X && Y manual feedrate"),_("Feedrate for Control Panel Moves in X and Y (mm/min)"),"Printer"))
self._add(SpinSetting("z_feedrate",100,0,50000,_("Z manual feedrate"),_("Feedrate for Control Panel Moves in Z (mm/min)"),"Printer"))
self._add(SpinSetting("e_feedrate",100,0,1000,_("E manual feedrate"),_("Feedrate for Control Panel Moves in Extrusions (mm/min)"),"Printer"))