Public Member Functions | |
def | accept (self) |
def | clampAngle (self, widget, val_min, val_max, val) |
def | clampLength (self, widget, val_min, val_max, val) |
def | clicked (self, index) |
def | externalFaces (self, shape) |
def | getMainWindow (self) |
def | helpRequested (self) |
def | initValues (self) |
def | isAllowedAlterDocument (self) |
def | isAllowedAlterSelection (self) |
def | isAllowedAlterView (self) |
def | lineFaceSection (self, line, surface) |
def | needsFullSpace (self) |
def | onData (self, value) |
def | open (self) |
def | reject (self) |
def | retranslateUi (self) |
def | save (self) |
def | setupUi (self) |
def | widget (self, class_id, name) |
Public Attributes | |
form | |
loop | |
running | |
ship | |
timer | |
ui | |
Member Function Documentation
◆ accept()
def shipHydrostatics.TaskPanel.TaskPanel.accept | ( | self | ) |
References Mod.PartDesign.FeatureHole.HoleGui.HoleGui.getMainWindow(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole.getMainWindow(), shipCreateTank.TaskPanel.TaskPanel.getMainWindow(), shipCreateWeight.TaskPanel.TaskPanel.getMainWindow(), shipCapacityCurve.TaskPanel.TaskPanel.getMainWindow(), plotPositions.TaskPanel.TaskPanel.getMainWindow(), shipGZ.TaskPanel.TaskPanel.getMainWindow(), plotSave.TaskPanel.TaskPanel.getMainWindow(), shipCreateShip.TaskPanel.TaskPanel.getMainWindow(), plotLabels.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.getMainWindow(), plotSeries.TaskPanel.TaskPanel.getMainWindow(), plotAxes.TaskPanel.TaskPanel.getMainWindow(), shipHydrostatics.TaskPanel.TaskPanel.getMainWindow(), shipHydrostatics.TaskPanel.TaskPanel.running, draftguitools.gui_line_add_delete.AddPoint.running, femsolver.task.Task.running, draftguitools.gui_wire2spline.WireToBSpline.running, ArchNesting.Nester.running, draftguitools.gui_offset.Offset.running, draftguitools.gui_line_add_delete.DelPoint.running, draftguitools.gui_snapper.Snapper.running, App::PropertyExpressionEngine.running, draftguitools.gui_edit.Edit.running, Gui::GUISingleApplication::Private.running, Gui::PythonDebuggerP.running, AdaptivePath::PerfCounter.running, App::DocumentPy.save(), Mesh::Segment.save(), Gui::Dialog::DownloadManager.save(), App::DynamicProperty.save(), Gui::Document.save(), Points::PointKernel.save(), Mesh::MeshObject.save(), App::Document.save(), Gui::RecentFilesAction.save(), shipGZ.TaskPanel.TaskPanel.save(), shipAreasCurve.TaskPanel.TaskPanel.save(), shipHydrostatics.TaskPanel.TaskPanel.save(), Gui::MacroCommand.save(), WorkingPlane.Plane.save(), shipAreasCurve.TaskPanel.TaskPanel.ship, shipHydrostatics.TaskPanel.TaskPanel.ship, shipGZ.TaskPanel.TaskPanel.ship, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEditor.widget(), DrawingGui::TaskProjection.widget, Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.widget, MaterialEditor.MaterialEditor.widget, MeshGui::TaskSegmentation.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEnumEditor.widget(), ReverseEngineeringGui::TaskSegmentation.widget, PartGui::TaskLoft.widget, PartGui::TaskMirroring.widget, MeshPartGui::TaskCurveOnMesh.widget, PartGui::TaskOffset.widget, PartGui::TaskSweep.widget, PartGui::TaskThickness.widget, PartGui::TaskFaceColors.widget, ReenGui::TaskPoisson.widget, Gui::DockWnd::ToolBox.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyBoolEditor.widget(), PartGui::TaskBooleanOperation.widget, MeshGui::SmoothingDialog.widget, shipCreateTank.TaskPanel.TaskPanel.widget(), ReenGui::TaskFitBSplineSurface.widget, shipCreateWeight.TaskPanel.TaskPanel.widget(), MeshGui::TaskDecimating.widget, PartGui::TaskCrossSections.widget, MeshPartGui::TaskCrossSections.widget, TechDrawGui::TaskDlgBalloon.widget, TechDrawGui::TaskDlgLinkDim.widget, shipCapacityCurve.TaskPanel.TaskPanel.widget(), PartGui::TaskShapeBuilder.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyStringEditor.widget(), Gui::Dialog::DefaultTransformStrategy.widget, PathScripts.PathGui.QuantitySpinBox.widget, Gui::TaskElementColors.widget, SketcherGui::TaskSketcherGeneral.widget, plotPositions.TaskPanel.TaskPanel.widget(), MeshGui::RemoveComponentsDialog.widget, PartGui::TaskPrimitives.widget, MeshGui::TaskSmoothing.widget, shipGZ.TaskPanel.TaskPanel.widget(), plotSave.TaskPanel.TaskPanel.widget(), shipCreateShip.TaskPanel.TaskPanel.widget(), PartGui::TaskExtrusion.widget, ReverseEngineeringGui::TaskSegmentationManual.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyAngleEditor.widget(), MeshPartGui::TaskTessellation.widget, PartGui::TaskRevolution.widget, TechDrawGui::TaskDlgHatch.widget, plotLabels.TaskPanel.TaskPanel.widget(), Gui::Dialog::TaskDisplayProperties.widget, SurfaceGui::TaskGeomFillSurface.widget, MeshGui::TaskSegmentationBestFit.widget, TechDrawGui::TaskDlgActiveView.widget, GesturesDevice.widget, MeshGui::TaskRemeshGmsh.widget, TechDrawGui::TaskDlgGeomHatch.widget, shipAreasCurve.TaskPanel.TaskPanel.widget(), PartGui::FilletEdgesDialog.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyLengthEditor.widget(), MeshGui::TaskRemoveComponents.widget, plotSeries.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgLineDecor.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyPercentEditor.widget(), TechDrawGui::TaskDlgSectionView.widget, TechDrawGui::TaskDlgCosVertex.widget, Gui::Dialog::TaskPlacement.widget, plotAxes.TaskPanel.TaskPanel.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyIntegerEditor.widget(), PartGui::TaskCheckGeometryDialog.widget, PartGui::TaskFilletEdges.widget, TechDrawGui::TaskDlgRichAnno.widget, TechDrawGui::TaskDlgProjGroup.widget, shipHydrostatics.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgDetail.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFloatEditor.widget(), TechDrawGui::TaskDlgCenterLine.widget, PartGui::TaskChamferEdges.widget, PartGui::TaskProjectionOnSurface.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFileEditor.widget(), TechDrawGui::TaskDlgWeldingSymbol.widget, TechDrawGui::TaskDlgLeaderLine.widget, DrawingGui::TaskDlgOrthoViews.widget, InspectionGui::ViewProviderProxyObject.widget, and UpdateDisabler.widget.
◆ clampAngle()
def shipHydrostatics.TaskPanel.TaskPanel.clampAngle | ( | self, | |
widget, | |||
val_min, | |||
val_max, | |||
val | |||
) |
Referenced by shipHydrostatics.TaskPanel.TaskPanel.onData().
◆ clampLength()
def shipHydrostatics.TaskPanel.TaskPanel.clampLength | ( | self, | |
widget, | |||
val_min, | |||
val_max, | |||
val | |||
) |
Referenced by shipHydrostatics.TaskPanel.TaskPanel.onData().
◆ clicked()
def shipHydrostatics.TaskPanel.TaskPanel.clicked | ( | self, | |
index | |||
) |
◆ externalFaces()
def shipHydrostatics.TaskPanel.TaskPanel.externalFaces | ( | self, | |
shape | |||
) |
Returns detected external faces. @param shape Shape where external faces wanted. @return List of external faces detected.
References shipHydrostatics.TaskPanel.TaskPanel.lineFaceSection(), PartGui::Picker.loop, PartGui::ThicknessWidget::Private.loop, PartGui::SweepWidget::Private.loop, shipHydrostatics.TaskPanel.TaskPanel.loop, Base::Debugger.loop, Gui::PythonDebuggerP.loop, CmdSandboxEventLoop.loop, CmdSandboxMeshLoader.loop, shipHydrostatics.TaskPanel.TaskPanel.running, draftguitools.gui_line_add_delete.AddPoint.running, femsolver.task.Task.running, draftguitools.gui_wire2spline.WireToBSpline.running, ArchNesting.Nester.running, draftguitools.gui_offset.Offset.running, draftguitools.gui_line_add_delete.DelPoint.running, draftguitools.gui_snapper.Snapper.running, App::PropertyExpressionEngine.running, draftguitools.gui_edit.Edit.running, Gui::GUISingleApplication::Private.running, Gui::PythonDebuggerP.running, AdaptivePath::PerfCounter.running, PathScripts.PathSimulatorGui.PathSimulation.timer, shipHydrostatics.TaskPanel.TaskPanel.timer, Gui::Dialog::DemoMode.timer, RobotGui::TaskTrajectory.timer, RobotGui::TrajectorySimulate.timer, Gui::Dialog::DlgPropertyLink.timer, Gui::PropertyView.timer, Gui::GUISingleApplication::Private.timer, and ArchReference.ViewProviderArchReference.timer.
◆ getMainWindow()
def shipHydrostatics.TaskPanel.TaskPanel.getMainWindow | ( | self | ) |
Referenced by shipLoadExample.TaskPanel.TaskPanel.accept(), shipHydrostatics.TaskPanel.TaskPanel.accept(), shipHydrostatics.TaskPanel.TaskPanel.initValues(), shipOutlineDraw.TaskPanel.TaskPanel.loadSections(), shipOutlineDraw.TaskPanel.TaskPanel.onCreateButton(), shipHydrostatics.TaskPanel.TaskPanel.onData(), shipOutlineDraw.TaskPanel.TaskPanel.onDeleteButton(), shipOutlineDraw.TaskPanel.TaskPanel.onSectionType(), shipOutlineDraw.TaskPanel.TaskPanel.onTableItem(), shipHydrostatics.TaskPanel.TaskPanel.retranslateUi(), shipHydrostatics.TaskPanel.TaskPanel.save(), shipOutlineDraw.TaskPanel.TaskPanel.saveSections(), shipOutlineDraw.TaskPanel.TaskPanel.setSectionType(), shipLoadExample.TaskPanel.TaskPanel.widget(), shipHydrostatics.TaskPanel.TaskPanel.widget(), and shipOutlineDraw.TaskPanel.TaskPanel.widget().
◆ helpRequested()
def shipHydrostatics.TaskPanel.TaskPanel.helpRequested | ( | self | ) |
◆ initValues()
def shipHydrostatics.TaskPanel.TaskPanel.initValues | ( | self | ) |
Set initial values for fields
References Mod.PartDesign.FeatureHole.HoleGui.HoleGui.getMainWindow(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole.getMainWindow(), shipCreateTank.TaskPanel.TaskPanel.getMainWindow(), shipCreateWeight.TaskPanel.TaskPanel.getMainWindow(), shipCapacityCurve.TaskPanel.TaskPanel.getMainWindow(), plotPositions.TaskPanel.TaskPanel.getMainWindow(), shipGZ.TaskPanel.TaskPanel.getMainWindow(), shipCreateShip.TaskPanel.TaskPanel.getMainWindow(), plotSave.TaskPanel.TaskPanel.getMainWindow(), plotLabels.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.getMainWindow(), plotSeries.TaskPanel.TaskPanel.getMainWindow(), plotAxes.TaskPanel.TaskPanel.getMainWindow(), shipHydrostatics.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.ship, shipHydrostatics.TaskPanel.TaskPanel.ship, shipGZ.TaskPanel.TaskPanel.ship, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEditor.widget(), DrawingGui::TaskProjection.widget, MaterialEditor.MaterialEditor.widget, Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.widget, MeshGui::TaskSegmentation.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEnumEditor.widget(), ReverseEngineeringGui::TaskSegmentation.widget, PartGui::TaskLoft.widget, PartGui::TaskMirroring.widget, MeshPartGui::TaskCurveOnMesh.widget, PartGui::TaskSweep.widget, PartGui::TaskOffset.widget, PartGui::TaskThickness.widget, Gui::DockWnd::ToolBox.widget(), PartGui::TaskFaceColors.widget, ReenGui::TaskPoisson.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyBoolEditor.widget(), PartGui::TaskBooleanOperation.widget, shipCreateTank.TaskPanel.TaskPanel.widget(), MeshGui::SmoothingDialog.widget, ReenGui::TaskFitBSplineSurface.widget, shipCreateWeight.TaskPanel.TaskPanel.widget(), MeshGui::TaskDecimating.widget, MeshPartGui::TaskCrossSections.widget, PartGui::TaskCrossSections.widget, TechDrawGui::TaskDlgBalloon.widget, TechDrawGui::TaskDlgLinkDim.widget, shipCapacityCurve.TaskPanel.TaskPanel.widget(), PartGui::TaskShapeBuilder.widget, Gui::Dialog::DefaultTransformStrategy.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyStringEditor.widget(), PathScripts.PathGui.QuantitySpinBox.widget, Gui::TaskElementColors.widget, plotPositions.TaskPanel.TaskPanel.widget(), SketcherGui::TaskSketcherGeneral.widget, MeshGui::RemoveComponentsDialog.widget, PartGui::TaskPrimitives.widget, MeshGui::TaskSmoothing.widget, shipGZ.TaskPanel.TaskPanel.widget(), shipCreateShip.TaskPanel.TaskPanel.widget(), plotSave.TaskPanel.TaskPanel.widget(), PartGui::TaskExtrusion.widget, ReverseEngineeringGui::TaskSegmentationManual.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyAngleEditor.widget(), MeshPartGui::TaskTessellation.widget, PartGui::TaskRevolution.widget, TechDrawGui::TaskDlgHatch.widget, plotLabels.TaskPanel.TaskPanel.widget(), MeshGui::TaskSegmentationBestFit.widget, TechDrawGui::TaskDlgActiveView.widget, SurfaceGui::TaskGeomFillSurface.widget, Gui::Dialog::TaskDisplayProperties.widget, GesturesDevice.widget, MeshGui::TaskRemeshGmsh.widget, TechDrawGui::TaskDlgGeomHatch.widget, shipAreasCurve.TaskPanel.TaskPanel.widget(), PartGui::FilletEdgesDialog.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyLengthEditor.widget(), MeshGui::TaskRemoveComponents.widget, plotSeries.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgLineDecor.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyPercentEditor.widget(), TechDrawGui::TaskDlgSectionView.widget, TechDrawGui::TaskDlgCosVertex.widget, Gui::Dialog::TaskPlacement.widget, plotAxes.TaskPanel.TaskPanel.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyIntegerEditor.widget(), PartGui::TaskCheckGeometryDialog.widget, PartGui::TaskFilletEdges.widget, TechDrawGui::TaskDlgRichAnno.widget, TechDrawGui::TaskDlgProjGroup.widget, shipHydrostatics.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgDetail.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFloatEditor.widget(), PartGui::TaskChamferEdges.widget, PartGui::TaskProjectionOnSurface.widget, TechDrawGui::TaskDlgCenterLine.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFileEditor.widget(), TechDrawGui::TaskDlgWeldingSymbol.widget, TechDrawGui::TaskDlgLeaderLine.widget, DrawingGui::TaskDlgOrthoViews.widget, InspectionGui::ViewProviderProxyObject.widget, and UpdateDisabler.widget.
◆ isAllowedAlterDocument()
def shipHydrostatics.TaskPanel.TaskPanel.isAllowedAlterDocument | ( | self | ) |
◆ isAllowedAlterSelection()
def shipHydrostatics.TaskPanel.TaskPanel.isAllowedAlterSelection | ( | self | ) |
◆ isAllowedAlterView()
def shipHydrostatics.TaskPanel.TaskPanel.isAllowedAlterView | ( | self | ) |
◆ lineFaceSection()
def shipHydrostatics.TaskPanel.TaskPanel.lineFaceSection | ( | self, | |
line, | |||
surface | |||
) |
Returns the point of section of a line with a face @param line Line object, that can be a curve. @param surface Surface object (must be a Part::Shape) @return Section points array, [] if line don't cut surface
Referenced by shipHydrostatics.TaskPanel.TaskPanel.externalFaces().
◆ needsFullSpace()
def shipHydrostatics.TaskPanel.TaskPanel.needsFullSpace | ( | self | ) |
◆ onData()
def shipHydrostatics.TaskPanel.TaskPanel.onData | ( | self, | |
value | |||
) |
Method called when input data is changed. @param value Changed value.
References shipHydrostatics.TaskPanel.TaskPanel.clampAngle(), AdaptivePath::Interpolation.clampAngle(), shipHydrostatics.TaskPanel.TaskPanel.clampLength(), Mod.PartDesign.FeatureHole.HoleGui.HoleGui.getMainWindow(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole.getMainWindow(), shipCreateTank.TaskPanel.TaskPanel.getMainWindow(), shipCreateWeight.TaskPanel.TaskPanel.getMainWindow(), shipCapacityCurve.TaskPanel.TaskPanel.getMainWindow(), plotPositions.TaskPanel.TaskPanel.getMainWindow(), shipGZ.TaskPanel.TaskPanel.getMainWindow(), plotSave.TaskPanel.TaskPanel.getMainWindow(), shipCreateShip.TaskPanel.TaskPanel.getMainWindow(), plotLabels.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.getMainWindow(), plotSeries.TaskPanel.TaskPanel.getMainWindow(), plotAxes.TaskPanel.TaskPanel.getMainWindow(), shipHydrostatics.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.ship, shipHydrostatics.TaskPanel.TaskPanel.ship, shipGZ.TaskPanel.TaskPanel.ship, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEditor.widget(), DrawingGui::TaskProjection.widget, MaterialEditor.MaterialEditor.widget, Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.widget, MeshGui::TaskSegmentation.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEnumEditor.widget(), ReverseEngineeringGui::TaskSegmentation.widget, PartGui::TaskLoft.widget, PartGui::TaskMirroring.widget, MeshPartGui::TaskCurveOnMesh.widget, PartGui::TaskOffset.widget, PartGui::TaskSweep.widget, PartGui::TaskThickness.widget, Gui::DockWnd::ToolBox.widget(), PartGui::TaskFaceColors.widget, ReenGui::TaskPoisson.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyBoolEditor.widget(), PartGui::TaskBooleanOperation.widget, shipCreateTank.TaskPanel.TaskPanel.widget(), MeshGui::SmoothingDialog.widget, ReenGui::TaskFitBSplineSurface.widget, shipCreateWeight.TaskPanel.TaskPanel.widget(), MeshGui::TaskDecimating.widget, MeshPartGui::TaskCrossSections.widget, PartGui::TaskCrossSections.widget, TechDrawGui::TaskDlgBalloon.widget, TechDrawGui::TaskDlgLinkDim.widget, shipCapacityCurve.TaskPanel.TaskPanel.widget(), PartGui::TaskShapeBuilder.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyStringEditor.widget(), Gui::Dialog::DefaultTransformStrategy.widget, PathScripts.PathGui.QuantitySpinBox.widget, Gui::TaskElementColors.widget, plotPositions.TaskPanel.TaskPanel.widget(), SketcherGui::TaskSketcherGeneral.widget, MeshGui::RemoveComponentsDialog.widget, PartGui::TaskPrimitives.widget, MeshGui::TaskSmoothing.widget, shipGZ.TaskPanel.TaskPanel.widget(), shipCreateShip.TaskPanel.TaskPanel.widget(), plotSave.TaskPanel.TaskPanel.widget(), ReverseEngineeringGui::TaskSegmentationManual.widget, PartGui::TaskExtrusion.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyAngleEditor.widget(), PartGui::TaskRevolution.widget, MeshPartGui::TaskTessellation.widget, plotLabels.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgHatch.widget, TechDrawGui::TaskDlgActiveView.widget, Gui::Dialog::TaskDisplayProperties.widget, SurfaceGui::TaskGeomFillSurface.widget, MeshGui::TaskSegmentationBestFit.widget, GesturesDevice.widget, MeshGui::TaskRemeshGmsh.widget, TechDrawGui::TaskDlgGeomHatch.widget, shipAreasCurve.TaskPanel.TaskPanel.widget(), PartGui::FilletEdgesDialog.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyLengthEditor.widget(), MeshGui::TaskRemoveComponents.widget, plotSeries.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgLineDecor.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyPercentEditor.widget(), TechDrawGui::TaskDlgSectionView.widget, TechDrawGui::TaskDlgCosVertex.widget, Gui::Dialog::TaskPlacement.widget, plotAxes.TaskPanel.TaskPanel.widget(), PartGui::TaskFilletEdges.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyIntegerEditor.widget(), PartGui::TaskCheckGeometryDialog.widget, TechDrawGui::TaskDlgRichAnno.widget, TechDrawGui::TaskDlgProjGroup.widget, shipHydrostatics.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgDetail.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFloatEditor.widget(), PartGui::TaskChamferEdges.widget, PartGui::TaskProjectionOnSurface.widget, TechDrawGui::TaskDlgCenterLine.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFileEditor.widget(), TechDrawGui::TaskDlgLeaderLine.widget, TechDrawGui::TaskDlgWeldingSymbol.widget, DrawingGui::TaskDlgOrthoViews.widget, InspectionGui::ViewProviderProxyObject.widget, and UpdateDisabler.widget.
◆ open()
def shipHydrostatics.TaskPanel.TaskPanel.open | ( | self | ) |
◆ reject()
def shipHydrostatics.TaskPanel.TaskPanel.reject | ( | self | ) |
References shipHydrostatics.TaskPanel.TaskPanel.running, draftguitools.gui_line_add_delete.AddPoint.running, femsolver.task.Task.running, draftguitools.gui_wire2spline.WireToBSpline.running, ArchNesting.Nester.running, draftguitools.gui_offset.Offset.running, draftguitools.gui_line_add_delete.DelPoint.running, draftguitools.gui_snapper.Snapper.running, App::PropertyExpressionEngine.running, draftguitools.gui_edit.Edit.running, Gui::GUISingleApplication::Private.running, Gui::PythonDebuggerP.running, AdaptivePath::PerfCounter.running, shipAreasCurve.TaskPanel.TaskPanel.ship, shipHydrostatics.TaskPanel.TaskPanel.ship, and shipGZ.TaskPanel.TaskPanel.ship.
◆ retranslateUi()
def shipHydrostatics.TaskPanel.TaskPanel.retranslateUi | ( | self | ) |
Set user interface locale strings.
References Mod.PartDesign.FeatureHole.HoleGui.HoleGui.getMainWindow(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole.getMainWindow(), shipCreateTank.TaskPanel.TaskPanel.getMainWindow(), shipCreateWeight.TaskPanel.TaskPanel.getMainWindow(), shipCapacityCurve.TaskPanel.TaskPanel.getMainWindow(), plotPositions.TaskPanel.TaskPanel.getMainWindow(), shipGZ.TaskPanel.TaskPanel.getMainWindow(), shipCreateShip.TaskPanel.TaskPanel.getMainWindow(), plotSave.TaskPanel.TaskPanel.getMainWindow(), plotLabels.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.getMainWindow(), plotSeries.TaskPanel.TaskPanel.getMainWindow(), plotAxes.TaskPanel.TaskPanel.getMainWindow(), shipHydrostatics.TaskPanel.TaskPanel.getMainWindow(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyEditor.widget(), DrawingGui::TaskProjection.widget, MaterialEditor.MaterialEditor.widget, Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.widget, MeshGui::TaskSegmentation.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEnumEditor.widget(), ReverseEngineeringGui::TaskSegmentation.widget, PartGui::TaskLoft.widget, PartGui::TaskMirroring.widget, MeshPartGui::TaskCurveOnMesh.widget, PartGui::TaskOffset.widget, PartGui::TaskSweep.widget, PartGui::TaskThickness.widget, Gui::DockWnd::ToolBox.widget(), PartGui::TaskFaceColors.widget, ReenGui::TaskPoisson.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyBoolEditor.widget(), PartGui::TaskBooleanOperation.widget, shipCreateTank.TaskPanel.TaskPanel.widget(), MeshGui::SmoothingDialog.widget, ReenGui::TaskFitBSplineSurface.widget, MeshGui::TaskDecimating.widget, shipCreateWeight.TaskPanel.TaskPanel.widget(), MeshPartGui::TaskCrossSections.widget, PartGui::TaskCrossSections.widget, TechDrawGui::TaskDlgBalloon.widget, TechDrawGui::TaskDlgLinkDim.widget, shipCapacityCurve.TaskPanel.TaskPanel.widget(), PartGui::TaskShapeBuilder.widget, Gui::Dialog::DefaultTransformStrategy.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyStringEditor.widget(), PathScripts.PathGui.QuantitySpinBox.widget, Gui::TaskElementColors.widget, plotPositions.TaskPanel.TaskPanel.widget(), SketcherGui::TaskSketcherGeneral.widget, MeshGui::RemoveComponentsDialog.widget, PartGui::TaskPrimitives.widget, MeshGui::TaskSmoothing.widget, shipGZ.TaskPanel.TaskPanel.widget(), shipCreateShip.TaskPanel.TaskPanel.widget(), plotSave.TaskPanel.TaskPanel.widget(), PartGui::TaskExtrusion.widget, ReverseEngineeringGui::TaskSegmentationManual.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyAngleEditor.widget(), MeshPartGui::TaskTessellation.widget, PartGui::TaskRevolution.widget, TechDrawGui::TaskDlgHatch.widget, plotLabels.TaskPanel.TaskPanel.widget(), MeshGui::TaskSegmentationBestFit.widget, SurfaceGui::TaskGeomFillSurface.widget, TechDrawGui::TaskDlgActiveView.widget, Gui::Dialog::TaskDisplayProperties.widget, GesturesDevice.widget, MeshGui::TaskRemeshGmsh.widget, shipAreasCurve.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgGeomHatch.widget, PartGui::FilletEdgesDialog.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyLengthEditor.widget(), MeshGui::TaskRemoveComponents.widget, plotSeries.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgLineDecor.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyPercentEditor.widget(), TechDrawGui::TaskDlgSectionView.widget, TechDrawGui::TaskDlgCosVertex.widget, Gui::Dialog::TaskPlacement.widget, plotAxes.TaskPanel.TaskPanel.widget(), PartGui::TaskCheckGeometryDialog.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyIntegerEditor.widget(), PartGui::TaskFilletEdges.widget, TechDrawGui::TaskDlgRichAnno.widget, TechDrawGui::TaskDlgProjGroup.widget, shipHydrostatics.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgDetail.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFloatEditor.widget(), PartGui::TaskProjectionOnSurface.widget, PartGui::TaskChamferEdges.widget, TechDrawGui::TaskDlgCenterLine.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFileEditor.widget(), TechDrawGui::TaskDlgWeldingSymbol.widget, TechDrawGui::TaskDlgLeaderLine.widget, DrawingGui::TaskDlgOrthoViews.widget, InspectionGui::ViewProviderProxyObject.widget, and UpdateDisabler.widget.
Referenced by ArchAxis.CommandArchGrid.IsActive().
◆ save()
def shipHydrostatics.TaskPanel.TaskPanel.save | ( | self | ) |
Saves data into ship instance.
References Mod.PartDesign.FeatureHole.HoleGui.HoleGui.getMainWindow(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole.getMainWindow(), shipCreateTank.TaskPanel.TaskPanel.getMainWindow(), shipCreateWeight.TaskPanel.TaskPanel.getMainWindow(), shipCapacityCurve.TaskPanel.TaskPanel.getMainWindow(), plotPositions.TaskPanel.TaskPanel.getMainWindow(), shipGZ.TaskPanel.TaskPanel.getMainWindow(), shipCreateShip.TaskPanel.TaskPanel.getMainWindow(), plotSave.TaskPanel.TaskPanel.getMainWindow(), plotLabels.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.getMainWindow(), plotSeries.TaskPanel.TaskPanel.getMainWindow(), plotAxes.TaskPanel.TaskPanel.getMainWindow(), shipHydrostatics.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.ship, shipHydrostatics.TaskPanel.TaskPanel.ship, shipGZ.TaskPanel.TaskPanel.ship, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEditor.widget(), DrawingGui::TaskProjection.widget, MaterialEditor.MaterialEditor.widget, Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.widget, MeshGui::TaskSegmentation.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyEnumEditor.widget(), ReverseEngineeringGui::TaskSegmentation.widget, PartGui::TaskLoft.widget, PartGui::TaskMirroring.widget, MeshPartGui::TaskCurveOnMesh.widget, PartGui::TaskSweep.widget, PartGui::TaskOffset.widget, PartGui::TaskThickness.widget, Gui::DockWnd::ToolBox.widget(), PartGui::TaskFaceColors.widget, ReenGui::TaskPoisson.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyBoolEditor.widget(), PartGui::TaskBooleanOperation.widget, shipCreateTank.TaskPanel.TaskPanel.widget(), MeshGui::SmoothingDialog.widget, ReenGui::TaskFitBSplineSurface.widget, shipCreateWeight.TaskPanel.TaskPanel.widget(), MeshGui::TaskDecimating.widget, MeshPartGui::TaskCrossSections.widget, PartGui::TaskCrossSections.widget, TechDrawGui::TaskDlgBalloon.widget, TechDrawGui::TaskDlgLinkDim.widget, shipCapacityCurve.TaskPanel.TaskPanel.widget(), PartGui::TaskShapeBuilder.widget, Gui::Dialog::DefaultTransformStrategy.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyStringEditor.widget(), PathScripts.PathGui.QuantitySpinBox.widget, Gui::TaskElementColors.widget, plotPositions.TaskPanel.TaskPanel.widget(), SketcherGui::TaskSketcherGeneral.widget, MeshGui::RemoveComponentsDialog.widget, PartGui::TaskPrimitives.widget, MeshGui::TaskSmoothing.widget, shipGZ.TaskPanel.TaskPanel.widget(), shipCreateShip.TaskPanel.TaskPanel.widget(), plotSave.TaskPanel.TaskPanel.widget(), PartGui::TaskExtrusion.widget, ReverseEngineeringGui::TaskSegmentationManual.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyAngleEditor.widget(), MeshPartGui::TaskTessellation.widget, PartGui::TaskRevolution.widget, TechDrawGui::TaskDlgHatch.widget, plotLabels.TaskPanel.TaskPanel.widget(), MeshGui::TaskSegmentationBestFit.widget, TechDrawGui::TaskDlgActiveView.widget, SurfaceGui::TaskGeomFillSurface.widget, Gui::Dialog::TaskDisplayProperties.widget, GesturesDevice.widget, MeshGui::TaskRemeshGmsh.widget, TechDrawGui::TaskDlgGeomHatch.widget, shipAreasCurve.TaskPanel.TaskPanel.widget(), PartGui::FilletEdgesDialog.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyLengthEditor.widget(), MeshGui::TaskRemoveComponents.widget, plotSeries.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgLineDecor.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyPercentEditor.widget(), TechDrawGui::TaskDlgSectionView.widget, TechDrawGui::TaskDlgCosVertex.widget, Gui::Dialog::TaskPlacement.widget, plotAxes.TaskPanel.TaskPanel.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyIntegerEditor.widget(), PartGui::TaskCheckGeometryDialog.widget, PartGui::TaskFilletEdges.widget, TechDrawGui::TaskDlgRichAnno.widget, TechDrawGui::TaskDlgProjGroup.widget, shipHydrostatics.TaskPanel.TaskPanel.widget(), TechDrawGui::TaskDlgDetail.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFloatEditor.widget(), PartGui::TaskChamferEdges.widget, PartGui::TaskProjectionOnSurface.widget, TechDrawGui::TaskDlgCenterLine.widget, PathScripts.PathSetupSheetOpPrototypeGui._PropertyFileEditor.widget(), TechDrawGui::TaskDlgWeldingSymbol.widget, TechDrawGui::TaskDlgLeaderLine.widget, DrawingGui::TaskDlgOrthoViews.widget, InspectionGui::ViewProviderProxyObject.widget, and UpdateDisabler.widget.
Referenced by shipHydrostatics.TaskPanel.TaskPanel.accept(), Mod.Show.mTempoVis.TempoVis.modify(), Mod.Show.mTempoVis.TempoVis.modifyVPProperty(), and Mod.Show.mTempoVis.TempoVis.saveCamera().
◆ setupUi()
def shipHydrostatics.TaskPanel.TaskPanel.setupUi | ( | self | ) |
◆ widget()
def shipHydrostatics.TaskPanel.TaskPanel.widget | ( | self, | |
class_id, | |||
name | |||
) |
Return the selected widget. Keyword arguments: class_id -- Class identifier name -- Name of the widget
References Mod.PartDesign.FeatureHole.HoleGui.HoleGui.getMainWindow(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole.getMainWindow(), shipCreateTank.TaskPanel.TaskPanel.getMainWindow(), shipCreateWeight.TaskPanel.TaskPanel.getMainWindow(), shipCapacityCurve.TaskPanel.TaskPanel.getMainWindow(), plotPositions.TaskPanel.TaskPanel.getMainWindow(), shipGZ.TaskPanel.TaskPanel.getMainWindow(), plotSave.TaskPanel.TaskPanel.getMainWindow(), shipCreateShip.TaskPanel.TaskPanel.getMainWindow(), plotLabels.TaskPanel.TaskPanel.getMainWindow(), shipAreasCurve.TaskPanel.TaskPanel.getMainWindow(), plotSeries.TaskPanel.TaskPanel.getMainWindow(), plotAxes.TaskPanel.TaskPanel.getMainWindow(), and shipHydrostatics.TaskPanel.TaskPanel.getMainWindow().
Referenced by shipLoadExample.TaskPanel.TaskPanel.accept(), shipHydrostatics.TaskPanel.TaskPanel.accept(), shipHydrostatics.TaskPanel.TaskPanel.initValues(), shipOutlineDraw.TaskPanel.TaskPanel.loadSections(), shipOutlineDraw.TaskPanel.TaskPanel.onCreateButton(), shipHydrostatics.TaskPanel.TaskPanel.onData(), shipOutlineDraw.TaskPanel.TaskPanel.onDeleteButton(), shipOutlineDraw.TaskPanel.TaskPanel.onSectionType(), shipOutlineDraw.TaskPanel.TaskPanel.onTableItem(), shipLoadExample.TaskPanel.TaskPanel.retranslateUi(), shipOutlineDraw.TaskPanel.TaskPanel.retranslateUi(), shipHydrostatics.TaskPanel.TaskPanel.retranslateUi(), shipHydrostatics.TaskPanel.TaskPanel.save(), and shipOutlineDraw.TaskPanel.TaskPanel.setSectionType().
Member Data Documentation
◆ form
shipHydrostatics.TaskPanel.TaskPanel.form |
Referenced by TaskPanel.TaskPanel.addElement(), femsolver.elmer.equations.equation.ViewProxy.getTaskWidget(), ArchAxis.CommandArchGrid.IsActive(), shipLoadExample.TaskPanel.TaskPanel.retranslateUi(), shipOutlineDraw.TaskPanel.TaskPanel.retranslateUi(), and ArchMaterial.MultiMaterialDelegate.setModelData().
◆ loop
shipHydrostatics.TaskPanel.TaskPanel.loop |
Referenced by shipHydrostatics.TaskPanel.TaskPanel.externalFaces().
◆ running
shipHydrostatics.TaskPanel.TaskPanel.running |
◆ ship
shipHydrostatics.TaskPanel.TaskPanel.ship |
Referenced by shipHydrostatics.TaskPanel.TaskPanel.accept(), shipOutlineDraw.TaskPanel.TaskPanel.accept(), shipOutlineDraw.TaskPanel.TaskPanel.createPreview(), shipHydrostatics.TaskPanel.TaskPanel.initValues(), shipOutlineDraw.TaskPanel.TaskPanel.initValues(), shipOutlineDraw.TaskPanel.TaskPanel.loadSections(), shipOutlineDraw.TaskPanel.TaskPanel.onCreateButton(), shipHydrostatics.TaskPanel.TaskPanel.onData(), shipOutlineDraw.TaskPanel.TaskPanel.onTableItem(), shipHydrostatics.TaskPanel.TaskPanel.reject(), shipHydrostatics.TaskPanel.TaskPanel.save(), shipOutlineDraw.TaskPanel.TaskPanel.saveSections(), and shipOutlineDraw.TaskPanel.TaskPanel.setSectionType().
◆ timer
shipHydrostatics.TaskPanel.TaskPanel.timer |
Referenced by shipHydrostatics.TaskPanel.TaskPanel.externalFaces().
◆ ui
shipHydrostatics.TaskPanel.TaskPanel.ui |
Referenced by DraftGui.DraftToolBar.changeEvent().
The documentation for this class was generated from the following file:
- src/Mod/Ship/shipHydrostatics/TaskPanel.py