- Tool Drilling - working on the UI
- Tool Drilling - added more tool parameters; laying the ground for adding "Drilling Slots" feature
This commit is contained in:
@@ -67,6 +67,9 @@ class FlatCAMObj(QtCore.QObject):
|
||||
# View
|
||||
self.ui = None
|
||||
|
||||
# set True by the collection.append() when the object load is complete
|
||||
self.load_complete = None
|
||||
|
||||
self.options = LoudDict(name=name)
|
||||
self.options.set_change_callback(self.on_options_change)
|
||||
|
||||
|
||||
@@ -570,6 +570,8 @@ class ObjectCollection(QtCore.QAbstractItemModel):
|
||||
obj.options["name"] = name
|
||||
|
||||
obj.set_ui(obj.ui_type(app=self.app))
|
||||
# a way to signal that the object was fully loaded
|
||||
obj.load_complete = True
|
||||
|
||||
# Required before appending (Qt MVC)
|
||||
group = self.group_items[obj.kind]
|
||||
|
||||
Reference in New Issue
Block a user