TABLE OF CONTENTS
TEMANEJO_GRAPHWIDGET
[ Top ] [ TEMANEJO ] [ Modules ]
NAME
temanejo_graphWidget.py - widget for displaying and interacting wtih *Ss' task graph
DESCRIPTION
temanejo_graphWidget.py is to be loaded as a module and implements a widget derived from gtk.DrawingArea which can display and interact with a graph. For that purpose this module implements several classes which represent zoom, animation and drag events.
PORTABILITY
The following modules are imported:
- gtk
- gobject
- time
- math
AUTHOR
Steffen Brinkmann, HLRS <brinkmann@hlrs.de>
COPYRIGHT
(C) HLRS, University of Stuttgart temanejo_graphWidget.py is published under the terms of the BSD license. temanejo_graphWidget.py is based on xdot.py, ver. 0.4 (C) 2008 Jose Fonseca which is published under the terms of the GNU Lesser General Public License
Animation
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
Animation - Base class for animation events
DESCRIPTION
This is the base class for moving and zooming events
DERIVED FROM
object
DERIVED BY
NoAnimation LinearAnimation
METHODS
__init__ start stop tick
DragAction
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
DragAction - Base class for dragging events.
DESCRIPTION
This class is the base class for dragging events
DERIVED FROM
object
DERIVED BY
NullAction PanAction ZoomAction ZoomAreaAction
METHODS
__init__ on_button_press on_motion_notify on_button_release draw start drag stop abort
Graph_Widget
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
Graph_Widget - a widget for displaying a *Ss dependenca graph
DESCRIPTION
This class implements a widget which allows to display and interact with a *Ss dependency graph
DERIVED FROM
gtk.DrawingArea
METHODS
__init__ do_expose_event get_current_pos set_current_pos zoom_image zoom_to_area zoom_to_fit on_zoom_in on_zoom_out on_zoom_fit on_zoom_100 on_key_press_event get_drag_action on_area_button_press is_click on_area_button_release on_area_scroll_event on_area_motion_notify on_area_size_allocate animate_to window2graph get_jump
ATTRIBUTES
__gsignals__
LinearAnimation
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
LinearAnimation - Class for a linear animation. Base class for a move event
DESCRIPTION
This class implements a "no-"animation. It wil pass on start() and stop()
DERIVED FROM
Animation
DERIVED BY
MoveToAnimation
METHODS
start tick animate
MoveToAnimation
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
MoveToAnimation - Class for a move event. Base class for a zoom event
DESCRIPTION
This class implenents a move event.
DERIVED FROM
LinearAnimation
DERIVED BY
ZoomToAnimation
METHODS
__init__ animate
NIYDialog
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
NIYDialog - dialog displaying a short notice saying "Not implemented yet"
DESCRIPTION
This Dialog displays a short message saying "Not implemented yet"
DERIVED FROM
gtk.Dialog
METHODS
__init__
NoAnimation
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
NoAnimation - Class for an animation which is not happening
DESCRIPTION
This class implements a "no-"animation. It wil pass on start() and stop()
DERIVED FROM
Animation
METHODS
start stop
NullAction
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
NullAction - implements a dragging event which is not happening
DESCRIPTION
This class represents a "no-drag" event
DERIVED FROM
DragAction
METHODS
on_motion_notify
PanAction
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
PanAction - implements a pnning event
DESCRIPTION
This class represents a panning event when dragging the graph with the mouse
DERIVED FROM
DragAction
METHODS
start drag stop
ZoomAction
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
ZoomAction - implements a zooming event
DESCRIPTION
This class represents a zooming event in and out of tha graph
DERIVED FROM
DragAction
METHODS
drag stop
ZoomAreaAction
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
ZoomAreaAction - implements a zzoming event into an area
DESCRIPTION
This class represents a zooming event when holding the shift key and dragging across the graph. The widget will zoom into the marked rectangle
DERIVED FROM
DragAction
METHODS
drag draw stop abort
ZoomToAnimation
[ Top ] [ TEMANEJO_GRAPHWIDGET ] [ Classes ]
NAME
ZoomToAnimation - Class for a zoom event.
DESCRIPTION
This class implenents a zoom event.
DERIVED FROM
MoveToAnimation
METHODS
__init__ animate