27 #include <QGraphicsView>
29 #include <QGraphicsObject>
76 Qt::KeyboardModifiers _modifiers;
77 double _zoom_factor_base;
78 QPointF target_scene_pos, target_viewport_pos;
79 bool eventFilter(QObject*
object, QEvent* event)
override;
90 explicit ItemZoomer(QGraphicsView* view,
const QGraphicsItem* item,
int time, QGraphicsItem* parent = 0);
93 void setHeight(
int height);
94 void setWidth(
int width);
95 void setTimeLineBRFinished();
96 void setTimeLineLTFinished();
101 QGraphicsView* mView;
102 const QGraphicsItem* mItem;
105 bool brFinished, ltFinished;
106 QPointF curLT, curBR;
115 void paint(QPainter* painter,
const QStyleOptionGraphicsItem*
option, QWidget* widget)
override;