Classes | |
class | ViewProvider |
Functions | |
def | Attach (vobj, name) |
def | RegisterViewProvider (name, provider) |
Variables | |
translate = FreeCAD.Qt.translate | |
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().
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.
PathScripts.PathIconViewProvider.translate = FreeCAD.Qt.translate |