|
Developer Documentation
|
Scene movement widget. More...
#include <Plugin-VSI/scene/arrow.hh>
Public Types | |
| enum | Direction { North, South, East, West, Center } |
| Movement direction. | |
Public Member Functions | |
| Arrow (GraphicsScene *_scene, QGraphicsItem *_parent, Direction _dir) | |
| Constructor. | |
| ~Arrow () | |
| Destructor. | |
| void | activate () |
| Activates the timer for movement (will be called if an element is moved above) | |
| void | reset () |
| Stop the timer. | |
| void | setHighlight (bool _highlight) |
| Highlights the widget if the scene can be moved in this direction. | |
| virtual void | setGeometry (const QRectF &_rect) |
| Sets the geometry. | |
Private Slots | |
| void | timeout () |
Private Attributes | |
| GraphicsScene * | scene_ |
| Direction | dir_ |
| QTimer | timer_ |
| int | interval_ |
| bool | moveSelected_ |
| bool | highlight_ |