Engauge Digitizer
2
Toggle main menu visibility
Loading...
Searching...
No Matches
Cmd
CmdFactory.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_FACTORY_H
8
#define CMD_FACTORY_H
9
10
class
CmdAbstract
;
11
class
Document
;
12
class
MainWindow
;
13
class
QXmlStreamReader;
14
16
class
CmdFactory
17
{
18
public
:
20
CmdFactory
();
21
23
CmdAbstract
*
createCmd
(
MainWindow
&mainWindow,
24
Document
&document,
25
QXmlStreamReader &reader);
26
27
};
28
29
#endif
// CMD_FACTORY_H
CmdAbstract
Wrapper around QUndoCommand. This simplifies the more complicated feature set of QUndoCommand.
Definition
CmdAbstract.h:24
CmdFactory::createCmd
CmdAbstract * createCmd(MainWindow &mainWindow, Document &document, QXmlStreamReader &reader)
Factory method. Input is the xml node from an error report file.
Definition
CmdFactory.cpp:50
CmdFactory::CmdFactory
CmdFactory()
Single constructor.
Definition
CmdFactory.cpp:46
Document
Storage of one imported image and the data attached to that image.
Definition
Document.h:44
MainWindow
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition
MainWindow.h:95
Generated on
for Engauge Digitizer by
1.17.0