Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CmdSettingsGeneral Class Reference

Command for DlgSettingsGeneral. More...

#include <CmdSettingsGeneral.h>

Inheritance diagram for CmdSettingsGeneral:
CmdAbstract

Public Member Functions

 CmdSettingsGeneral (MainWindow &mainWindow, Document &document, const DocumentModelGeneral &modelGeneralBefore, const DocumentModelGeneral &modelGeneralAfter)
 Constructor for normal creation.
 
 CmdSettingsGeneral (MainWindow &mainWindow, Document &document, const QString &cmdDescription, QXmlStreamReader &reader)
 Constructor for parsing error report file xml.
 
virtual void cmdRedo ()
 Redo method that is called when QUndoStack is moved one command forward.
 
virtual void cmdUndo ()
 Undo method that is called when QUndoStack is moved one command backward.
 
virtual void saveXml (QXmlStreamWriter &writer) const
 Save commands as xml for later uploading.
 
- Public Member Functions inherited from CmdAbstract
 CmdAbstract (MainWindow &mainWindow, Document &document, const QString &cmdDescription)
 Single constructor.
 

Additional Inherited Members

- Protected Member Functions inherited from CmdAbstract
Documentdocument ()
 Return the Document that this command will modify during redo and undo.
 
const Documentdocument () const
 Return a const copy of the Document for non redo/undo interaction.
 
MainWindowmainWindow ()
 Return the MainWindow so it can be updated by this command as a last step.
 
void resetSelection (const PointIdentifiers &pointIdentifiersToSelect)
 Since the set of selected points has probably changed, changed that set back to the specified set.
 

Detailed Description

Command for DlgSettingsGeneral.

Definition at line 16 of file CmdSettingsGeneral.h.

Constructor & Destructor Documentation

◆ CmdSettingsGeneral() [1/2]

CmdSettingsGeneral::CmdSettingsGeneral ( MainWindow mainWindow,
Document document,
const DocumentModelGeneral modelGeneralBefore,
const DocumentModelGeneral modelGeneralAfter 
)

Constructor for normal creation.

Definition at line 17 of file CmdSettingsGeneral.cpp.

◆ CmdSettingsGeneral() [2/2]

CmdSettingsGeneral::CmdSettingsGeneral ( MainWindow mainWindow,
Document document,
const QString &  cmdDescription,
QXmlStreamReader &  reader 
)

Constructor for parsing error report file xml.

Definition at line 30 of file CmdSettingsGeneral.cpp.

◆ ~CmdSettingsGeneral()

CmdSettingsGeneral::~CmdSettingsGeneral ( )
virtual

Definition at line 77 of file CmdSettingsGeneral.cpp.

Member Function Documentation

◆ cmdRedo()

void CmdSettingsGeneral::cmdRedo ( )
virtual

Redo method that is called when QUndoStack is moved one command forward.

Implements CmdAbstract.

Definition at line 81 of file CmdSettingsGeneral.cpp.

◆ cmdUndo()

void CmdSettingsGeneral::cmdUndo ( )
virtual

Undo method that is called when QUndoStack is moved one command backward.

Implements CmdAbstract.

Definition at line 89 of file CmdSettingsGeneral.cpp.

◆ saveXml()

void CmdSettingsGeneral::saveXml ( QXmlStreamWriter &  writer) const
virtual

Save commands as xml for later uploading.

Implements CmdAbstract.

Definition at line 97 of file CmdSettingsGeneral.cpp.


The documentation for this class was generated from the following files: