Developer Documentation
|
Scene zoom in/out widget. More...
#include <Plugin-VSI/scene/zoomButton.hh>
Public Types | |
enum | Type { In, Out } |
Zoom type. | |
Public Member Functions | |
ZoomButton (GraphicsScene *_scene, QGraphicsItem *_parent, Type _type) | |
Constructor. | |
~ZoomButton () | |
Destructor. | |
void | activate (QPointF _pos) |
Activates the timer for zoom with center at _pos (will be called if an element is moved above) | |
void | deactivate () |
Stop the timer. | |
virtual void | setGeometry (const QRectF &_rect) |
Sets the geometry. | |
Private Slots | |
void | timeout () |
Private Attributes | |
GraphicsScene * | scene_ |
Type | type_ |
QTimer | timer_ |
QPointF | pos_ |
Scene zoom in/out widget.
Definition at line 66 of file zoomButton.hh.