Public Member Functions | |
def | attach (self, vobj) |
def | claimChildren (self) |
def | getDefaultDisplayMode (self) |
def | getDisplayModes (self, vobj) |
def | getIcon (self) |
def | getTextSize (self, vobj) |
def | onChanged (self, vobj, prop) |
def | set_properties (self, vobj) |
def | setDisplayMode (self, mode) |
def | update_label (self, vobj) |
def | updateData (self, obj, prop) |
Public Member Functions inherited from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation | |
def | execute (self, vobj) |
def | setEdit (self, vobj, mode=0) |
def | unsetEdit (self, vobj, mode=0) |
Public Attributes | |
arrow | |
arrowpos | |
drawstyle | |
fcoords | |
font | |
frame | |
lcoords | |
line | |
lineswitch | |
matline | |
mattext | |
node2d | |
node3d | |
Object | |
symbol | |
text2d | |
text3d | |
textpos | |
Public Attributes inherited from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation | |
Object | |
Detailed Description
A View Provider for the Label annotation object
Member Function Documentation
◆ attach()
def draftviewproviders.view_label.ViewProviderLabel.attach | ( | self, | |
vobj | |||
) |
Setup the scene sub-graph of the view provider
Reimplemented from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.
◆ claimChildren()
def draftviewproviders.view_label.ViewProviderLabel.claimChildren | ( | self | ) |
perhaps this is not useful???
Reimplemented from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.
Referenced by femviewprovider.view_result_mechanical.VPResultMechanical.onDelete(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.onDelete(), BOPTools.JoinFeatures.ViewProviderConnect.onDelete(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.onDelete(), BOPTools.SplitFeatures.ViewProviderSlice.onDelete(), and BOPTools.SplitFeatures.ViewProviderXOR.onDelete().
◆ getDefaultDisplayMode()
def draftviewproviders.view_label.ViewProviderLabel.getDefaultDisplayMode | ( | self | ) |
◆ getDisplayModes()
def draftviewproviders.view_label.ViewProviderLabel.getDisplayModes | ( | self, | |
vobj | |||
) |
Reimplemented from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.
◆ getIcon()
def draftviewproviders.view_label.ViewProviderLabel.getIcon | ( | self | ) |
Reimplemented from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.
◆ getTextSize()
def draftviewproviders.view_label.ViewProviderLabel.getTextSize | ( | self, | |
vobj | |||
) |
References draftviewproviders.view_label.ViewProviderLabel.text2d, draftviewproviders.view_label.ViewProviderLabel.text3d, draftviewproviders.view_dimension.ViewProviderLinearDimension.text3d, and draftviewproviders.view_dimension.ViewProviderAngularDimension.text3d.
Referenced by draftviewproviders.view_label.ViewProviderLabel.update_label().
◆ onChanged()
def draftviewproviders.view_label.ViewProviderLabel.onChanged | ( | self, | |
vobj, | |||
prop | |||
) |
Reimplemented from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.
References draftviewproviders.view_label.ViewProviderLabel.arrow, draftviewproviders.view_label.ViewProviderLabel.arrowpos, draftviewproviders.view_label.ViewProviderLabel.drawstyle, draftviewproviders.view_dimension.ViewProviderLinearDimension.drawstyle, draftviewproviders.view_dimension.ViewProviderAngularDimension.drawstyle, ArchSectionPlane._ViewProviderSectionPlane.drawstyle, Gui::SoBoxSelectionRenderActionP.drawstyle, iisIconLabelScheme.font, draftviewproviders.view_label.ViewProviderLabel.font, draftviewproviders.view_dimension.ViewProviderLinearDimension.font, ArchSpace._ViewProviderSpace.font, draftviewproviders.view_dimension.ViewProviderAngularDimension.font, draftguitools.gui_trackers.gridTracker.font, draftviewproviders.view_label.ViewProviderLabel.lineswitch, draftviewproviders.view_label.ViewProviderLabel.matline, draftviewproviders.view_label.ViewProviderLabel.mattext, draftviewproviders.view_label.ViewProviderLabel.symbol, and draftviewproviders.view_label.ViewProviderLabel.update_label().
Referenced by ArchSite.Compass.buildCoordinates(), ArchAxis.CommandArchGrid.IsActive(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData().
◆ set_properties()
def draftviewproviders.view_label.ViewProviderLabel.set_properties | ( | self, | |
vobj | |||
) |
References draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.Object, draftviewproviders.view_base.ViewProviderDraft.Object, DraftLayer.Layer.Object, Base::Writer::FileEntry.Object, Gui::SelectionChanges.Object, ArchFloor._Floor.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, draftviewproviders.view_dimension.ViewProviderLinearDimension.Object, ArchReference.ViewProviderArchReference.Object, ArchEquipment._ViewProviderEquipment.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, ArchMaterial._ViewProviderArchMaterial.Object, DraftLayer.ViewProviderLayerContainer.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, draftviewproviders.view_dimension.ViewProviderAngularDimension.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, and ArchWall._ViewProviderWall.Object.
◆ setDisplayMode()
def draftviewproviders.view_label.ViewProviderLabel.setDisplayMode | ( | self, | |
mode | |||
) |
Reimplemented from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.
◆ update_label()
def draftviewproviders.view_label.ViewProviderLabel.update_label | ( | self, | |
vobj | |||
) |
References iisIconLabelScheme.font, draftviewproviders.view_label.ViewProviderLabel.font, draftviewproviders.view_dimension.ViewProviderLinearDimension.font, ArchSpace._ViewProviderSpace.font, draftviewproviders.view_dimension.ViewProviderAngularDimension.font, draftguitools.gui_trackers.gridTracker.font, draftviewproviders.view_label.ViewProviderLabel.getTextSize(), draftviewproviders.view_label.ViewProviderLabel.textpos, draftviewproviders.view_dimension.ViewProviderLinearDimension.textpos, and draftviewproviders.view_dimension.ViewProviderAngularDimension.textpos.
Referenced by draftviewproviders.view_label.ViewProviderLabel.onChanged().
◆ updateData()
def draftviewproviders.view_label.ViewProviderLabel.updateData | ( | self, | |
obj, | |||
prop | |||
) |
Reimplemented from draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.
References draftviewproviders.view_label.ViewProviderLabel.lcoords, ArchSectionPlane._ViewProviderSectionPlane.lcoords, Gui::Polyline.line, draftviewproviders.view_label.ViewProviderLabel.line, draftviewproviders.view_dimension.ViewProviderLinearDimension.line, draftguitools.gui_trackers.wireTracker.line, Gui::ViewProviderTextDocument.onChanged(), ArchIFC.IfcRoot.onChanged(), draftobjects.wpproxy.WorkingPlaneProxy.onChanged(), Gui::ViewProviderAnnotation.onChanged(), Gui::ViewProviderOriginFeature.onChanged(), Gui::ViewProviderPlacement.onChanged(), Gui::ViewProviderPythonFeatureImp.onChanged(), App::FeaturePythonImp.onChanged(), draftobjects.draft_annotation.DraftAnnotation.onChanged(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.onChanged(), draftobjects.bspline.BSpline.onChanged(), App::TextDocument.onChanged(), Gui::ViewProviderPart.onChanged(), Gui::ViewProviderGeometryObject.onChanged(), App::MeasureDistance.onChanged(), Gui::ViewProviderMeasureDistance.onChanged(), draftobjects.bezcurve.BezCurve.onChanged(), Gui::ViewProviderOrigin.onChanged(), App::VRMLObject.onChanged(), App::FeatureCustomT< FeatureT >.onChanged(), ArchSchedule._ArchSchedule.onChanged(), draftobjects.fillet.Fillet.onChanged(), Gui::ViewProviderAnnotationLabel.onChanged(), ArchReference.ArchReference.onChanged(), draftobjects.base.DraftObject.onChanged(), Gui::ViewProviderDocumentObject.onChanged(), draftviewproviders.view_dimension.ViewProviderDimensionBase.onChanged(), draftobjects.dimension.DimensionBase.onChanged(), draftobjects.draftlink.DraftLink.onChanged(), Gui::ViewProviderLink.onChanged(), draftobjects.label.Label.onChanged(), draftobjects.wire.Wire.onChanged(), ArchTruss.Truss.onChanged(), App::ExtensionContainer.onChanged(), ArchFloor._Floor.onChanged(), App::PropertyContainer.onChanged(), DraftLayer.ViewProviderLayer.onChanged(), draftobjects.dimension.LinearDimension.onChanged(), draftviewproviders.view_base.ViewProviderDraft.onChanged(), ArchCurtainWall.CurtainWall.onChanged(), ArchFence._ViewProviderFence.onChanged(), ArchMaterial._ArchMaterial.onChanged(), ArchRebar._Rebar.onChanged(), ArchComponent.Component.onChanged(), draftobjects.array.Array.onChanged(), ArchEquipment._Equipment.onChanged(), ArchSpace._Space.onChanged(), App::FeaturePythonT< FeatureT >.onChanged(), draftobjects.patharray.PathArray.onChanged(), draftobjects.dimension.AngularDimension.onChanged(), ArchBuildingPart.BuildingPart.onChanged(), ArchAxis._ViewProviderAxis.onChanged(), ArchReference.ViewProviderArchReference.onChanged(), ArchMaterial._ViewProviderArchMaterial.onChanged(), draftviewproviders.view_dimension.ViewProviderLinearDimension.onChanged(), Gui::ViewProviderPythonFeatureT< ViewProviderT >.onChanged(), App::Document.onChanged(), Gui::ViewProvider.onChanged(), ArchRebar._ViewProviderRebar.onChanged(), ArchCurtainWall.ViewProviderCurtainWall.onChanged(), ArchWindow._Window.onChanged(), ArchSpace._ViewProviderSpace.onChanged(), App::DocumentObject.onChanged(), ArchBuildingPart.ViewProviderBuildingPart.onChanged(), ArchSite._Site.onChanged(), ArchAxis._AxisSystem.onChanged(), ArchStructure._Structure.onChanged(), draftviewproviders.view_dimension.ViewProviderAngularDimension.onChanged(), ArchSectionPlane._SectionPlane.onChanged(), ArchPanel.PanelView.onChanged(), ArchAxis._ViewProviderAxisSystem.onChanged(), ArchStructure._ViewProviderStructure.onChanged(), ArchWall._Wall.onChanged(), ArchSite._ViewProviderSite.onChanged(), ArchWindow._ViewProviderWindow.onChanged(), ArchSectionPlane._ViewProviderSectionPlane.onChanged(), ArchPanel.ViewProviderPanelCut.onChanged(), ArchComponent.ViewProviderComponent.onChanged(), ArchPanel.ViewProviderPanelSheet.onChanged(), draftviewproviders.view_label.ViewProviderLabel.text2d, draftviewproviders.view_label.ViewProviderLabel.text3d, draftviewproviders.view_dimension.ViewProviderLinearDimension.text3d, and draftviewproviders.view_dimension.ViewProviderAngularDimension.text3d.
Referenced by PathScripts.PathJobDlg.JobCreate.exec_(), PathScripts.PathOpGui.TaskPanelPage.pageUpdateData(), and PathScripts.PathSetupSheetGui.OpTaskPanel.setupUi().
Member Data Documentation
◆ arrow
draftviewproviders.view_label.ViewProviderLabel.arrow |
Referenced by draftviewproviders.view_label.ViewProviderLabel.onChanged().
◆ arrowpos
draftviewproviders.view_label.ViewProviderLabel.arrowpos |
Referenced by draftviewproviders.view_label.ViewProviderLabel.onChanged().
◆ drawstyle
draftviewproviders.view_label.ViewProviderLabel.drawstyle |
◆ fcoords
draftviewproviders.view_label.ViewProviderLabel.fcoords |
◆ font
draftviewproviders.view_label.ViewProviderLabel.font |
◆ frame
draftviewproviders.view_label.ViewProviderLabel.frame |
◆ lcoords
draftviewproviders.view_label.ViewProviderLabel.lcoords |
◆ line
draftviewproviders.view_label.ViewProviderLabel.line |
Referenced by Plot.Line.getp(), Plot.Line.setp(), and draftviewproviders.view_label.ViewProviderLabel.updateData().
◆ lineswitch
draftviewproviders.view_label.ViewProviderLabel.lineswitch |
Referenced by draftviewproviders.view_label.ViewProviderLabel.onChanged().
◆ matline
draftviewproviders.view_label.ViewProviderLabel.matline |
Referenced by draftviewproviders.view_label.ViewProviderLabel.onChanged().
◆ mattext
draftviewproviders.view_label.ViewProviderLabel.mattext |
◆ node2d
draftviewproviders.view_label.ViewProviderLabel.node2d |
◆ node3d
draftviewproviders.view_label.ViewProviderLabel.node3d |
◆ Object
draftviewproviders.view_label.ViewProviderLabel.Object |
Referenced by ArchPanel.CommandPanelSheet.Activated(), OpenSCADFeatures.ViewProviderTree.attach(), PathScripts.PathCopy.ViewProviderPathCopy.attach(), PathScripts.PathHop.ViewProviderPathHop.attach(), PathScripts.PathOpGui.ViewProvider.attach(), PathScripts.PathArray.ViewProviderArray.attach(), PathScripts.PathDressupDragknife.ViewProviderDressup.attach(), ArchSite.Compass.buildCoordinates(), femviewprovider.view_result_mechanical.VPResultMechanical.claimChildren(), OpenSCADFeatures.ViewProviderTree.claimChildren(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.claimChildren(), BOPTools.JoinFeatures.ViewProviderConnect.claimChildren(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.claimChildren(), PathScripts.PathArray.ViewProviderArray.claimChildren(), BOPTools.SplitFeatures.ViewProviderSlice.claimChildren(), BOPTools.JoinFeatures.ViewProviderEmbed.claimChildren(), BOPTools.JoinFeatures.ViewProviderCutout.claimChildren(), BOPTools.SplitFeatures.ViewProviderXOR.claimChildren(), PathScripts.PathDressupDragknife.ViewProviderDressup.claimChildren(), Spreadsheet_legacy.ViewProviderSpreadsheet.claimChildren(), PathScripts.PathOpGui.ViewProvider.clearTaskPanel(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.doubleClicked(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dragObject(), BOPTools.JoinFeatures.ViewProviderConnect.dragObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dragObject(), BOPTools.SplitFeatures.ViewProviderXOR.dragObject(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dropObject(), BOPTools.JoinFeatures.ViewProviderConnect.dropObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dropObject(), BOPTools.SplitFeatures.ViewProviderXOR.dropObject(), Mod.Show.Containers.Container.getCSChildren(), Mod.Show.Containers.Container.getDynamicChildren(), femviewprovider.view_material_common.VPMaterialCommon.getIcon(), femviewprovider.view_base_femobject.VPBaseFemObject.getIcon(), OpenSCADFeatures.ViewProviderTree.getIcon(), PathScripts.PathOpGui.ViewProvider.getIcon(), Mod.Show.Containers.Container.getStaticChildren(), Mod.Show.Containers.Container.getVisGroupChildren(), Mod.Show.Containers.Container.hasObjectRecursive(), Mod.Show.Containers.Container.isACS(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.Show.Containers.Container.isAVisGroup(), Mod.Show.Containers.Container.isChildVisible(), BOPTools.JoinFeatures.ViewProviderEmbed.onDelete(), BOPTools.JoinFeatures.ViewProviderCutout.onDelete(), Mod.Show.Containers.Container.self_check(), Mod.PartDesign.SprocketFeature.ViewProviderSprocket.setEdit(), PathScripts.PathOpGui.ViewProvider.setupTaskPanel(), femviewprovider.view_result_mechanical.VPResultMechanical.unsetEdit(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeCamera(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeState().
◆ symbol
draftviewproviders.view_label.ViewProviderLabel.symbol |
◆ text2d
draftviewproviders.view_label.ViewProviderLabel.text2d |
◆ text3d
draftviewproviders.view_label.ViewProviderLabel.text3d |
◆ textpos
draftviewproviders.view_label.ViewProviderLabel.textpos |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftviewproviders/view_label.py