parameters: (self)
return_statement: return ":/icons/Draft_Draft.svg"
docstring: 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'`
docstring_summary: Return the path to the icon used by the view provider.
docstring_tokens: Return the path to the icon used by the view provider .
function: def 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'`
          """
          if hasattr(self.Object,"Proxy") and hasattr(self.Object.Proxy,"Type"):
              tp = self.Object.Proxy.Type
              if tp in ('Line', 'Wire', 'Polyline'):
                  return ":/icons/Draft_N-Linear.svg"
              elif tp in ('Rectangle', 'Polygon'):
                  return ":/icons/Draft_N-Polygon.svg"
              elif tp in ('Circle', 'Ellipse', 'BSpline', 'BezCurve', 'Fillet'):
                  return ":/icons/Draft_N-Curve.svg"
              elif tp in ("ShapeString"):
                  return ":/icons/Draft_ShapeString_tree.svg"
          if hasattr(self.Object,"AutoUpdate") and not self.Object.AutoUpdate:
              import TechDrawGui
              return ":/icons/TechDraw_TreePageUnsync.svg"
          return ":/icons/Draft_Draft.svg"
function_tokens: def getIcon ( self ) : if hasattr ( self . Object , "Proxy" ) and hasattr ( self . Object . Proxy , "Type" ) : tp = self . Object . Proxy . Type if tp in ( 'Line' , 'Wire' , 'Polyline' ) : return ":/icons/Draft_N-Linear.svg" elif tp in ( 'Rectangle' , 'Polygon' ) : return ":/icons/Draft_N-Polygon.svg" elif tp in ( 'Circle' , 'Ellipse' , 'BSpline' , 'BezCurve' , 'Fillet' ) : return ":/icons/Draft_N-Curve.svg" elif tp in ( "ShapeString" ) : return ":/icons/Draft_ShapeString_tree.svg" if hasattr ( self . Object , "AutoUpdate" ) and not self . Object . AutoUpdate : import TechDrawGui return ":/icons/TechDraw_TreePageUnsync.svg" return ":/icons/Draft_Draft.svg"