4 #include <QGraphicsView>
31 #endif // VIEW_PREVIEW_H
void signalMouseMove(QPointF pos)
Forward the mouse move events.
virtual void mouseMoveEvent(QMouseEvent *event)
Intercept cursor move events and forward them.
Class that modifies QGraphicsView to automatically expand/shrink the view to fit the window...
virtual void resizeEvent(QResizeEvent *event)
Intercept resize events so we can rescale to the graphics items just fit into the resized window...