- 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

@@ -2440,9 +2440,9 @@ class ToolIsolation(AppTool, Gerber):
break
self.app.on_tools_database(source='iso')
self.app.tools_db_tab.ok_to_add = True
self.app.tools_db_tab.buttons_frame.hide()
self.app.tools_db_tab.add_tool_from_db.show()
self.app.tools_db_tab.cancel_tool_from_db.show()
self.app.tools_db_tab.ui.buttons_frame.hide()
self.app.tools_db_tab.ui.add_tool_from_db.show()
self.app.tools_db_tab.ui.cancel_tool_from_db.show()
def reset_fields(self):
self.object_combo.setRootModelIndex(self.app.collection.index(0, 0, QtCore.QModelIndex()))