PathScripts.PathIconViewProvider Namespace Reference

Classes

class  ViewProvider
 

Functions

def Attach (vobj, name)
 
def RegisterViewProvider (name, provider)
 

Variables

 translate = FreeCAD.Qt.translate
 

Function Documentation

◆ Attach()

def PathScripts.PathIconViewProvider.Attach (   vobj,
  name 
)
Attach(vobj, name) ... attach the appropriate view provider to the view object.
If no view provider was registered for the given name a default IconViewProvider is created.

Referenced by PathScripts.PathJob.createResourceClone(), and PathScripts.PathJob.ObjectJob.setupSetupSheet().

◆ RegisterViewProvider()

def PathScripts.PathIconViewProvider.RegisterViewProvider (   name,
  provider 
)
RegisterViewProvider(name, provider) ... if an IconViewProvider is created for an object with the given name
an instance of provider is used instead.

Variable Documentation

◆ translate

PathScripts.PathIconViewProvider.translate = FreeCAD.Qt.translate