- added a disable menu entry in the canvas contextual menu
This commit is contained in:
parent
6c6a802afb
commit
ab026a1a9d
|
@ -1132,6 +1132,8 @@ class App(QtCore.QObject):
|
|||
self.ui.shell_btn.triggered.connect(self.on_toggle_shell)
|
||||
|
||||
# Context Menu
|
||||
self.ui.popmenu_disable.triggered.connect(lambda: self.disable_plots(self.collection.get_selected()))
|
||||
|
||||
self.ui.popmenu_new_geo.triggered.connect(lambda: self.new_object('geometry', 'new_g', lambda x, y: None))
|
||||
self.ui.popmenu_new_exc.triggered.connect(self.new_excellon_object)
|
||||
self.ui.popmenu_new_prj.triggered.connect(self.on_file_new)
|
||||
|
|
|
@ -1160,6 +1160,8 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
|||
##############################################################
|
||||
self.popMenu = QtWidgets.QMenu()
|
||||
|
||||
self.popmenu_disable = self.popMenu.addAction(QtGui.QIcon('share/clear_plot32.png'), "Disable")
|
||||
self.popMenu.addSeparator()
|
||||
self.cmenu_newmenu = self.popMenu.addMenu(QtGui.QIcon('share/file32.png'), "New")
|
||||
self.popmenu_new_geo = self.cmenu_newmenu.addAction(QtGui.QIcon('share/new_geo32_bis.png'), "Geo Obj")
|
||||
self.popmenu_new_exc = self.cmenu_newmenu.addAction(QtGui.QIcon('share/new_exc32.png'), "Exc. Obj")
|
||||
|
|
|
@ -14,6 +14,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||
- in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object
|
||||
- commented some debug messages
|
||||
- imported speedups for shapely
|
||||
- added a disable menu entry in the canvas contextual menu
|
||||
|
||||
6.02.2019
|
||||
|
||||
|
|
Loading…
Reference in New Issue