Engauge Digitizer 2
Loading...
Searching...
No Matches
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
10class CmdAbstract;
11class Document;
12class MainWindow;
13class QXmlStreamReader;
14
17{
18public:
20 CmdFactory ();
21
23 CmdAbstract *createCmd (MainWindow &mainWindow,
24 Document &document,
25 QXmlStreamReader &reader);
26
27};
28
29#endif // CMD_FACTORY_H
Wrapper around QUndoCommand. This simplifies the more complicated feature set of QUndoCommand.
Definition CmdAbstract.h:24
CmdAbstract * createCmd(MainWindow &mainWindow, Document &document, QXmlStreamReader &reader)
Factory method. Input is the xml node from an error report file.
CmdFactory()
Single constructor.
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