- started the add of a new Tool: Align Objects Tool which will align (sync) objects of Gerber or Excellon type

This commit is contained in:
Marius Stanciu
2020-01-13 21:43:25 +02:00
committed by Marius
parent 02cfd96715
commit 41277d78ce
7 changed files with 436 additions and 2 deletions

View File

@@ -2493,6 +2493,7 @@ class App(QtCore.QObject):
self.copper_thieving_tool = None
self.fiducial_tool = None
self.edrills_tool = None
self.align_objects_tool = None
# always install tools only after the shell is initialized because the self.inform.emit() depends on shell
try:
@@ -3065,6 +3066,9 @@ class App(QtCore.QObject):
before=self.dblsidedtool.menuAction,
separator=False)
self.align_objects_tool = AlignObjects(self)
self.align_objects_tool.install(icon=QtGui.QIcon(self.resource_location + '/align16.png'), separator=False)
self.edrills_tool = ToolExtractDrills(self)
self.edrills_tool.install(icon=QtGui.QIcon(self.resource_location + '/drill16.png'), separator=True)