- when creating a new FlatCAM object, the options will be updated with FlatCAM tools properties that relate to them

- updated the Tools DB class by separating the Tools DB UI into it's own class
- Tools DB - added the parameters for Drilling Tool
This commit is contained in:
Marius Stanciu
2020-07-12 18:30:24 +03:00
parent 329bb04b3c
commit 0d886955f8
8 changed files with 601 additions and 251 deletions

View File

@@ -5643,7 +5643,7 @@ class App(QtCore.QObject):
for idx in range(self.ui.plot_tab_area.count()):
if self.ui.plot_tab_area.tabText(idx) == _("Tools Database"):
self.ui.plot_tab_area.tabBar.setTabTextColor(idx, QtGui.QColor('red'))
self.tools_db_tab.save_db_btn.setStyleSheet("QPushButton {color: red;}")
self.tools_db_tab.ui.save_db_btn.setStyleSheet("QPushButton {color: red;}")
self.tools_db_changed_flag = True