- added shortcut key 'L' for creating 'New Excellon'
This commit is contained in:
parent
4f7b2bbb34
commit
18fb7c2c1f
|
@ -91,7 +91,7 @@ class App(QtCore.QObject):
|
|||
|
||||
# Version
|
||||
version = 8.905
|
||||
version_date = "2019/01/26"
|
||||
version_date = "2019/01/28"
|
||||
beta = True
|
||||
|
||||
# URL for update checks and statistics
|
||||
|
@ -3716,6 +3716,9 @@ class App(QtCore.QObject):
|
|||
if event.key == 'J':
|
||||
self.on_jump_to()
|
||||
|
||||
if event.key == 'L':
|
||||
self.new_excellon_object()
|
||||
|
||||
if event.key == 'M':
|
||||
self.move_tool.toggle()
|
||||
return
|
||||
|
|
|
@ -155,7 +155,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
|||
### Edit ###
|
||||
self.menuedit = self.menu.addMenu('&Edit')
|
||||
self.menueditnew = self.menuedit.addAction(QtGui.QIcon('share/new_geo16.png'), '&New Geometry\tN')
|
||||
self.menueditnewexc = self.menuedit.addAction(QtGui.QIcon('share/new_geo16.png'), 'New Excellon\tX')
|
||||
self.menueditnewexc = self.menuedit.addAction(QtGui.QIcon('share/new_geo16.png'), 'New Excellon\tL')
|
||||
# Separator
|
||||
self.menuedit.addSeparator()
|
||||
self.menueditedit = self.menuedit.addAction(QtGui.QIcon('share/edit16.png'), 'Edit Object\tE')
|
||||
|
|
|
@ -376,6 +376,10 @@ class ObjectCollection(QtCore.QAbstractItemModel):
|
|||
if key == QtCore.Qt.Key_J:
|
||||
self.app.on_jump_to()
|
||||
|
||||
# New Excellon
|
||||
if key == QtCore.Qt.Key_L:
|
||||
self.app.new_excellon_object()
|
||||
|
||||
# Move tool toggle
|
||||
if key == QtCore.Qt.Key_M:
|
||||
self.app.move_tool.toggle()
|
||||
|
|
|
@ -15,6 +15,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||
- reorganized the Edit -> Preferences -> Global
|
||||
- redesigned the messagebox that is showed when quiting ot creating a New Project: now it has an option ('Cancel') to abort the process returning to the app
|
||||
- added options for trace segmentation that can be useful for auto-levelling (code snippet from Lei Zheng from a rejected pull request on FlatCAM https://bitbucket.org/realthunder/ )
|
||||
- added shortcut key 'L' for creating 'New Excellon'
|
||||
|
||||
26.01.2019
|
||||
|
||||
|
|
Loading…
Reference in New Issue