- Gerber Editor - working on a new sub-tool: Import Shape which should allow importing polygons from other Gerber objects

This commit is contained in:
Marius Stanciu
2020-12-27 01:26:52 +02:00
committed by Marius
parent 1495624a9e
commit ab7eca7b7d
5 changed files with 374 additions and 19 deletions

View File

@@ -1251,6 +1251,8 @@ class MainGUI(QtWidgets.QMainWindow):
QtGui.QIcon(self.app.resource_location + '/scale32.png'), _('Scale'))
self.aperture_markarea_btn = self.grb_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/markarea32.png'), _('Mark Area'))
self.grb_import_btn = self.grb_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/import.png'), _('Import Shape'))
self.aperture_eraser_btn = self.grb_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/eraser26.png'), _('Eraser'))
@@ -2458,6 +2460,9 @@ class MainGUI(QtWidgets.QMainWindow):
QtGui.QIcon(self.app.resource_location + '/scale32.png'), _('Scale'))
self.aperture_markarea_btn = self.grb_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/markarea32.png'), _('Mark Area'))
self.grb_import_btn = self.grb_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/import.png'), _('Import Shape'))
self.aperture_eraser_btn = self.grb_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/eraser26.png'), _('Eraser'))