/** @brief Makes the background frame fit again after the profile changed (and therefore the resolution might have changed). */
void resetProfile();
+
+ /** @brief Reset scene size. */
+ void cleanup();
+
+ /** @brief Center view on frame border. */
+ void centerView();
protected:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
QImage m_backgroundImage;
bool m_enabled;
qreal m_zoom;
+ bool m_groupMove;
+ QPointF m_lastPos;
signals:
void zoomChanged(int);