#include <addgroup.h>
Signals | |
void | updateGroups () |
Signals inherited from VUndoCommand | |
void | ClearScene () |
void | NeedFullParsing () |
void | NeedLiteParsing (const Document &parse) |
Public Member Functions | |
AddGroup (const QDomElement &xml, VAbstractPattern *doc, QUndoCommand *parent=nullptr) | |
virtual | ~AddGroup () |
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 | activeBlockName |
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 |
VAbstractPattern * | doc |
quint32 | nodeId |
bool | redoFlag |
Definition at line 64 of file addgroup.h.
AddGroup::AddGroup | ( | const QDomElement & | xml, |
VAbstractPattern * | doc, | ||
QUndoCommand * | parent = nullptr |
||
) |
Definition at line 65 of file addgroup.cpp.
References VUndoCommand::doc, VDomDocument::getParameterId(), VUndoCommand::nodeId, and VUndoCommand::xml.
|
virtual |
Definition at line 74 of file addgroup.cpp.
|
virtual |
Definition at line 123 of file addgroup.cpp.
References activeBlockName, VAbstractPattern::changeActiveDraftBlock(), VAbstractPattern::createGroups(), VUndoCommand::doc, VMainGraphicsView::NewSceneRect(), VAbstractPattern::parseGroups(), qApp, updateGroups(), and VUndoCommand::xml.
|
virtual |
Definition at line 79 of file addgroup.cpp.
References activeBlockName, VAbstractPattern::AttrVisible, VAbstractPattern::changeActiveDraftBlock(), VAbstractPattern::createGroups(), VUndoCommand::doc, VDomDocument::elementById(), VMainGraphicsView::NewSceneRect(), VUndoCommand::nodeId, VAbstractPattern::parseGroups(), qApp, VAbstractPattern::setCurrentDraftBlock(), VAbstractPattern::TagGroup, trueStr, and updateGroups().
|
signal |
Referenced by GroupsWidget::addGroupToList(), redo(), and undo().
|
private |
Definition at line 76 of file addgroup.h.