Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
CmdEditPointAxis Class Reference

Command for editing the graph coordinates one axis point. More...

#include <CmdEditPointAxis.h>

Inheritance diagram for CmdEditPointAxis:
CmdAbstract

Public Member Functions

 CmdEditPointAxis (MainWindow &mainWindow, Document &document, const QString &pointIdentifier, const QPointF &posGraphBefore, const QPointF &posGraphAfter)
 Constructor for normal creation.
 
 CmdEditPointAxis (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.
 

Detailed Description

Command for editing the graph coordinates one axis point.

The screen coordinates are handled by another command

Definition at line 11 of file CmdEditPointAxis.h.


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