Seamly2D
Code documentation
RemoveGroupItem Class Reference

#include <remove_groupitem.h>

Inheritance diagram for RemoveGroupItem:
Collaboration diagram for RemoveGroupItem:

Signals

void updateGroups ()
 
- Signals inherited from VUndoCommand
void ClearScene ()
 
void NeedFullParsing ()
 
void NeedLiteParsing (const Document &parse)
 

Public Member Functions

 RemoveGroupItem (const QDomElement &xml, VAbstractPattern *doc, quint32 groupId, QUndoCommand *parent=nullptr)
 
virtual ~RemoveGroupItem ()
 
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
 

Private Attributes

const QString m_activeDrawName
 

Additional Inherited Members

- Protected Member Functions inherited from VUndoCommand
virtual void RedoFullParsing ()
 
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
 
- Protected Attributes inherited from VUndoCommand
QDomElement xml
 
VAbstractPatterndoc
 
quint32 nodeId
 
bool redoFlag
 

Detailed Description

Definition at line 37 of file remove_groupitem.h.

Constructor & Destructor Documentation

◆ RemoveGroupItem()

RemoveGroupItem::RemoveGroupItem ( const QDomElement &  xml,
VAbstractPattern doc,
quint32  groupId,
QUndoCommand *  parent = nullptr 
)

Definition at line 40 of file remove_groupitem.cpp.

References VUndoCommand::nodeId.

◆ ~RemoveGroupItem()

RemoveGroupItem::~RemoveGroupItem ( )
virtual

Definition at line 49 of file remove_groupitem.cpp.

Member Function Documentation

◆ redo()

◆ undo()

◆ updateGroups

void RemoveGroupItem::updateGroups ( )
signal

Member Data Documentation

◆ m_activeDrawName

const QString RemoveGroupItem::m_activeDrawName
private

Definition at line 51 of file remove_groupitem.h.

Referenced by redo(), and undo().


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