PyPO User Manual
GUI.ElementWidget.ElementWidget Class Reference

Defines elementWidgets form the workspace. More...

Inheritance diagram for GUI.ElementWidget.ElementWidget:
GUI.ElementWidget.CurrentWidget GUI.ElementWidget.FieldsWidget GUI.ElementWidget.FrameWidget GUI.ElementWidget.GroupWidget GUI.ElementWidget.ReflectorWidget GUI.ElementWidget.SFieldsWidget

Public Member Functions

def __init__ (self, name, plotAction, removeAction, transformAction=None, RMSAction=None, snapAction=None, copyAction=None, removeWid=None, infoAction=None, p=None)
 
def setupUI (self)
 
def transform (self)
 
def plot (self)
 
def RMSFrame (self)
 
def remove (self)
 
def snap (self)
 
def copy (self)
 
def info (self)
 

Public Attributes

 plotAction
 
 removeAction_
 
 removeWid
 
 actions
 
 transformAction
 
 RMSFrameAction
 
 snapAction
 
 copyAction
 
 infoAction
 
 name
 
 btn
 
 dlg
 

Detailed Description

Defines elementWidgets form the workspace.

Defines ElementWidgets consisting of a name label and an options button. These element widgets are subclassed into their own type and styled in a distinct color in style.css. The subclasses handle passing the required parameters to the parent. The parent accepts all possible options (actions) that could be given by a subclass. The parent should have a function for each of the possible action.


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