Seamly2D
Code documentation
AddToCalc Class Reference

#include <addtocalc.h>

Inheritance diagram for AddToCalc:
Collaboration diagram for AddToCalc:

Public Member Functions

 AddToCalc (const QDomElement &xml, VAbstractPattern *doc, QUndoCommand *parent=nullptr)
 
virtual ~AddToCalc ()=default
 
virtual void undo () Q_DECL_OVERRIDE
 
virtual void redo () Q_DECL_OVERRIDE
 
- Public Member Functions inherited from VUndoCommand
 VUndoCommand (const QDomElement &xml, VAbstractPattern *doc, QUndoCommand *parent=nullptr)
 
virtual ~VUndoCommand ()=default
 

Protected Member Functions

virtual void RedoFullParsing () Q_DECL_OVERRIDE
 
- Protected Member Functions inherited from VUndoCommand
void UndoDeleteAfterSibling (QDomNode &parentNode, const quint32 &siblingId) const
 
void IncrementReferences (const QVector< quint32 > &nodes) const
 
void DecrementReferences (const QVector< quint32 > &nodes) const
 
void IncrementReferences (const QVector< CustomSARecord > &nodes) const
 
void DecrementReferences (const QVector< CustomSARecord > &nodes) const
 
void IncrementReferences (const QVector< VPieceNode > &nodes) const
 
void DecrementReferences (const QVector< VPieceNode > &nodes) const
 
QDomElement getDestinationObject (quint32 idTool, quint32 idPoint) const
 

Private Attributes

const QString activeBlockName
 
quint32 cursor
 

Additional Inherited Members

- Signals inherited from VUndoCommand
void ClearScene ()
 
void NeedFullParsing ()
 
void NeedLiteParsing (const Document &parse)
 
- Protected Attributes inherited from VUndoCommand
QDomElement xml
 
VAbstractPatterndoc
 
quint32 nodeId
 
bool redoFlag
 

Detailed Description

Definition at line 64 of file addtocalc.h.

Constructor & Destructor Documentation

◆ AddToCalc()

AddToCalc::AddToCalc ( const QDomElement &  xml,
VAbstractPattern doc,
QUndoCommand *  parent = nullptr 
)

◆ ~AddToCalc()

virtual AddToCalc::~AddToCalc ( )
virtualdefault

Member Function Documentation

◆ redo()

◆ RedoFullParsing()

void AddToCalc::RedoFullParsing ( )
protectedvirtual

◆ undo()

Member Data Documentation

◆ activeBlockName

const QString AddToCalc::activeBlockName
private

Definition at line 76 of file addtocalc.h.

Referenced by redo(), RedoFullParsing(), and undo().

◆ cursor

quint32 AddToCalc::cursor
private

Definition at line 77 of file addtocalc.h.

Referenced by redo().


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