- even more refactoring in the app

This commit is contained in:
Marius Stanciu
2021-01-29 02:45:15 +02:00
committed by Marius
parent e36a8a04a0
commit 04cae08a20
2 changed files with 23 additions and 23 deletions

View File

@@ -4579,7 +4579,7 @@ class ShortcutsTab(QtWidgets.QWidget):
_('N'), _("New Geometry"),
_('O'), _("Set Origin"),
_('Q'), _("Change Units"),
_('P'), _("Open Properties Tool"),
_('P'), _("Open Properties Plugin"),
_('R'), _("Rotate by 90 degree CW"),
_('S'), _("Shell Toggle"),
_('T'), _("Add a Tool (when in Geometry Selected Tab or in Tools NCC or Tools Paint)"),
@@ -4619,28 +4619,28 @@ class ShortcutsTab(QtWidgets.QWidget):
_('Shift+Y'), _("Skew on Y axis"),
# ALT section
_('Alt+A'), _("Align Objects Tool"),
_('Alt+B'), _("Corner Markers Tool"),
_('Alt+C'), _("Calculators Tool"),
_('Alt+D'), _("2-Sided PCB Tool"),
_('Alt+E'), _("Extract Tool"),
_('Alt+F'), _("Fiducials Tool"),
_('Alt+G'), _("Invert Gerber Tool"),
_('Alt+H'), _("Punch Gerber Tool"),
_('Alt+I'), _("Isolation Tool"),
_('Alt+J'), _("Copper Thieving Tool"),
_('Alt+K'), _("Solder Paste Dispensing Tool"),
_('Alt+L'), _("Film PCB Tool"),
_('Alt+M'), _("Milling Tool"),
_('Alt+N'), _("Non-Copper Clearing Tool"),
_('Alt+O'), _("Optimal Tool"),
_('Alt+P'), _("Paint Area Tool"),
_('Alt+Q'), _("QRCode Tool"),
_('Alt+R'), _("Rules Check Tool"),
_('Alt+A'), _("Align Objects"),
_('Alt+B'), _("Corner Markers"),
_('Alt+C'), _("Calculators"),
_('Alt+D'), _("2-Sided PCB"),
_('Alt+E'), _("Extract"),
_('Alt+F'), _("Fiducials"),
_('Alt+G'), _("Invert Gerber"),
_('Alt+H'), _("Punch Gerber"),
_('Alt+I'), _("Isolation"),
_('Alt+J'), _("Copper Thieving"),
_('Alt+K'), _("Solder Paste Dispensing"),
_('Alt+L'), _("Film PCB"),
_('Alt+M'), _("Milling"),
_('Alt+N'), _("Non-Copper Clearing"),
_('Alt+O'), _("Optimal"),
_('Alt+P'), _("Paint Area"),
_('Alt+Q'), _("QRCode"),
_('Alt+R'), _("Rules Check"),
_('Alt+S'), _("View File Source"),
_('Alt+T'), _("Transformations Tool"),
_('Alt+W'), _("Subtract Tool"),
_('Alt+X'), _("Cutout PCB Tool"),
_('Alt+T'), _("Transformations"),
_('Alt+W'), _("Subtract"),
_('Alt+X'), _("Cutout PCB"),
_('Alt+Z'), _("Panelize PCB"),
_('Alt+1'), _("Enable all"),
_('Alt+2'), _("Disable all"),

View File

@@ -147,7 +147,7 @@ class Properties(AppTool):
# make sure that the FCTree widget columns are resized to content
self.treeWidget.resize_sig.emit()
self.app.ui.notebook.setTabText(2, _("Properties Tool"))
self.app.ui.notebook.setTabText(2, _("Properties"))
def addItems(self, obj):
parent = self.treeWidget.invisibleRootItem()