Engauge Digitizer
2
|
Class that modifies QGraphicsView to automatically expand/shrink the view to fit the window, after resize events. More...
#include <ViewPreview.h>
Signals | |
void | signalMouseMove (QPointF pos) |
Forward the mouse move events. | |
Public Member Functions | |
ViewPreview (QGraphicsScene *scene, QWidget *parent=0) | |
Single constructor. | |
virtual void | mouseMoveEvent (QMouseEvent *event) |
Intercept cursor move events and forward them. | |
virtual void | resizeEvent (QResizeEvent *event) |
Intercept resize events so we can rescale to the graphics items just fit into the resized window. | |
Class that modifies QGraphicsView to automatically expand/shrink the view to fit the window, after resize events.
Definition at line 8 of file ViewPreview.h.