Public Member Functions | |
def | __init__ |
def | contentsMouseDoubleClickEvent |
def | contentsMousePressEvent |
def | selectItem |
def | selectObj |
def | deselectObj |
def | popup |
def | updateCanvas |
def | addNode |
def | zoomIn |
def | zoomOut |
def | clear |
def | connecting |
def | contentsMouseMoveEvent |
Public Attributes | |
selectPen | |
selectBrush | |
selectStyle | |
selected | |
tooltip | |
Private Attributes | |
__moving | |
__connecting | |
__moving_start | |
Definition at line 41 of file GraphViewer.py.
def gui.GraphViewer.GraphViewer.__init__ | ( | self, | |
c, | |||
parent, | |||
name, | |||
f | |||
) |
Definition at line 42 of file GraphViewer.py.
def gui.GraphViewer.GraphViewer.addNode | ( | self | ) |
Definition at line 164 of file GraphViewer.py.
Referenced by gui.GraphViewer.GraphViewer.popup().
def gui.GraphViewer.GraphViewer.clear | ( | self | ) |
Definition at line 177 of file GraphViewer.py.
References gui.graph.Graph.canvas, and gui.CItems.LinkItem.canvas.
def gui.GraphViewer.GraphViewer.connecting | ( | self, | |
obj | |||
) |
Method called by an item to notify canvasView a connection has begun
Definition at line 185 of file GraphViewer.py.
References gui.GraphViewer.GraphViewer.__connecting.
def gui.GraphViewer.GraphViewer.contentsMouseDoubleClickEvent | ( | self, | |
e | |||
) |
Definition at line 54 of file GraphViewer.py.
References gui.graph.Graph.canvas, and gui.CItems.LinkItem.canvas.
def gui.GraphViewer.GraphViewer.contentsMouseMoveEvent | ( | self, | |
e | |||
) |
Definition at line 190 of file GraphViewer.py.
References gui.GraphViewer.GraphViewer.__moving, gui.GraphViewer.GraphViewer.__moving_start, gui.graph.Graph.canvas, and gui.CItems.LinkItem.canvas.
def gui.GraphViewer.GraphViewer.contentsMousePressEvent | ( | self, | |
e | |||
) |
Definition at line 68 of file GraphViewer.py.
References gui.GraphViewer.GraphViewer.__connecting, gui.GraphViewer.GraphViewer.__moving, gui.GraphViewer.GraphViewer.__moving_start, gui.graph.Graph.canvas, gui.CItems.LinkItem.canvas, gui.GraphViewer.GraphViewer.popup(), gui.CItems.LinkItem.popup(), gui.CItems.ControlItem.popup(), gui.CItems.PortItem.popup(), and gui.CItems.Cell.popup().
def gui.GraphViewer.GraphViewer.deselectObj | ( | self, | |
obj | |||
) |
Definition at line 141 of file GraphViewer.py.
Referenced by gui.GraphViewer.GraphViewer.selectItem().
def gui.GraphViewer.GraphViewer.popup | ( | self | ) |
Definition at line 146 of file GraphViewer.py.
References gui.cataitems.ItemService.addNode(), gui.cataitems.ItemNode.addNode(), gui.GraphViewer.GraphViewer.addNode(), gui.cataitems.ItemComposedNode.addNode(), YACS::HMI::SubjectComposedNode.addNode(), gui.Appli.Appli.addNode(), YACS::HMI::SubjectBloc.addNode(), YACS::HMI::SubjectForLoop.addNode(), YACS::HMI::SubjectWhileLoop.addNode(), YACS::HMI::SubjectSwitch.addNode(), and YACS::HMI::SubjectDynParaLoop.addNode().
Referenced by gui.GraphViewer.GraphViewer.contentsMousePressEvent().
def gui.GraphViewer.GraphViewer.selectItem | ( | self, | |
item | |||
) |
Definition at line 117 of file GraphViewer.py.
References gui.graph.Graph.canvas, gui.CItems.LinkItem.canvas, gui.GraphViewer.GraphViewer.deselectObj(), gui.browser.Browser.selected, gui.GraphViewer.GraphViewer.selected, gui.Appli.Browser.selected, and gui.GraphViewer.GraphViewer.selectObj().
Referenced by gui.Tree.Tree.additem().
def gui.GraphViewer.GraphViewer.selectObj | ( | self, | |
obj | |||
) |
Definition at line 133 of file GraphViewer.py.
References gui.GraphViewer.GraphViewer.selectPen.
Referenced by gui.GraphViewer.GraphViewer.selectItem().
def gui.GraphViewer.GraphViewer.updateCanvas | ( | self | ) |
Definition at line 157 of file GraphViewer.py.
def gui.GraphViewer.GraphViewer.zoomIn | ( | self | ) |
Definition at line 167 of file GraphViewer.py.
def gui.GraphViewer.GraphViewer.zoomOut | ( | self | ) |
Definition at line 172 of file GraphViewer.py.
|
private |
Definition at line 45 of file GraphViewer.py.
Referenced by gui.GraphViewer.GraphViewer.connecting(), and gui.GraphViewer.GraphViewer.contentsMousePressEvent().
|
private |
Definition at line 44 of file GraphViewer.py.
Referenced by gui.GraphViewer.GraphViewer.contentsMouseMoveEvent(), and gui.GraphViewer.GraphViewer.contentsMousePressEvent().
|
private |
Definition at line 46 of file GraphViewer.py.
Referenced by gui.GraphViewer.GraphViewer.contentsMouseMoveEvent(), and gui.GraphViewer.GraphViewer.contentsMousePressEvent().
gui.GraphViewer.GraphViewer.selectBrush |
Definition at line 49 of file GraphViewer.py.
gui.GraphViewer.GraphViewer.selected |
Definition at line 51 of file GraphViewer.py.
Referenced by gui.GraphViewer.GraphViewer.selectItem().
gui.GraphViewer.GraphViewer.selectPen |
Definition at line 48 of file GraphViewer.py.
Referenced by gui.GraphViewer.GraphViewer.selectObj().
gui.GraphViewer.GraphViewer.selectStyle |
Definition at line 50 of file GraphViewer.py.
gui.GraphViewer.GraphViewer.tooltip |
Definition at line 52 of file GraphViewer.py.