- Geometry UI - made again the header clickable and first click selects all rows, second click will deselect all rows.
- Geometry UI - minor updates in the layout; moved the warning text to the tooltip of the generate_cncjob button - Geometry UI - working in making the modification of tool parameters such that if there is a selection of tools the modification in the Tool parameters will be applied to all selected
This commit is contained in:
@@ -1973,11 +1973,7 @@ class ToolsDB2(QtWidgets.QWidget):
|
||||
self.on_tool_requested_from_app()
|
||||
|
||||
def on_list_selection_change(self, current, previous):
|
||||
# for idx in current.indexes():
|
||||
# print(idx.data())
|
||||
# print(current.text(0))
|
||||
self.current_toolid = int(current.text(0))
|
||||
|
||||
self.storage_to_form(self.db_tool_dict[current.text(0)])
|
||||
|
||||
def on_list_item_edited(self, item, column):
|
||||
@@ -2022,7 +2018,7 @@ class ToolsDB2(QtWidgets.QWidget):
|
||||
self.blockSignals(False)
|
||||
|
||||
def setup_db_ui(self):
|
||||
filename = self.app.data_path + '\geo_tools_db.FlatDB'
|
||||
filename = self.app.data_path + '\\geo_tools_db.FlatDB'
|
||||
|
||||
# load the database tools from the file
|
||||
try:
|
||||
@@ -2420,7 +2416,6 @@ class ToolsDB2(QtWidgets.QWidget):
|
||||
self.vdia_entry.valueChanged.connect(self.on_calculate_tooldia)
|
||||
self.vangle_entry.valueChanged.connect(self.on_calculate_tooldia)
|
||||
|
||||
|
||||
def ui_disconnect(self):
|
||||
try:
|
||||
self.name_entry.editingFinished.disconnect(self.update_tree_name)
|
||||
|
||||
Reference in New Issue
Block a user