draftobjects.array.Array Class Reference

Public Member Functions

def attach (self, obj)
 
def execute (self, obj)
 
def linkSetup (self, obj)
 
def onChanged (self, obj, prop)
 
def set_circular_properties (self, obj)
 
def set_general_properties (self, obj)
 
def set_link_properties (self, obj)
 
def set_ortho_properties (self, obj)
 
def set_polar_circular_properties (self, obj)
 
def set_polar_properties (self, obj)
 
def set_properties (self, obj)
 
def show_and_hide (self, obj, prop)
 
def execute (self, obj)
 
def onChanged (self, obj, prop)
 

Additional Inherited Members

- Public Attributes inherited from draftobjects.base.DraftObject
 Type
 

Detailed Description

The Draft Array object.

To Do
-----
The `Array` class currently handles three types of arrays,
orthogonal, polar, and circular. In the future, probably they should be
split in separate classes so that they are easier to manage.

Member Function Documentation

◆ attach()

◆ execute()

◆ linkSetup()

◆ onChanged()

◆ set_circular_properties()

def draftobjects.array.Array.set_circular_properties (   self,
  obj 
)
Set circular properties only if they don't exist.

References draftutils.translate.QT_TRANSLATE_NOOP.

Referenced by draftobjects.array.Array.set_properties().

◆ set_general_properties()

def draftobjects.array.Array.set_general_properties (   self,
  obj 
)

◆ set_link_properties()

◆ set_ortho_properties()

def draftobjects.array.Array.set_ortho_properties (   self,
  obj 
)
Set orthogonal properties only if they don't exist.

References draftutils.translate.QT_TRANSLATE_NOOP.

Referenced by draftobjects.array.Array.set_properties().

◆ set_polar_circular_properties()

def draftobjects.array.Array.set_polar_circular_properties (   self,
  obj 
)
Set general polar and circular properties if they don't exist.

References draftutils.translate.QT_TRANSLATE_NOOP.

Referenced by draftobjects.array.Array.set_properties().

◆ set_polar_properties()

def draftobjects.array.Array.set_polar_properties (   self,
  obj 
)
Set polar properties only if they don't exist.

References draftutils.translate.QT_TRANSLATE_NOOP.

Referenced by draftobjects.array.Array.set_properties().

◆ set_properties()

◆ show_and_hide()

def draftobjects.array.Array.show_and_hide (   self,
  obj,
  prop 
)
Show and hide the properties depending on the touched property.

Referenced by draftobjects.array.Array.onChanged(), draftobjects.label.Label.onChanged(), and draftobjects.patharray.PathArray.onChanged().


The documentation for this class was generated from the following file: