Public Member Functions | |
def | getFields (self, obj) |
def | getForm (self) |
def | getSignalsForUpdate (self, obj) |
def | initPage (self, obj) |
def | registerSignalHandlers (self, obj) |
def | setFields (self, obj) |
def | updateData (self, obj, prop) |
def | updateQuantitySpinBoxes (self, index=None) |
Public Member Functions inherited from PathScripts.PathCircularHoleBaseGui.TaskPanelOpPage | |
def | taskPanelBaseGeometryPage (self, obj, features) |
Public Member Functions inherited from PathScripts.PathOpGui.TaskPanelPage | |
def | cleanupPage (self, obj) |
def | getIcon (self, obj) |
def | getTitle (self, obj) |
def | modifyStandardButtons (self, buttonBox) |
def | onDirtyChanged (self, callback) |
def | pageCleanup (self) |
def | pageGetFields (self) |
def | pageRegisterSignalHandlers (self) |
def | pageSetFields (self) |
def | pageUpdateData (self, obj, prop) |
def | selectInComboBox (self, name, combo) |
def | setClean (self) |
def | setDirty (self) |
def | setIcon (self, icon) |
def | setParent (self, parent) |
def | setTitle (self, title) |
def | setupCoolant (self, obj, combo) |
def | setupToolController (self, obj, combo) |
def | updateCoolant (self, obj, combo) |
def | updatePanelVisibility (self, panelTitle, obj) |
def | updateSelection (self, obj, sel) |
def | updateToolController (self, obj, combo) |
Public Attributes | |
dwellTimeSpinBox | |
peckDepthSpinBox | |
peckRetractSpinBox | |
Public Attributes inherited from PathScripts.PathOpGui.TaskPanelPage | |
features | |
form | |
icon | |
isdirty | |
job | |
obj | |
panelTitle | |
parent | |
signalDirtyChanged | |
title | |
Detailed Description
Controller for the drilling operation's page
Member Function Documentation
◆ getFields()
def PathScripts.PathDrillingGui.TaskPanelOpPage.getFields | ( | self, | |
obj | |||
) |
setFields(obj) ... update obj's properties with values from the UI
Reimplemented from PathScripts.PathOpGui.TaskPanelPage.
References PathScripts.PathDrillingGui.TaskPanelOpPage.dwellTimeSpinBox, Mod.PartDesign.FeatureHole.TaskHole.TaskHole.form, PathScripts.PathDressupPathBoundaryGui.TaskPanel.form, ArchIFCView.IfcContextUI.form, drafttaskpanels.task_selectplane.SelectPlaneTaskPanel.form, femtaskpanels.task_constraint_initialflowvelocity._TaskPanel.form, drafttaskpanels.task_scale.ScaleTaskPanel.form, femtaskpanels.task_constraint_electrostaticpotential._TaskPanel.form, femtaskpanels.task_constraint_flowvelocity._TaskPanel.form, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.form, femtaskpanels.task_solver_ccxtools._TaskPanel.form, femtaskpanels.task_mesh_gmsh._TaskPanel.form, PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.form, femsolver.solver_taskpanel.ControlTaskPanel.form, feminout.importFenicsMesh.WriteXDMFTaskPanel.form, femtaskpanels.task_result_mechanical._TaskPanel.form, femtaskpanels.task_element_geometry2D._TaskPanel.form, femtaskpanels.task_constraint_tie._TaskPanel.form, femtaskpanels.task_element_rotation1D._TaskPanel.form, femtaskpanels.task_mesh_region._TaskPanel.form, femtaskpanels.task_mesh_group._TaskPanel.form, femsolver.elmer.equations.equation._TaskPanel.form, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.form, PathScripts.PathDressupTagPreferences.HoldingTagPreferences.form, femtaskpanels.task_mesh_boundarylayer._TaskPanel.form, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.form, drafttaskpanels.task_circulararray.TaskPanelCircularArray.form, drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.form, drafttaskpanels.task_polararray.TaskPanelPolarArray.form, femtaskpanels.task_element_geometry1D._TaskPanel.form, ArchCutPlane._CutPlaneTaskPanel.form, Mod.PartDesign.InvoluteGearFeature._InvoluteGearTaskPanel.form, Gui::Dialog::PreferenceUiForm.form, Mod.PartDesign.SprocketFeature.SprocketTaskPanel.form, AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.form, femtaskpanels.task_material_reinforced._TaskPanel.form, DraftGui.DraftTaskPanel.form, PathScripts.PathDressupZCorrect.TaskPanel.form, femtaskpanels.task_material_common._TaskPanel.form, PathScripts.PathOpGui.TaskPanelPage.form, femtaskpanels.task_element_fluid1D._TaskPanel.form, OpenSCADCommands.AddSCADTask.form, PathScripts.PathJobGui.StockEdit.form, OpenSCADCommands.OpenSCADMeshBooleanTask.form, ArchSchedule.ArchScheduleTaskPanel.form, ArchProfile.ProfileTaskPanel.form, ArchMaterial._ArchMaterialTaskPanel.form, PathScripts.PathJobGui.TaskPanel.form, ArchReference.ArchReferenceTaskPanel.form, ArchAxis._AxisTaskPanel.form, ArchPrecast._PrecastTaskPanel.form, DraftGui.DraftToolBar.form, ArchMaterial._ArchMultiMaterialTaskPanel.form, ArchRoof._RoofTaskPanel.form, PathScripts.PathDressupDogbone.TaskPanel.form, ArchAxis.AxisSystemTaskPanel.form, ArchCommands.SurveyTaskPanel.form, ArchStructure.StructureTaskPanel.form, ArchWindow._ArchWindowTaskPanel.form, ArchPrecast._DentsTaskPanel.form, ArchSectionPlane.SectionPlaneTaskPanel.form, ArchAxis.ArchGridTaskPanel.form, ArchPanel.SheetTaskPanel.form, ArchPanel.NestTaskPanel.form, ArchComponent.ComponentTaskPanel.form, DraftGui.FacebinderTaskPanel.form, automotive_design.tolerance_zone.form, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.tolerance_zone.form, PathScripts.PathDrillingGui.TaskPanelOpPage.peckDepthSpinBox, PathScripts.PathDrillingGui.TaskPanelOpPage.peckRetractSpinBox, PathScripts.PathOpGui.TaskPanelPage.updateCoolant(), PathScripts.PathOpGui.TaskPanelPage.updateToolController(), and PathScripts.PathJobGui.TaskPanel.updateToolController().
Referenced by PathScripts.PathToolControllerGui.TaskPanel.accept(), PathScripts.PathJobGui.TaskPanel.accept(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkXpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkYpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.checkZpos(), PathScripts.PathJobGui.TaskPanel.operationMoveDown(), PathScripts.PathJobGui.TaskPanel.operationMoveUp(), PathScripts.PathOpGui.TaskPanelPage.pageGetFields(), PathScripts.PathJobGui.StockFromExistingEdit.setFields(), PathScripts.PathJobGui.StockCreateBoxEdit.setupUi(), PathScripts.PathJobGui.StockCreateCylinderEdit.setupUi(), PathScripts.PathJobGui.StockFromExistingEdit.setupUi(), PathScripts.PathJobGui.TaskPanel.setupUi(), PathScripts.PathJobGui.TaskPanel.tabPageChanged(), PathScripts.PathJobGui.TaskPanel.templateExport(), PathScripts.PathSetupSheetGui.OpsDefaultEditor.updateModel(), PathScripts.PathSetupSheetGui.GlobalEditor.updateModel(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateXpos(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateYpos(), and PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.updateZpos().
◆ getForm()
def PathScripts.PathDrillingGui.TaskPanelOpPage.getForm | ( | self | ) |
getForm() ... return UI
Reimplemented from PathScripts.PathOpGui.TaskPanelPage.
◆ getSignalsForUpdate()
def PathScripts.PathDrillingGui.TaskPanelOpPage.getSignalsForUpdate | ( | self, | |
obj | |||
) |
getSignalsForUpdate(obj) ... return list of signals which cause the receiver to update the model
Reimplemented from PathScripts.PathOpGui.TaskPanelPage.
References Mod.PartDesign.FeatureHole.TaskHole.TaskHole.form, PathScripts.PathDressupPathBoundaryGui.TaskPanel.form, ArchIFCView.IfcContextUI.form, drafttaskpanels.task_selectplane.SelectPlaneTaskPanel.form, femtaskpanels.task_constraint_initialflowvelocity._TaskPanel.form, drafttaskpanels.task_scale.ScaleTaskPanel.form, femtaskpanels.task_constraint_electrostaticpotential._TaskPanel.form, femtaskpanels.task_constraint_flowvelocity._TaskPanel.form, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.form, femtaskpanels.task_mesh_gmsh._TaskPanel.form, femtaskpanels.task_solver_ccxtools._TaskPanel.form, PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.form, femsolver.solver_taskpanel.ControlTaskPanel.form, feminout.importFenicsMesh.WriteXDMFTaskPanel.form, femtaskpanels.task_result_mechanical._TaskPanel.form, femtaskpanels.task_element_geometry2D._TaskPanel.form, femtaskpanels.task_constraint_tie._TaskPanel.form, femtaskpanels.task_element_rotation1D._TaskPanel.form, femtaskpanels.task_mesh_region._TaskPanel.form, femtaskpanels.task_mesh_group._TaskPanel.form, femsolver.elmer.equations.equation._TaskPanel.form, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.form, femtaskpanels.task_mesh_boundarylayer._TaskPanel.form, PathScripts.PathDressupTagPreferences.HoldingTagPreferences.form, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.form, drafttaskpanels.task_circulararray.TaskPanelCircularArray.form, drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.form, drafttaskpanels.task_polararray.TaskPanelPolarArray.form, femtaskpanels.task_element_geometry1D._TaskPanel.form, ArchCutPlane._CutPlaneTaskPanel.form, Mod.PartDesign.InvoluteGearFeature._InvoluteGearTaskPanel.form, Gui::Dialog::PreferenceUiForm.form, Mod.PartDesign.SprocketFeature.SprocketTaskPanel.form, AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.form, femtaskpanels.task_material_reinforced._TaskPanel.form, DraftGui.DraftTaskPanel.form, PathScripts.PathDressupZCorrect.TaskPanel.form, femtaskpanels.task_material_common._TaskPanel.form, PathScripts.PathOpGui.TaskPanelPage.form, femtaskpanels.task_element_fluid1D._TaskPanel.form, OpenSCADCommands.AddSCADTask.form, PathScripts.PathJobGui.StockEdit.form, OpenSCADCommands.OpenSCADMeshBooleanTask.form, ArchSchedule.ArchScheduleTaskPanel.form, ArchProfile.ProfileTaskPanel.form, ArchMaterial._ArchMaterialTaskPanel.form, PathScripts.PathJobGui.TaskPanel.form, ArchReference.ArchReferenceTaskPanel.form, ArchAxis._AxisTaskPanel.form, ArchPrecast._PrecastTaskPanel.form, DraftGui.DraftToolBar.form, ArchMaterial._ArchMultiMaterialTaskPanel.form, ArchRoof._RoofTaskPanel.form, PathScripts.PathDressupDogbone.TaskPanel.form, ArchAxis.AxisSystemTaskPanel.form, ArchCommands.SurveyTaskPanel.form, ArchStructure.StructureTaskPanel.form, ArchWindow._ArchWindowTaskPanel.form, ArchPrecast._DentsTaskPanel.form, ArchSectionPlane.SectionPlaneTaskPanel.form, ArchAxis.ArchGridTaskPanel.form, ArchPanel.SheetTaskPanel.form, ArchPanel.NestTaskPanel.form, ArchComponent.ComponentTaskPanel.form, DraftGui.FacebinderTaskPanel.form, automotive_design.tolerance_zone.form, and ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.tolerance_zone.form.
Referenced by PathScripts.PathOpGui.TaskPanelPage.pageRegisterSignalHandlers().
◆ initPage()
def PathScripts.PathDrillingGui.TaskPanelOpPage.initPage | ( | self, | |
obj | |||
) |
initPage(obj) ... overwrite to customize UI for specific model. Note that this function is invoked after all page controllers have been created. Should be overwritten by subclasses.
Reimplemented from PathScripts.PathOpGui.TaskPanelPage.
◆ registerSignalHandlers()
def PathScripts.PathDrillingGui.TaskPanelOpPage.registerSignalHandlers | ( | self, | |
obj | |||
) |
registerSignalHandlers(obj) ... overwrite to register custom signal handlers. In case an update of a model is not the desired operation of a signal invocation (see getSignalsForUpdate(obj)) this function can be used to register signal handlers manually. Can safely be overwritten by subclasses.
Reimplemented from PathScripts.PathOpGui.TaskPanelPage.
References Mod.PartDesign.FeatureHole.TaskHole.TaskHole.form, PathScripts.PathDressupPathBoundaryGui.TaskPanel.form, ArchIFCView.IfcContextUI.form, drafttaskpanels.task_selectplane.SelectPlaneTaskPanel.form, femtaskpanels.task_constraint_initialflowvelocity._TaskPanel.form, drafttaskpanels.task_scale.ScaleTaskPanel.form, femtaskpanels.task_constraint_electrostaticpotential._TaskPanel.form, femtaskpanels.task_constraint_flowvelocity._TaskPanel.form, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.form, femtaskpanels.task_mesh_gmsh._TaskPanel.form, femtaskpanels.task_solver_ccxtools._TaskPanel.form, PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.form, femsolver.solver_taskpanel.ControlTaskPanel.form, feminout.importFenicsMesh.WriteXDMFTaskPanel.form, femtaskpanels.task_result_mechanical._TaskPanel.form, femtaskpanels.task_element_geometry2D._TaskPanel.form, femtaskpanels.task_constraint_tie._TaskPanel.form, femtaskpanels.task_element_rotation1D._TaskPanel.form, femtaskpanels.task_mesh_region._TaskPanel.form, femtaskpanels.task_mesh_group._TaskPanel.form, femsolver.elmer.equations.equation._TaskPanel.form, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.form, femtaskpanels.task_mesh_boundarylayer._TaskPanel.form, PathScripts.PathDressupTagPreferences.HoldingTagPreferences.form, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.form, drafttaskpanels.task_circulararray.TaskPanelCircularArray.form, drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.form, drafttaskpanels.task_polararray.TaskPanelPolarArray.form, femtaskpanels.task_element_geometry1D._TaskPanel.form, ArchCutPlane._CutPlaneTaskPanel.form, Mod.PartDesign.InvoluteGearFeature._InvoluteGearTaskPanel.form, Gui::Dialog::PreferenceUiForm.form, Mod.PartDesign.SprocketFeature.SprocketTaskPanel.form, AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.form, femtaskpanels.task_material_reinforced._TaskPanel.form, DraftGui.DraftTaskPanel.form, PathScripts.PathDressupZCorrect.TaskPanel.form, femtaskpanels.task_material_common._TaskPanel.form, PathScripts.PathOpGui.TaskPanelPage.form, femtaskpanels.task_element_fluid1D._TaskPanel.form, OpenSCADCommands.AddSCADTask.form, PathScripts.PathJobGui.StockEdit.form, OpenSCADCommands.OpenSCADMeshBooleanTask.form, ArchSchedule.ArchScheduleTaskPanel.form, ArchProfile.ProfileTaskPanel.form, ArchMaterial._ArchMaterialTaskPanel.form, PathScripts.PathJobGui.TaskPanel.form, ArchReference.ArchReferenceTaskPanel.form, ArchAxis._AxisTaskPanel.form, ArchPrecast._PrecastTaskPanel.form, DraftGui.DraftToolBar.form, ArchMaterial._ArchMultiMaterialTaskPanel.form, ArchRoof._RoofTaskPanel.form, PathScripts.PathDressupDogbone.TaskPanel.form, ArchAxis.AxisSystemTaskPanel.form, ArchCommands.SurveyTaskPanel.form, ArchStructure.StructureTaskPanel.form, ArchWindow._ArchWindowTaskPanel.form, ArchPrecast._DentsTaskPanel.form, ArchSectionPlane.SectionPlaneTaskPanel.form, ArchAxis.ArchGridTaskPanel.form, ArchPanel.SheetTaskPanel.form, ArchPanel.NestTaskPanel.form, ArchComponent.ComponentTaskPanel.form, DraftGui.FacebinderTaskPanel.form, automotive_design.tolerance_zone.form, and ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.tolerance_zone.form.
Referenced by PathScripts.PathOpGui.TaskPanelPage.pageRegisterSignalHandlers().
◆ setFields()
def PathScripts.PathDrillingGui.TaskPanelOpPage.setFields | ( | self, | |
obj | |||
) |
setFields(obj) ... update UI with obj properties' values
Reimplemented from PathScripts.PathOpGui.TaskPanelPage.
References Mod.PartDesign.FeatureHole.TaskHole.TaskHole.form, PathScripts.PathDressupPathBoundaryGui.TaskPanel.form, ArchIFCView.IfcContextUI.form, drafttaskpanels.task_selectplane.SelectPlaneTaskPanel.form, femtaskpanels.task_constraint_initialflowvelocity._TaskPanel.form, drafttaskpanels.task_scale.ScaleTaskPanel.form, femtaskpanels.task_constraint_electrostaticpotential._TaskPanel.form, femtaskpanels.task_constraint_flowvelocity._TaskPanel.form, drafttaskpanels.task_shapestring.ShapeStringTaskPanel.form, femtaskpanels.task_mesh_gmsh._TaskPanel.form, femtaskpanels.task_solver_ccxtools._TaskPanel.form, PathScripts.PathDressupTagGui.PathDressupTagTaskPanel.form, femsolver.solver_taskpanel.ControlTaskPanel.form, feminout.importFenicsMesh.WriteXDMFTaskPanel.form, femtaskpanels.task_result_mechanical._TaskPanel.form, femtaskpanels.task_element_geometry2D._TaskPanel.form, femtaskpanels.task_constraint_tie._TaskPanel.form, femtaskpanels.task_element_rotation1D._TaskPanel.form, femtaskpanels.task_mesh_region._TaskPanel.form, femtaskpanels.task_mesh_group._TaskPanel.form, femsolver.elmer.equations.equation._TaskPanel.form, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.form, PathScripts.PathDressupTagPreferences.HoldingTagPreferences.form, femtaskpanels.task_mesh_boundarylayer._TaskPanel.form, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.form, drafttaskpanels.task_circulararray.TaskPanelCircularArray.form, drafttaskpanels.task_polararray.TaskPanelPolarArray.form, drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.form, femtaskpanels.task_element_geometry1D._TaskPanel.form, ArchCutPlane._CutPlaneTaskPanel.form, Mod.PartDesign.InvoluteGearFeature._InvoluteGearTaskPanel.form, Gui::Dialog::PreferenceUiForm.form, Mod.PartDesign.SprocketFeature.SprocketTaskPanel.form, AttachmentEditor.TaskAttachmentEditor.AttachmentEditorTaskPanel.form, femtaskpanels.task_material_reinforced._TaskPanel.form, DraftGui.DraftTaskPanel.form, PathScripts.PathDressupZCorrect.TaskPanel.form, femtaskpanels.task_material_common._TaskPanel.form, PathScripts.PathOpGui.TaskPanelPage.form, femtaskpanels.task_element_fluid1D._TaskPanel.form, OpenSCADCommands.AddSCADTask.form, PathScripts.PathJobGui.StockEdit.form, OpenSCADCommands.OpenSCADMeshBooleanTask.form, ArchSchedule.ArchScheduleTaskPanel.form, ArchProfile.ProfileTaskPanel.form, ArchMaterial._ArchMaterialTaskPanel.form, PathScripts.PathJobGui.TaskPanel.form, ArchReference.ArchReferenceTaskPanel.form, ArchAxis._AxisTaskPanel.form, ArchPrecast._PrecastTaskPanel.form, DraftGui.DraftToolBar.form, ArchMaterial._ArchMultiMaterialTaskPanel.form, ArchRoof._RoofTaskPanel.form, PathScripts.PathDressupDogbone.TaskPanel.form, ArchAxis.AxisSystemTaskPanel.form, ArchCommands.SurveyTaskPanel.form, ArchStructure.StructureTaskPanel.form, ArchWindow._ArchWindowTaskPanel.form, ArchPrecast._DentsTaskPanel.form, ArchSectionPlane.SectionPlaneTaskPanel.form, ArchAxis.ArchGridTaskPanel.form, ArchPanel.SheetTaskPanel.form, ArchPanel.NestTaskPanel.form, ArchComponent.ComponentTaskPanel.form, DraftGui.FacebinderTaskPanel.form, automotive_design.tolerance_zone.form, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.tolerance_zone.form, PathScripts.PathOpGui.TaskPanelPage.selectInComboBox(), PathScripts.PathOpGui.TaskPanelPage.setupCoolant(), PathScripts.PathOpGui.TaskPanelPage.setupToolController(), and PathScripts.PathDrillingGui.TaskPanelOpPage.updateQuantitySpinBoxes().
Referenced by PathScripts.PathJobGui.StockEdit.activate(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.addBase(), PathScripts.PathJobGui.TaskPanel.jobModelEdit(), PathScripts.PathJobGui.TaskPanel.objectDelete(), PathScripts.PathOpGui.TaskPanelPage.pageSetFields(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.pageUpdateData(), PathScripts.PathOpGui.TaskPanelBaseLocationPage.pageUpdateData(), PathScripts.PathOpGui.TaskPanelHeightsPage.pageUpdateData(), PathScripts.PathOpGui.TaskPanelDepthsPage.pageUpdateData(), PathScripts.PathProbeGui.TaskPanelOpPage.SetOutputFileName(), PathScripts.PathJobGui.TaskPanel.setPostProcessorOutputFile(), PathScripts.PathToolControllerGui.TaskPanel.setupUi(), PathScripts.PathSetupSheetGui.GlobalEditor.setupUi(), PathScripts.PathToolLibraryEditor.EditorPanel.setupUi(), PathScripts.PathJobGui.StockFromBaseBoundBoxEdit.setupUi(), PathScripts.PathJobGui.StockCreateBoxEdit.setupUi(), PathScripts.PathJobGui.StockCreateCylinderEdit.setupUi(), PathScripts.PathJobGui.StockFromExistingEdit.setupUi(), PathScripts.PathJobGui.TaskPanel.setupUi(), and PathScripts.PathJobGui.TaskPanel.toolControllerEdit().
◆ updateData()
def PathScripts.PathDrillingGui.TaskPanelOpPage.updateData | ( | self, | |
obj, | |||
prop | |||
) |
updateData(obj, prop) ... overwrite if the receiver needs to react to property changes that might not have been caused by the receiver itself. Sometimes a model will recalculate properties based on a change of another property. In order to keep the UI up to date with such changes this function can be used. Please note that the callback is synchronous with the property assignment operation. Also note that the notification is invoked regardless of the actual value of the property assignment. In other words it also fires if a property gets assigned the same value it already has. Taking above observations into account the implementation has to take care that it doesn't overwrite modified UI values by invoking setFields(obj). This can happen if a subclass unconditionally transfers all values in getFields(obj) to the model and just calls setFields(obj) in this callback. In such a scenario the first property assignment will cause all changes in the UI of the other fields to be overwritten by setFields(obj). You have been warned.
Reimplemented from PathScripts.PathOpGui.TaskPanelPage.
References PathScripts.PathDrillingGui.TaskPanelOpPage.updateQuantitySpinBoxes().
Referenced by PathScripts.PathJobDlg.JobCreate.exec_(), PathScripts.PathOpGui.TaskPanelPage.pageUpdateData(), and PathScripts.PathSetupSheetGui.OpTaskPanel.setupUi().
◆ updateQuantitySpinBoxes()
def PathScripts.PathDrillingGui.TaskPanelOpPage.updateQuantitySpinBoxes | ( | self, | |
index = None |
|||
) |
References PathScripts.PathDrillingGui.TaskPanelOpPage.dwellTimeSpinBox, PathScripts.PathDrillingGui.TaskPanelOpPage.peckDepthSpinBox, and PathScripts.PathDrillingGui.TaskPanelOpPage.peckRetractSpinBox.
Referenced by PathScripts.PathDrillingGui.TaskPanelOpPage.setFields(), and PathScripts.PathDrillingGui.TaskPanelOpPage.updateData().
Member Data Documentation
◆ dwellTimeSpinBox
PathScripts.PathDrillingGui.TaskPanelOpPage.dwellTimeSpinBox |
◆ peckDepthSpinBox
PathScripts.PathDrillingGui.TaskPanelOpPage.peckDepthSpinBox |
◆ peckRetractSpinBox
PathScripts.PathDrillingGui.TaskPanelOpPage.peckRetractSpinBox |
The documentation for this class was generated from the following file:
- src/Mod/Path/PathScripts/PathDrillingGui.py