- added a toggle left panel button to the canvas context menu

This commit is contained in:
Marius Stanciu 2019-05-24 19:50:59 +03:00
parent bc3da37e81
commit ad7222a768
6 changed files with 6 additions and 2 deletions

View File

@ -1419,6 +1419,7 @@ class App(QtCore.QObject):
# Context Menu
self.ui.popmenu_disable.triggered.connect(lambda: self.disable_plots(self.collection.get_selected()))
self.ui.popmenu_panel_toggle.triggered.connect(self.on_toggle_notebook)
self.ui.popmenu_new_geo.triggered.connect(self.new_geometry_object)
self.ui.popmenu_new_grb.triggered.connect(self.new_gerber_object)

View File

@ -12,6 +12,7 @@ CAD program, and create G-Code for Isolation routing.
24.05.2019
- added a toggle Grid button to the canvas context menu in the Grids submenu
- added a toggle left panel button to the canvas context menu
23.05.2019

View File

@ -732,7 +732,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.grb_edit_toolbar.addSeparator()
self.aperture_move_btn = self.grb_edit_toolbar.addAction(QtGui.QIcon('share/move32.png'), _("Move"))
### Snap Toolbar ###
# ## Snap Toolbar ###
# Snap GRID toolbar is always active to facilitate usage of measurements done on GRID
# self.addToolBar(self.snap_toolbar)
@ -1579,7 +1579,9 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
# #############################################################
self.popMenu = FCMenu()
self.popmenu_disable = self.popMenu.addAction(QtGui.QIcon('share/clear_plot32.png'), _("Disable"))
self.popmenu_disable = self.popMenu.addAction(QtGui.QIcon('share/disable32.png'), _("Disable Plot"))
self.popmenu_panel_toggle = self.popMenu.addAction(QtGui.QIcon('share/notebook16.png'), _("Toggle Panel"))
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'), _("Geometry"))

BIN
share/disable16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

BIN
share/disable32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 B

BIN
share/notebook16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B