Developer Documentation
|
#include <Plugin-VSI/scene/sceneTools.hh>
Public Member Functions | |
SceneTools (GraphicsScene *_scene) | |
Constructor. More... | |
~SceneTools () | |
Destructor. More... | |
void | mouseMove (QPointF _pos) |
Handles mouse movement (will be called by the scene, if the mouse with a draged element is moved) More... | |
void | mouseRelease (QPointF _pos, QGraphicsItem *_item) |
Handles mouse release (will be called by the scene, if the element is dropped) More... | |
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.
|
explicit |
Constructor.
Definition at line 70 of file sceneTools.cc.
VSI::SceneTools::~SceneTools | ( | ) |
Destructor.
Definition at line 118 of file sceneTools.cc.
void VSI::SceneTools::mouseMove | ( | QPointF | _pos | ) |
Handles mouse movement (will be called by the scene, if the mouse with a draged element is moved)
Definition at line 170 of file sceneTools.cc.
void VSI::SceneTools::mouseRelease | ( | QPointF | _pos, |
QGraphicsItem * | _item | ||
) |
Handles mouse release (will be called by the scene, if the element is dropped)
Definition at line 197 of file sceneTools.cc.
|
privateslot |
Definition at line 125 of file sceneTools.cc.
|
privateslot |
Definition at line 136 of file sceneTools.cc.
|
private |
Definition at line 96 of file sceneTools.hh.
|
private |
Definition at line 100 of file sceneTools.hh.
|
private |
Definition at line 94 of file sceneTools.hh.
|
private |
Definition at line 97 of file sceneTools.hh.
|
private |
Definition at line 98 of file sceneTools.hh.