Public Member Functions | |
def | __init__ |
def | deletePoint |
def | clearPoints |
def | splitline |
def | splitLine |
def | setFromPoint |
def | setToPoint |
def | moveBy |
def | popup |
def | delete |
def | tooltip |
def | selected |
Public Attributes | |
fromPort | |
toPort | |
canvas | |
item | |
lines | |
points | |
def gui.CItems.LinkItem.__init__ | ( | self, | |
fromPort, | |||
toPort, | |||
canvas | |||
) |
def gui.CItems.LinkItem.clearPoints | ( | self | ) |
Definition at line 203 of file CItems.py.
References gui.CItems.LinkItem.deletePoint(), and gui.CItems.LinkItem.points.
def gui.CItems.LinkItem.delete | ( | self | ) |
Definition at line 248 of file CItems.py.
Referenced by gui.GraphViewer.LinkItem.popup().
def gui.CItems.LinkItem.deletePoint | ( | self, | |
point, | |||
pos | |||
) |
Delete intermediate point
Definition at line 187 of file CItems.py.
References gui.CItems.LinkItem.points.
Referenced by gui.CItems.LinkItem.clearPoints().
def gui.CItems.LinkItem.moveBy | ( | self, | |
dx, | |||
dy | |||
) |
def gui.CItems.LinkItem.popup | ( | self, | |
canvasView | |||
) |
Definition at line 240 of file CItems.py.
Referenced by gui.GraphViewer.GraphViewer.contentsMousePressEvent().
def gui.CItems.LinkItem.selected | ( | self | ) |
def gui.CItems.LinkItem.setFromPoint | ( | self, | |
x, | |||
y | |||
) |
Definition at line 229 of file CItems.py.
References gui.CItems.LinkItem.lines.
def gui.CItems.LinkItem.setToPoint | ( | self, | |
x, | |||
y | |||
) |
Definition at line 233 of file CItems.py.
References gui.CItems.LinkItem.lines.
def gui.CItems.LinkItem.splitline | ( | self, | |
line, | |||
pos | |||
) |
def gui.CItems.LinkItem.splitLine | ( | self, | |
line, | |||
x, | |||
y | |||
) |
Split line at position x,y
Definition at line 211 of file CItems.py.
References gui.CItems.LinkItem.canvas, and gui.CItems.LinkItem.points.
Referenced by gui.CItems.LinkItem.splitline().
def gui.CItems.LinkItem.tooltip | ( | self, | |
view, | |||
pos | |||
) |
gui.CItems.LinkItem.canvas |
Definition at line 179 of file CItems.py.
Referenced by gui.graph.Graph.addItem(), gui.graph.Graph.addLink(), gui.GraphViewer.GraphViewer.clear(), gui.GraphViewer.GraphViewer.contentsMouseDoubleClickEvent(), gui.GraphViewer.GraphViewer.contentsMouseMoveEvent(), gui.GraphViewer.GraphViewer.contentsMousePressEvent(), gui.GraphViewer.InPortItem.link(), gui.CItems.InControlItem.link(), gui.GraphViewer.OutPortItem.link(), gui.CItems.OutControlItem.link(), gui.CItems.InPortItem.link(), gui.CItems.OutPortItem.link(), gui.CItems.Cell.pynotify(), gui.GraphViewer.GraphViewer.selectItem(), and gui.CItems.LinkItem.splitLine().
gui.CItems.LinkItem.lines |
Definition at line 183 of file CItems.py.
Referenced by gui.CItems.LinkItem.setFromPoint(), and gui.CItems.LinkItem.setToPoint().
gui.CItems.LinkItem.points |
Definition at line 184 of file CItems.py.
Referenced by gui.CItems.LinkItem.clearPoints(), gui.CItems.LinkItem.deletePoint(), and gui.CItems.LinkItem.splitLine().