draftviewproviders.view_text.ViewProviderText Class Reference

Public Member Functions

def attach (self, vobj)
 
def claimChildren (self)
 
def getDisplayModes (self, vobj)
 
def getIcon (self)
 
def onChanged (self, vobj, prop)
 
def set_properties (self, vobj)
 
def setDisplayMode (self, mode)
 
def updateData (self, obj, prop)
 

Public Attributes

 font
 
 mattext
 
 node2d
 
 node3d
 
 Object
 
 text2d
 
 text3d
 
 trans
 

Detailed Description

Viewprovider for the Draft Text annotation.

Member Function Documentation

◆ attach()

def draftviewproviders.view_text.ViewProviderText.attach (   self,
  vobj 
)
Set up the scene sub-graph of the view provider.

◆ claimChildren()

◆ getDisplayModes()

def draftviewproviders.view_text.ViewProviderText.getDisplayModes (   self,
  vobj 
)
Return the display modes that this viewprovider supports.

◆ getIcon()

def draftviewproviders.view_text.ViewProviderText.getIcon (   self)

◆ onChanged()

def draftviewproviders.view_text.ViewProviderText.onChanged (   self,
  vobj,
  prop 
)
Execute when a view property is changed.

References iisIconLabelScheme.font, ArchSpace._ViewProviderSpace.font, draftguitools.gui_trackers.gridTracker.font, draftviewproviders.view_dimension.ViewProviderLinearDimension.font, draftviewproviders.view_dimension.ViewProviderAngularDimension.font, draftviewproviders.view_label.ViewProviderLabel.font, draftviewproviders.view_text.ViewProviderText.font, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.text_literal.font, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.character_glyph_font_usage.font, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.text_font_in_family.font, automotive_design.text_literal.font, PartDesignGui::ViewProviderDatumCoordinateSystem.font, draftviewproviders.view_label.ViewProviderLabel.mattext, draftviewproviders.view_text.ViewProviderText.mattext, draftviewproviders.view_label.ViewProviderLabel.text2d, draftviewproviders.view_text.ViewProviderText.text2d, draftviewproviders.view_dimension.ViewProviderLinearDimension.text3d, draftviewproviders.view_dimension.ViewProviderAngularDimension.text3d, draftviewproviders.view_label.ViewProviderLabel.text3d, and draftviewproviders.view_text.ViewProviderText.text3d.

Referenced by draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), draftobjects.wire.Wire.execute(), ArchAxis.CommandArchGrid.IsActive(), ArchBuildingPart.ViewProviderBuildingPart.updateData(), ArchPanel.ViewProviderPanelCut.updateData(), ArchPanel.ViewProviderPanelSheet.updateData(), draftviewproviders.view_label.ViewProviderLabel.updateData(), draftviewproviders.view_layer.ViewProviderLayer.updateData(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData().

◆ set_properties()

◆ setDisplayMode()

def draftviewproviders.view_text.ViewProviderText.setDisplayMode (   self,
  mode 
)
Return the saved display mode.

◆ updateData()

Member Data Documentation

◆ font

◆ mattext

◆ node2d

draftviewproviders.view_text.ViewProviderText.node2d

◆ node3d

◆ Object

draftviewproviders.view_text.ViewProviderText.Object

Referenced by draftviewproviders.view_layer.ViewProviderLayer.activate(), ArchPanel.CommandPanelSheet.Activated(), OpenSCADFeatures.ViewProviderTree.attach(), draftviewproviders.view_base.ViewProviderDraft.attach(), draftviewproviders.view_dimension.ViewProviderLinearDimension.attach(), draftviewproviders.view_dimension.ViewProviderAngularDimension.attach(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.attach(), draftviewproviders.view_layer.ViewProviderLayer.attach(), draftviewproviders.view_layer.ViewProviderLayerContainer.attach(), PathScripts.PathArray.ViewProviderArray.attach(), PathScripts.PathCopy.ViewProviderPathCopy.attach(), PathScripts.PathDressupDragknife.ViewProviderDressup.attach(), PathScripts.PathHop.ViewProviderPathHop.attach(), PathScripts.PathOpGui.ViewProvider.attach(), ArchSite.Compass.buildCoordinates(), ArchReference.ViewProviderArchReference.checkChanges(), ArchComponent.ViewProviderComponent.claimChildren(), draftviewproviders.view_base.ViewProviderDraft.claimChildren(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.claimChildren(), draftviewproviders.view_draftlink.ViewProviderDraftLink.claimChildren(), draftviewproviders.view_layer.ViewProviderLayer.claimChildren(), draftviewproviders.view_wire.ViewProviderWire.claimChildren(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.claimChildren(), femviewprovider.view_result_mechanical.VPResultMechanical.claimChildren(), OpenSCADFeatures.ViewProviderTree.claimChildren(), BOPTools.JoinFeatures.ViewProviderConnect.claimChildren(), BOPTools.JoinFeatures.ViewProviderEmbed.claimChildren(), BOPTools.JoinFeatures.ViewProviderCutout.claimChildren(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.claimChildren(), BOPTools.SplitFeatures.ViewProviderSlice.claimChildren(), BOPTools.SplitFeatures.ViewProviderXOR.claimChildren(), PathScripts.PathArray.ViewProviderArray.claimChildren(), PathScripts.PathDressupDragknife.ViewProviderDressup.claimChildren(), Spreadsheet_legacy.ViewProviderSpreadsheet.claimChildren(), PathScripts.PathOpGui.ViewProvider.clearTaskPanel(), ArchBuildingPart.ViewProviderBuildingPart.cloneUp(), ArchStructure.StructureTaskPanel.connectNodes(), ArchBuildingPart.ViewProviderBuildingPart.createGroup(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.doubleClicked(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dragObject(), BOPTools.JoinFeatures.ViewProviderConnect.dragObject(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dragObject(), BOPTools.SplitFeatures.ViewProviderXOR.dragObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dropObject(), BOPTools.JoinFeatures.ViewProviderConnect.dropObject(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dropObject(), BOPTools.SplitFeatures.ViewProviderXOR.dropObject(), ArchStructure.StructureTaskPanel.extendNodes(), draftviewproviders.view_wire.ViewProviderWire.flatten(), Mod.Show.Containers.Container.getCSChildren(), Mod.Show.Containers.Container.getDynamicChildren(), ArchBuildingPart.ViewProviderBuildingPart.getIcon(), ArchComponent.ViewProviderComponent.getIcon(), draftviewproviders.view_array.ViewProviderDraftArray.getIcon(), draftviewproviders.view_base.ViewProviderDraft.getIcon(), draftviewproviders.view_dimension.ViewProviderDimensionBase.getIcon(), draftviewproviders.view_draftlink.ViewProviderDraftLink.getIcon(), femviewprovider.view_base_femobject.VPBaseFemObject.getIcon(), femviewprovider.view_material_common.VPMaterialCommon.getIcon(), OpenSCADFeatures.ViewProviderTree.getIcon(), PathScripts.PathOpGui.ViewProvider.getIcon(), Mod.Show.Containers.Container.getStaticChildren(), Mod.Show.Containers.Container.getVisGroupChildren(), Mod.Show.Containers.Container.hasObjectRecursive(), draftviewproviders.view_dimension.ViewProviderLinearDimension.is_linked_to_circle(), Mod.Show.Containers.Container.isACS(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.Show.Containers.Container.isAVisGroup(), Mod.Show.Containers.Container.isChildVisible(), draftviewproviders.view_layer.ViewProviderLayerContainer.merge_by_name(), draftviewproviders.view_base.ViewProviderDraft.onChanged(), BOPTools.JoinFeatures.ViewProviderEmbed.onDelete(), BOPTools.JoinFeatures.ViewProviderCutout.onDelete(), ArchReference.ViewProviderArchReference.onOpen(), ArchReference.ViewProviderArchReference.onReload(), ArchBuildingPart.ViewProviderBuildingPart.reorder(), ArchStructure.StructureTaskPanel.resetNodes(), draftviewproviders.view_layer.ViewProviderLayer.select_contents(), Mod.Show.Containers.Container.self_check(), ArchComponent.ViewProviderComponent.setDisplayMode(), ArchComponent.ViewProviderComponent.setEdit(), Mod.PartDesign.SprocketFeature.ViewProviderSprocket.setEdit(), PathScripts.PathOpGui.ViewProvider.setupTaskPanel(), ArchBuildingPart.ViewProviderBuildingPart.setWorkingPlane(), femviewprovider.view_result_mechanical.VPResultMechanical.unsetEdit(), ArchBuildingPart.ViewProviderBuildingPart.writeCamera(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeCamera(), ArchBuildingPart.ViewProviderBuildingPart.writeInventor(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeState().

◆ text2d

◆ text3d

◆ trans


The documentation for this class was generated from the following file:
  • Sources/FreeCAD/src/Mod/Draft/draftviewproviders/view_text.py