Public Member Functions | |
def | __init__ |
def | setFromPoint |
def | setToPoint |
def | moveBy |
def | setArrow |
def | getObj |
def | handleDoubleClick |
def | clear |
def | selected |
Public Attributes | |
obj | |
item | |
fromPoint | |
toPoint | |
arrow | |
def gui.CItems.LineItem.clear | ( | self | ) |
To remove from canvas
Definition at line 163 of file CItems.py.
References gui.CItems.LineItem.arrow, gui.CItems.LineItem.fromPoint, Solution.obj, gui.CItems.TextItem.obj, gui.CItems.PointItem.obj, gui.CItems.LineItem.obj, and gui.CItems.LineItem.toPoint.
def gui.CItems.LineItem.getObj | ( | self | ) |
The object which contains the line
Definition at line 153 of file CItems.py.
References Solution.obj, gui.CItems.TextItem.obj, gui.CItems.PointItem.obj, and gui.CItems.LineItem.obj.
def gui.CItems.LineItem.handleDoubleClick | ( | self, | |
pos | |||
) |
def gui.CItems.LineItem.moveBy | ( | self, | |
dx, | |||
dy | |||
) |
def gui.CItems.LineItem.selected | ( | self | ) |
def gui.CItems.LineItem.setArrow | ( | self | ) |
Definition at line 138 of file CItems.py.
Referenced by gui.CItems.LineItem.setFromPoint(), gui.GraphViewer.LinkItem.setFromPoint(), gui.CItems.LineItem.setToPoint(), and gui.GraphViewer.LinkItem.setToPoint().
def gui.CItems.LineItem.setFromPoint | ( | self, | |
x, | |||
y | |||
) |
Definition at line 128 of file CItems.py.
References gui.CItems.LineItem.setArrow().
def gui.CItems.LineItem.setToPoint | ( | self, | |
x, | |||
y | |||
) |
Definition at line 131 of file CItems.py.
References gui.CItems.LineItem.setArrow().
gui.CItems.LineItem.arrow |
Definition at line 123 of file CItems.py.
Referenced by gui.CItems.LineItem.clear().
gui.CItems.LineItem.fromPoint |
To remove from canvas
Definition at line 116 of file CItems.py.
Referenced by gui.CItems.LineItem.clear().
gui.CItems.LineItem.obj |
Definition at line 114 of file CItems.py.
Referenced by gui.CItems.LineItem.clear(), and gui.CItems.LineItem.getObj().
gui.CItems.LineItem.toPoint |
Definition at line 117 of file CItems.py.
Referenced by gui.CItems.LineItem.clear().