- finished the Objects menu by adding the ability of actions to be checked so they will show the selected status of the objects and by adding to actions to (de)select all objects

- fixed and optimized the click selection on canvas
- fixed Gerber parsing for very simple Gerber files that have only one Polygon but many LPC zones
This commit is contained in:
Marius Stanciu
2019-10-19 00:29:29 +03:00
committed by Marius
parent 7eca6085be
commit b058f65108
6 changed files with 127 additions and 102 deletions

View File

@@ -420,6 +420,12 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
# ########################## Objects # ###################################
# ########################################################################
self.menuobjects = self.menu.addMenu(_('Objects'))
self.menuobjects.addSeparator()
self.menuobjects_selall = self.menuobjects.addAction(QtGui.QIcon('share/select_all.png'), _('Select All'))
self.menuobjects_unselall = self.menuobjects.addAction(
QtGui.QIcon('share/deselect_all32.png'),
_('Deselect All')
)
# ########################################################################
# ########################## Tool # ######################################