Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
module Synopsis::UI::Qt::actionvis
class ActionCanvas
Files: Synopsis/UI/Qt/actionvis.py
ActionCanvas-inheritance

Extends QCanvas to automatically fill and update the canvas when notified of events by an ActionManager


Operations Summary:
 __init__(self, actions, parent, project) [Source]
 get_action_at(self, x, y)
Returns the Action (if any) at the given coordinates [Source]
 get_line_at(self, x, y)
Returns the Actions forming a line which crosses x,y, as a line object [Source]
 get_icon_for(self, action) [Source]
 action_added(self, action)
Callback from ActionManager. [Source]
 action_removed(self, action)
Callback from ActionManager. [Source]
 action_moved(self, action)
Callback from ActionManager. [Source]
 channel_added(self, source, dest)
Callback from ActionManager. [Source]
 channel_removed(self, source, dest)
Callback from ActionManager. [Source]
 action_changed(self, action)
Callback from ProjectActions. [Source]

Operation Details:
  action_added(self, action)

Callback from ActionManager. Adds an Icon for the new Action


  action_removed(self, action)

Callback from ActionManager. Removes the Icon for the Action


  action_moved(self, action)

Callback from ActionManager. Moves the Icon to follow the Action


  channel_added(self, source, dest)

Callback from ActionManager. Adds a channel between the given actions


  channel_removed(self, source, dest)

Callback from ActionManager. Adds a channel between the given actions


  action_changed(self, action)

Callback from ProjectActions. Indicates changes, including rename