- made the workspace label in the status bar clickable and also added a status bar message on status toggle for workspace

This commit is contained in:
Marius Stanciu
2020-05-18 06:08:43 +03:00
committed by Marius
parent 1085d26b7b
commit af2cc005b0
5 changed files with 21 additions and 5 deletions

View File

@@ -2329,7 +2329,6 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.wplace_label = FCLabel("A4")
self.wplace_label.setMargin(2)
self.infobar.addWidget(self.wplace_label)
self.wplace_label.hide()
self.units_label = QtWidgets.QLabel("[mm]")
self.units_label.setMargin(2)
@@ -2449,6 +2448,8 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.pref_open_button.clicked.connect(self.on_preferences_open_folder)
self.clear_btn.clicked.connect(self.on_gui_clear)
self.wplace_label.clicked.connect(self.app.on_workspace_toggle)
# to be used in the future
# self.plot_tab_area.tab_attached.connect(lambda x: print(x))
# self.plot_tab_area.tab_detached.connect(lambda x: print(x))