- added new menu category in File -> Backup with two menu entries that duplicate the functions of the export/import preferences buttons from the bottom of the Preferences window
This commit is contained in:
parent
e061c4364a
commit
9e7d81d61b
@ -1463,6 +1463,10 @@ class App(QtCore.QObject):
|
|||||||
self.ui.menufilesaveprojectas.triggered.connect(self.on_file_saveprojectas)
|
self.ui.menufilesaveprojectas.triggered.connect(self.on_file_saveprojectas)
|
||||||
self.ui.menufilesaveprojectcopy.triggered.connect(lambda: self.on_file_saveprojectas(make_copy=True))
|
self.ui.menufilesaveprojectcopy.triggered.connect(lambda: self.on_file_saveprojectas(make_copy=True))
|
||||||
self.ui.menufilesavedefaults.triggered.connect(self.on_file_savedefaults)
|
self.ui.menufilesavedefaults.triggered.connect(self.on_file_savedefaults)
|
||||||
|
|
||||||
|
self.ui.menufileexportpref.triggered.connect(self.on_export_preferences)
|
||||||
|
self.ui.menufileimportpref.triggered.connect(self.on_import_preferences)
|
||||||
|
|
||||||
self.ui.menufile_exit.triggered.connect(self.final_save)
|
self.ui.menufile_exit.triggered.connect(self.final_save)
|
||||||
|
|
||||||
self.ui.menueditedit.triggered.connect(lambda: self.object2editor())
|
self.ui.menueditedit.triggered.connect(lambda: self.object2editor())
|
||||||
|
@ -18,6 +18,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
- remade the enable/disable plots functions to work only where it needs to (no sense in disabling a plot already disabled)
|
- remade the enable/disable plots functions to work only where it needs to (no sense in disabling a plot already disabled)
|
||||||
- made sure that if multi depth is choosed when creating GCode then if the multidepth is more than the depth of cut only one cut is made (to the depth of cut)
|
- made sure that if multi depth is choosed when creating GCode then if the multidepth is more than the depth of cut only one cut is made (to the depth of cut)
|
||||||
- each CNCJob object has now it's own text_collection for the annotations which allow the individual enabling and disabling of the annotations
|
- each CNCJob object has now it's own text_collection for the annotations which allow the individual enabling and disabling of the annotations
|
||||||
|
- added new menu category in File -> Backup with two menu entries that duplicate the functions of the export/import preferences buttons from the bottom of the Preferences window
|
||||||
|
|
||||||
15.08.2019
|
15.08.2019
|
||||||
|
|
||||||
|
@ -194,12 +194,27 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
|||||||
self.menufile.addSeparator()
|
self.menufile.addSeparator()
|
||||||
|
|
||||||
# Save Defaults
|
# Save Defaults
|
||||||
self.menufilesavedefaults = QtWidgets.QAction(QtGui.QIcon('share/defaults.png'), _('Save &Defaults'), self)
|
self.menufilesavedefaults = QtWidgets.QAction(QtGui.QIcon('share/defaults.png'), _('Save Preferences'), self)
|
||||||
self.menufile.addAction(self.menufilesavedefaults)
|
self.menufile.addAction(self.menufilesavedefaults)
|
||||||
|
|
||||||
# Separator
|
# Separator
|
||||||
self.menufile.addSeparator()
|
self.menufile.addSeparator()
|
||||||
|
|
||||||
|
self.menufile_backup = self.menufile.addMenu(QtGui.QIcon('share/backup24.png'), _('Backup'))
|
||||||
|
|
||||||
|
# Import Preferences
|
||||||
|
self.menufileimportpref = QtWidgets.QAction(QtGui.QIcon('share/backup_import24.png'),
|
||||||
|
_('Import Preferences from file ...'), self)
|
||||||
|
self.menufile_backup.addAction(self.menufileimportpref)
|
||||||
|
|
||||||
|
# Export Preferences
|
||||||
|
self.menufileexportpref = QtWidgets.QAction(QtGui.QIcon('share/backup_export24.png'),
|
||||||
|
_('Export Preferences to file ...'), self)
|
||||||
|
self.menufile_backup.addAction(self.menufileexportpref)
|
||||||
|
|
||||||
|
# Separator
|
||||||
|
self.menufile.addSeparator()
|
||||||
|
|
||||||
self.menufile_save = self.menufile.addMenu(QtGui.QIcon('share/save_as.png'), _('Save'))
|
self.menufile_save = self.menufile.addMenu(QtGui.QIcon('share/save_as.png'), _('Save'))
|
||||||
|
|
||||||
# Save Project
|
# Save Project
|
||||||
|
BIN
share/backup24.png
Normal file
BIN
share/backup24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 324 B |
BIN
share/backup_export24.png
Normal file
BIN
share/backup_export24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 164 B |
BIN
share/backup_import24.png
Normal file
BIN
share/backup_import24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 168 B |
Loading…
Reference in New Issue
Block a user