Engauge Digitizer
2
Main Page
Classes
Files
File List
File Members
Cmd
CmdSettingsPointMatch.h
1
#ifndef CMD_SETTINGS_POINT_MATCH_H
2
#define CMD_SETTINGS_POINT_MATCH_H
3
4
#include "CmdAbstract.h"
5
#include "DocumentModelPointMatch.h"
6
7
class
QXmlStreamReader;
8
10
class
CmdSettingsPointMatch
:
public
CmdAbstract
11
{
12
public
:
14
CmdSettingsPointMatch
(
MainWindow
&
mainWindow
,
15
Document
&
document
,
16
const
DocumentModelPointMatch
&modelPointMatchBefore,
17
const
DocumentModelPointMatch
&modelPointMatchAfter);
18
20
CmdSettingsPointMatch
(
MainWindow
&mainWindow,
21
Document
&document,
22
const
QString &cmdDescription,
23
QXmlStreamReader &reader);
24
25
virtual
~
CmdSettingsPointMatch
();
26
27
virtual
void
cmdRedo
();
28
virtual
void
cmdUndo
();
29
virtual
void
saveXml
(QXmlStreamWriter &writer)
const
;
30
31
private
:
32
CmdSettingsPointMatch
();
33
34
DocumentModelPointMatch
m_modelPointMatchBefore;
35
DocumentModelPointMatch
m_modelPointMatchAfter;
36
};
37
38
#endif // CMD_SETTINGS_POINT_MATCH_H
DocumentModelPointMatch
Model for DlgSettingsPointMatch and CmdSettingsPointMatch.
Definition:
DocumentModelPointMatch.h:11
CmdSettingsPointMatch::saveXml
virtual void saveXml(QXmlStreamWriter &writer) const
Save commands as xml for later uploading.
Definition:
CmdSettingsPointMatch.cpp:57
CmdAbstract
Wrapper around QUndoCommand. This simplifies the more complicated feature set of QUndoCommand.
Definition:
CmdAbstract.h:11
CmdSettingsPointMatch
Command for DlgSettingsPointMatch.
Definition:
CmdSettingsPointMatch.h:10
CmdSettingsPointMatch::cmdUndo
virtual void cmdUndo()
Undo method that is called when QUndoStack is moved one command backward.
Definition:
CmdSettingsPointMatch.cpp:49
CmdAbstract::mainWindow
MainWindow & mainWindow()
Return the MainWindow so it can be updated by this command as a last step.
Definition:
CmdAbstract.cpp:32
Document
Storage of one imported image and the data attached to that image.
Definition:
Document.h:29
CmdSettingsPointMatch::cmdRedo
virtual void cmdRedo()
Redo method that is called when QUndoStack is moved one command forward.
Definition:
CmdSettingsPointMatch.cpp:41
CmdAbstract::document
Document & document()
Return the Document that this command will modify during redo and undo.
Definition:
CmdAbstract.cpp:22
MainWindow
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition:
MainWindow.h:66
Generated on Sat Feb 6 2016 03:59:15 for Engauge Digitizer by
1.8.10