Go to the documentation of this file.
10 #include <QGraphicsView>
16 class QGraphicsPixmapItem;
40 virtual void dropEvent (QDropEvent *event);
98 bool handleDropEvent (
const QString &possibleDigFileName,
100 const QUrl &urlFirst,
102 const QImage &image);
103 QStringList pointIdentifiersFromSelection (
const QList<QGraphicsItem*> &items)
const;
104 bool inBounds (
const QPointF &posScreen);
108 #endif // GRAPHICSVIEW_H
virtual void mouseReleaseEvent(QMouseEvent *event)
Intercept mouse release events to move one or more Points.
virtual void mouseMoveEvent(QMouseEvent *event)
Intercept mouse move events to populate the current cursor position in StatusBar.
virtual void mousePressEvent(QMouseEvent *event)
Intercept mouse press events to create one or more Points.
void signalMousePress(QPointF)
Send mouse press to MainWindow for creating one or more Points.
void signalKeyPress(Qt::Key, bool atLeastOneSelectedItem)
Send keypress to MainWindow for eventual processing by DigitizeStateAbstractBase subclasses.
void signalContextMenuEventGraph(QStringList pointIdentifiers)
Send right click on graph point(s) to MainWindow for editing.
void signalDraggedDigFile(QString)
Send dragged dig file to MainWindow for import. This comes from dragging an engauge dig file.
void slotDropRegression(QString)
Receive drag and drop regression test url.
void signalContextMenuEventAxis(QString pointIdentifier)
Send right click on axis point to MainWindow for editing.
void signalViewZoomIn()
Send wheel event to MainWindow for zooming in.
void signalViewZoomOut()
Send wheel event to MainWindow for zooming out.
virtual void keyPressEvent(QKeyEvent *event)
Intercept key press events to handle left/right/up/down moving.
void signalDraggedImageUrl(QUrl)
Send dragged url to MainWindow for import. This typically comes from dragging an image from a browser...
QGraphicsView class with event handling added. Typically the events are sent to the active digitizing...
void signalMouseMove(QPointF)
Send mouse move to MainWindow for eventual display of cursor coordinates in StatusBar.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
void signalMouseRelease(QPointF)
Send mouse release to MainWindow for moving Points.
virtual void wheelEvent(QWheelEvent *event)
Convert wheel events into zoom in/out.
void signalDraggedImage(QImage)
Send dragged image to MainWindow for import. This typically comes from dragging a file.
virtual void dragMoveEvent(QDragMoveEvent *event)
Intercept mouse move event to support drag-and-drop.
virtual void dropEvent(QDropEvent *event)
Intercept mouse drop event to support drag-and-drop. This initiates asynchronous loading of the dragg...
virtual void contextMenuEvent(QContextMenuEvent *event)
Intercept context event to support point editing.
virtual void dragEnterEvent(QDragEnterEvent *event)
Intercept mouse drag event to support drag-and-drop.