Public Member Functions | |
def | __init__ |
def | setInline |
def | setOutline |
def | moveBy |
def | myMove |
def | getObj |
def | handleDoubleClick |
def | clear |
def | selected |
Public Attributes | |
obj | |
item | |
inline | |
outline | |
def gui.CItems.PointItem.clear | ( | self | ) |
To remove from canvas
Definition at line 100 of file CItems.py.
References gui.CItems.PointItem.inline, Solution.obj, gui.CItems.TextItem.obj, gui.CItems.PointItem.obj, and gui.CItems.PointItem.outline.
def gui.CItems.PointItem.getObj | ( | self | ) |
The object which contains the point
Definition at line 90 of file CItems.py.
References Solution.obj, gui.CItems.TextItem.obj, and gui.CItems.PointItem.obj.
def gui.CItems.PointItem.handleDoubleClick | ( | self, | |
pos | |||
) |
def gui.CItems.PointItem.moveBy | ( | self, | |
dx, | |||
dy | |||
) |
Request the point move by x,y
Definition at line 78 of file CItems.py.
References gui.CItems.TextItem.myMove(), and gui.CItems.PointItem.myMove().
def gui.CItems.PointItem.myMove | ( | self, | |
dx, | |||
dy | |||
) |
The real move
Definition at line 82 of file CItems.py.
References gui.CItems.PointItem.inline, gui.CItems.PointItem.outline, YACS::HMI::linkPoint.x, YACS::HMI::presentationtype_parser.x(), YACS::HMI::linkPoint.y, and YACS::HMI::presentationtype_parser.y().
Referenced by gui.CItems.PointItem.moveBy().
def gui.CItems.PointItem.selected | ( | self | ) |
def gui.CItems.PointItem.setInline | ( | self, | |
inline | |||
) |
def gui.CItems.PointItem.setOutline | ( | self, | |
outline | |||
) |
gui.CItems.PointItem.inline |
Definition at line 61 of file CItems.py.
Referenced by gui.CItems.PointItem.clear(), gui.CItems.PointItem.myMove(), and gui.CItems.PointItem.setInline().
gui.CItems.PointItem.obj |
Create a point contained in a composite line (obj)
To remove from canvas
Definition at line 59 of file CItems.py.
Referenced by gui.CItems.PointItem.clear(), gui.CItems.LineItem.clear(), gui.CItems.PointItem.getObj(), and gui.CItems.LineItem.getObj().
gui.CItems.PointItem.outline |
Definition at line 62 of file CItems.py.
Referenced by gui.CItems.PointItem.clear(), gui.CItems.PointItem.myMove(), and gui.CItems.PointItem.setOutline().