Engauge Digitizer 2
Loading...
Searching...
No Matches
CmdPointChangeBase.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 CMD_POINT_CHANGE_BASE_H
8#define CMD_POINT_CHANGE_BASE_H
9
10#include "CmdAbstract.h"
11
12class Curve;
13class CurvesGraphs;
14class Document;
15
23{
24public:
28 const QString &cmdDescription);
29
30 virtual ~CmdPointChangeBase();
31
32protected:
33
36
39
40private:
42
43 Curve *m_curveAxes;
44 CurvesGraphs *m_curvesGraphs;
45};
46
47#endif // CMD_POINT_CHANGE_BASE_H
Document & document()
Return the Document that this command will modify during redo and undo.
MainWindow & mainWindow()
Return the MainWindow so it can be updated by this command as a last step.
CmdAbstract(MainWindow &mainWindow, Document &document, const QString &cmdDescription)
Single constructor.
void saveDocumentState(const Document &document)
Save the document state for restoration by restoreDocumentState.
void restoreDocumentState(Document &document) const
Restore the document previously saved by saveDocumentState.
CmdPointChangeBase(MainWindow &mainWindow, Document &document, const QString &cmdDescription)
Single constructor.
Container for one set of digitized Points.
Definition Curve.h:34
Container for all graph curves. The axes point curve is external to this class.
Storage of one imported image and the data attached to that image.
Definition Document.h:44
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition MainWindow.h:95