Engauge Digitizer
2
Toggle main menu visibility
Loading...
Searching...
No Matches
Callback
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
10
#include "
CallbackSearchReturn.h
"
11
#include "
PointStyle.h
"
12
13
class
Document
;
14
class
GeometryWindow
;
15
class
GraphicsLinesForCurves
;
16
class
GraphicsScene
;
17
class
Point
;
18
20
class
CallbackSceneUpdateAfterCommand
21
{
22
public
:
24
CallbackSceneUpdateAfterCommand
(
GraphicsLinesForCurves
&graphicsLinesForCurves,
25
GraphicsScene
&scene,
26
const
Document
&document,
27
GeometryWindow
*geometryWindow);
28
30
CallbackSearchReturn
callback
(
const
QString &
/* curveName */
,
31
const
Point
&point);
32
33
private
:
34
CallbackSceneUpdateAfterCommand
();
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.h
CallbackSearchReturn
CallbackSearchReturn
Return values for search callback methods.
Definition
CallbackSearchReturn.h:18
PointStyle.h
CallbackSceneUpdateAfterCommand::CallbackSceneUpdateAfterCommand
CallbackSceneUpdateAfterCommand(GraphicsLinesForCurves &graphicsLinesForCurves, GraphicsScene &scene, const Document &document, GeometryWindow *geometryWindow)
Single constructor.
Definition
CallbackSceneUpdateAfterCommand.cpp:17
CallbackSceneUpdateAfterCommand::callback
CallbackSearchReturn callback(const QString &, const Point &point)
Callback method.
Definition
CallbackSceneUpdateAfterCommand.cpp:28
Document
Storage of one imported image and the data attached to that image.
Definition
Document.h:44
GeometryWindow
Window that displays the geometry information, as a table, for the current curve.
Definition
GeometryWindow.h:29
GraphicsLinesForCurves
This class stores the GraphicsLinesForCurves objects, one per Curve.
Definition
GraphicsLinesForCurves.h:30
GraphicsScene
Add point and line handling to generic QGraphicsScene.
Definition
GraphicsScene.h:37
Point
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition
Point.h:26
Generated on
for Engauge Digitizer by
1.17.0