a view provider that displays a Array icon instead of a Draft icon
def draftviewproviders.view_array.ViewProviderDraftArray.getIcon |
( |
|
self | ) |
|
Return the path to the icon used by the view provider.
The path can be a full path in the system, or a relative path
inside the compiled resource file.
It can also be a string that defines the icon in XPM format.
Override this method to provide a specific icon
for the object in the tree view.
By default it returns the path to the `Draft_Draft.svg` icon.
Returns
-------
str
`':/icons/Draft_Draft.svg'`
Reimplemented from draftviewproviders.view_base.ViewProviderDraft.
References 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, ArchReference.ViewProviderArchReference.Object, ArchEquipment._ViewProviderEquipment.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, ArchMaterial._ViewProviderArchMaterial.Object, DraftLayer.ViewProviderLayerContainer.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, and ArchWall._ViewProviderWall.Object.