Developer Documentation
|
#include <Plugin-VSI/scene/sceneTools.hh>
Public Member Functions | |
SceneTools (GraphicsScene *_scene) | |
Constructor. | |
~SceneTools () | |
Destructor. | |
void | mouseMove (QPointF _pos) |
Handles mouse movement (will be called by the scene, if the mouse with a draged element is moved) | |
void | mouseRelease (QPointF _pos, QGraphicsItem *_item) |
Handles mouse release (will be called by the scene, if the element is dropped) | |
Private Slots | |
void | sceneRectChanged (const QRectF &_rect) |
void | updateArrows () |
Private Attributes | |
GraphicsScene * | scene_ |
Arrow * | arrows_ [5] |
Trash * | trash_ |
ZoomButton * | zoom_ [2] |
FunctionDisplay * | fDisplay_ |
Widget that acts as parent for the scene manipulation widgets (Arrows, ZoomButtons, Trash, ...) It layouts itself (and also its childs) to the visible scene rectangle. It also forwards events from the scene to its child widgets
Definition at line 67 of file sceneTools.hh.