Engauge Digitizer 2
Loading...
Searching...
No Matches
CallbackSceneUpdateAfterCommand.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef CALLBACK_SCENE_UPDATE_AFTER_COMMAND_H
8#define CALLBACK_SCENE_UPDATE_AFTER_COMMAND_H
9
11#include "PointStyle.h"
12
13class Document;
14class GeometryWindow;
16class GraphicsScene;
17class Point;
18
21{
22public:
25 GraphicsScene &scene,
26 const Document &document,
27 GeometryWindow *geometryWindow);
28
30 CallbackSearchReturn callback (const QString & /* curveName */,
31 const Point &point);
32
33private:
35
36 GraphicsLinesForCurves &m_graphicsLinesForCurves;
37 GraphicsScene &m_scene;
38 const Document &m_document;
39 GeometryWindow *m_geometryWindow;
40};
41
42#endif // CALLBACK_SCENE_UPDATE_AFTER_COMMAND_H
CallbackSearchReturn
Return values for search callback methods.
CallbackSceneUpdateAfterCommand(GraphicsLinesForCurves &graphicsLinesForCurves, GraphicsScene &scene, const Document &document, GeometryWindow *geometryWindow)
Single constructor.
CallbackSearchReturn callback(const QString &, const Point &point)
Callback method.
Storage of one imported image and the data attached to that image.
Definition Document.h:44
Window that displays the geometry information, as a table, for the current curve.
This class stores the GraphicsLinesForCurves objects, one per Curve.
Add point and line handling to generic QGraphicsScene.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition Point.h:26