Scene zoom in/out widget.
More...
#include <Plugin-VSI/scene/zoomButton.hh>
|
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *_event) |
|
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *_event) |
|
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *_event) |
|
virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *_event) |
|
virtual void | wheelEvent (QGraphicsSceneWheelEvent *_event) |
|
virtual QSizeF | sizeHint (Qt::SizeHint _which, const QSizeF &_constraint=QSizeF()) const |
|
Scene zoom in/out widget.
Definition at line 60 of file zoomButton.hh.
◆ Type
◆ ZoomButton()
VSI::ZoomButton::ZoomButton |
( |
GraphicsScene * |
_scene, |
|
|
QGraphicsItem * |
_parent, |
|
|
Type |
_type |
|
) |
| |
◆ ~ZoomButton()
VSI::ZoomButton::~ZoomButton |
( |
| ) |
|
◆ activate()
void VSI::ZoomButton::activate |
( |
QPointF |
_pos | ) |
|
Activates the timer for zoom with center at _pos (will be called if an element is moved above)
Definition at line 180 of file zoomButton.cc.
◆ deactivate()
void VSI::ZoomButton::deactivate |
( |
| ) |
|
◆ hoverEnterEvent()
void VSI::ZoomButton::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
protectedvirtual |
◆ hoverLeaveEvent()
void VSI::ZoomButton::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
protectedvirtual |
◆ mousePressEvent()
void VSI::ZoomButton::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protectedvirtual |
◆ mouseReleaseEvent()
void VSI::ZoomButton::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protectedvirtual |
◆ setGeometry()
void VSI::ZoomButton::setGeometry |
( |
const QRectF & |
_rect | ) |
|
|
virtual |
◆ sizeHint()
QSizeF VSI::ZoomButton::sizeHint |
( |
Qt::SizeHint |
_which, |
|
|
const QSizeF & |
_constraint = QSizeF() |
|
) |
| const |
|
protectedvirtual |
◆ timeout
void VSI::ZoomButton::timeout |
( |
| ) |
|
|
privateslot |
◆ wheelEvent()
void VSI::ZoomButton::wheelEvent |
( |
QGraphicsSceneWheelEvent * |
_event | ) |
|
|
protectedvirtual |
◆ pos_
QPointF VSI::ZoomButton::pos_ |
|
private |
◆ scene_
◆ timer_
QTimer VSI::ZoomButton::timer_ |
|
private |
◆ type_
Type VSI::ZoomButton::type_ |
|
private |
The documentation for this class was generated from the following files: