- in TCL Shell removed the line that setFocus after the item is disabled

(this is pointless)
- added separators between groups of menu items
- added icons for the Drawing -> Paint and for the Drawing - > Buffer
- added ability to add icons for the Tools
- added icons to the current tools (Dblsided Tool, Measurement Tool)
- added buttons in the toolbar for: Open Gerber, Open Excellon,
Open Gcode and Save Project As
- added button in Tools toolbar for Measurement tool
- added separators in the toolbar
- organized the toolbar buttons in multiple toolbars that can be disabled
with right click on the toolbar
- added names for the toolbars where they were not present
This commit is contained in:
Marius Stanciu
2018-05-29 16:48:06 +03:00
parent b85c490256
commit e1c8eaafa9
11 changed files with 77 additions and 28 deletions

View File

@@ -29,8 +29,8 @@ class Measurement(FlatCAMTool):
self.click_subscription = None
self.move_subscription = None
def install(self):
FlatCAMTool.install(self)
def install(self, icon=None):
FlatCAMTool.install(self, icon)
self.app.ui.right_layout.addWidget(self)
self.app.plotcanvas.mpl_connect('key_press_event', self.on_key_press)