- started to work to a new tool: Calibrate Excellon Tool

This commit is contained in:
Marius Stanciu
2019-10-20 05:25:54 +03:00
committed by Marius
parent 8797793472
commit 3ca4ab72d7
7 changed files with 333 additions and 9 deletions

View File

@@ -2522,6 +2522,7 @@ class App(QtCore.QObject):
self.pdf_tool = None
self.image_tool = None
self.pcb_wizard_tool = None
self.cal_exc_tool = None
# always install tools only after the shell is initialized because the self.inform.emit() depends on shell
self.install_tools()
@@ -3054,6 +3055,10 @@ class App(QtCore.QObject):
self.dblsidedtool = DblSidedTool(self)
self.dblsidedtool.install(icon=QtGui.QIcon('share/doubleside16.png'), separator=True)
self.cal_exc_tool = ToolCalibrateExcellon(self)
self.cal_exc_tool.install(icon=QtGui.QIcon('share/drill16.png'), pos=self.ui.menutool,
before=self.dblsidedtool.menuAction,
separator=False)
self.distance_tool = Distance(self)
self.distance_tool.install(icon=QtGui.QIcon('share/distance16.png'), pos=self.ui.menuedit,
before=self.ui.menueditorigin,