":
self.collection.get_active().on_tool_delete()
@@ -6209,7 +6209,7 @@ class App(QtCore.QObject):
if name == 'project':
self.ui.notebook.setCurrentWidget(self.ui.project_tab)
elif name == 'selected':
- self.ui.notebook.setCurrentWidget(self.ui.selected_tab)
+ self.ui.notebook.setCurrentWidget(self.ui.properties_tab)
elif name == 'tool':
self.ui.notebook.setCurrentWidget(self.ui.tool_tab)
@@ -6459,7 +6459,7 @@ class App(QtCore.QObject):
if self.doubleclick is True:
self.doubleclick = False
if self.collection.get_selected():
- self.ui.notebook.setCurrentWidget(self.ui.selected_tab)
+ self.ui.notebook.setCurrentWidget(self.ui.properties_tab)
if self.ui.splitter.sizes()[0] == 0:
self.ui.splitter.setSizes([1, 1])
try:
@@ -9686,8 +9686,7 @@ class App(QtCore.QObject):
# label = QtWidgets.QLabel("Choose an item from Project")
# label.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignVCenter)
- sel_title = QtWidgets.QTextEdit(
- _('Shortcut Key List'))
+ sel_title = QtWidgets.QTextEdit(_('Shortcut Key List'))
sel_title.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
sel_title.setFrameStyle(QtWidgets.QFrame.NoFrame)
@@ -9699,50 +9698,6 @@ class App(QtCore.QObject):
tsize = fsize + int(fsize / 2)
- # selected_text = (_('''
- # Selected Tab - Choose an Item from Project Tab
- #
- #
- # Details:
- # The normal flow when working in FlatCAM is the following:
- #
- #
- # - Loat/Import a Gerber, Excellon, Gcode, DXF, Raster Image or SVG
- # file into
- # FlatCAM using either the menu's, toolbars, key shortcuts or
- # even dragging and dropping the files on the appGUI.
- #
- # You can also load a FlatCAM project by double clicking on the project file, drag &
- # drop of the
- # file into the FLATCAM appGUI or through the menu/toolbar links offered within the app.
- #
- # - Once an object is available in the Project Tab, by selecting it
- # and then
- # focusing on SELECTED TAB (more simpler is to double click the object name in the
- # Project Tab), SELECTED TAB will be updated with the object properties according to
- # it's kind: Gerber, Excellon, Geometry or CNCJob object.
- #
- # If the selection of the object is done on the canvas by single click instead, and the
- # SELECTED TAB
- # is in focus, again the object properties will be displayed into the Selected Tab. Alternatively,
- # double clicking on the object on the canvas will bring the SELECTED TAB and populate
- # it even if it was out of focus.
- #
- # You can change the parameters in this screen and the flow direction is like this:
- #
- # Gerber/Excellon Object -> Change Param -> Generate Geometry ->
- # Geometry Object
- # -> Add tools (change param in Selected Tab) -> Generate CNCJob -> CNCJob Object
- # -> Verify GCode (through Edit CNC Code) and/or append/prepend to GCode (again, done in
- # SELECTED TAB) -> Save GCode
- #
- #
- # A list of key shortcuts is available through an menu entry in
- # Help -> Shortcuts List or through it's own key shortcut:
- # F3.
- #
- # ''').format(fsize=fsize, tsize=tsize))
-
selected_text = '''
{title}
@@ -9767,7 +9722,7 @@ class App(QtCore.QObject):
{s8}
'''.format(
- title=_("Selected Tab - Choose an Item from Project Tab"),
+ title=_("Properties Tab - Choose an Item from Project Tab"),
subtitle=_("Details"),
s1=_("The normal flow when working with the application is the following:"),
@@ -9778,13 +9733,13 @@ class App(QtCore.QObject):
"drag and drop of the file into the GUI or through the menu (or toolbar) "
"actions offered within the app."),
s4=_("Once an object is available in the Project Tab, by selecting it and then focusing "
- "on SELECTED TAB (more simpler is to double click the object name in the Project Tab, "
- "SELECTED TAB will be updated with the object properties according to its kind: "
+ "on Properties TAB (more simpler is to double click the object name in the Project Tab, "
+ "Properties TAB will be updated with the object properties according to its kind: "
"Gerber, Excellon, Geometry or CNCJob object."),
s5=_("If the selection of the object is done on the canvas by single click instead, "
- "and the SELECTED TAB is in focus, again the object properties will be displayed into the "
- "Selected Tab. Alternatively, double clicking on the object on the canvas will bring "
- "the SELECTED TAB and populate it even if it was out of focus."),
+ "and the Properties TAB is in focus, again the object properties will be displayed into the "
+ "Properties Tab. Alternatively, double clicking on the object on the canvas will bring "
+ "the Properties TAB and populate it even if it was out of focus."),
s6=_("You can change the parameters in this screen and the flow direction is like this:"),
s7=_("Gerber/Excellon Object --> Change Parameter --> Generate Geometry --> Geometry Object --> "
"Add tools (change param in Selected Tab) --> Generate CNCJob --> CNCJob Object --> "