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(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("viz3d",False,_("Enable 3D viewer"),_("Use 3D visualization instead of 2D layered visualization"),"UI"))
self.settings._add(BooleanSetting("viz3d",False,_("Enable 3D viewer"),_("Use 3D visualization instead of 2D layered visualization"),"UI"))
...
@@ -217,6 +228,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -217,6 +228,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.userm105=0
self.userm105=0
self.monitor=0
self.monitor=0
self.fgcode=None
self.fgcode=None
self.excluder=None
self.skeinp=None
self.skeinp=None
self.monitor_interval=3
self.monitor_interval=3
self.current_pos=[0,0,0]
self.current_pos=[0,0,0]
...
@@ -291,6 +303,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -291,6 +303,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.skeining=0
self.skeining=0
self.mini=False
self.mini=False
self.p.sendcb=self.sentcb
self.p.sendcb=self.sentcb
self.p.preprintsendcb=self.preprintsendcb
self.p.printsendcb=self.printsentcb
self.p.printsendcb=self.printsentcb
self.p.layerchangecb=self.layer_change_cb
self.p.layerchangecb=self.layer_change_cb
self.p.startcb=self.startcb
self.p.startcb=self.startcb
...
@@ -367,7 +380,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -367,7 +380,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):