- made the Properties checkbox in the Object UI into a checkable button and added to it an icon
This commit is contained in:
@@ -579,7 +579,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
|
||||
self.ui.editor_button.clicked.connect(lambda: self.app.object2editor())
|
||||
|
||||
# Properties
|
||||
self.ui.properties_cb.stateChanged.connect(self.on_properties)
|
||||
self.ui.properties_button.toggled.connect(self.on_properties)
|
||||
self.calculations_finished.connect(self.update_area_chull)
|
||||
|
||||
# autolevelling signals
|
||||
|
||||
@@ -178,7 +178,7 @@ class ExcellonObject(FlatCAMObj, Excellon):
|
||||
self.ui.editor_button.clicked.connect(lambda: self.app.object2editor())
|
||||
|
||||
# Properties
|
||||
self.ui.properties_cb.stateChanged.connect(self.on_properties)
|
||||
self.ui.properties_button.toggled.connect(self.on_properties)
|
||||
self.calculations_finished.connect(self.update_area_chull)
|
||||
|
||||
self.ui.drill_button.clicked.connect(lambda: self.app.drilling_tool.run(toggle=True))
|
||||
|
||||
@@ -598,7 +598,7 @@ class GeometryObject(FlatCAMObj, Geometry):
|
||||
self.ui.editor_button.clicked.connect(self.app.object2editor)
|
||||
|
||||
# Properties
|
||||
self.ui.properties_cb.stateChanged.connect(self.on_properties)
|
||||
self.ui.properties_button.toggled.connect(self.on_properties)
|
||||
self.calculations_finished.connect(self.update_area_chull)
|
||||
|
||||
self.ui.generate_cnc_button.clicked.connect(self.on_generatecnc_button_click)
|
||||
|
||||
@@ -151,7 +151,7 @@ class GerberObject(FlatCAMObj, Gerber):
|
||||
self.ui.editor_button.clicked.connect(lambda: self.app.object2editor())
|
||||
|
||||
# Properties
|
||||
self.ui.properties_cb.stateChanged.connect(self.on_properties)
|
||||
self.ui.properties_button.toggled.connect(self.on_properties)
|
||||
self.calculations_finished.connect(self.update_area_chull)
|
||||
|
||||
# Tools
|
||||
|
||||
Reference in New Issue
Block a user