18#ifndef DELETEPARTSCOMMAND_H
19#define DELETEPARTSCOMMAND_H
21#include <QUndoCommand>
35 DeletePartsCommand(QPointer<ElementScene> scene,
const QVector<QGraphicsItem *> &parts, QUndoCommand *parent =
nullptr);
QPointer< ElementScene > m_scene
Definition deletepartscommand.h:45
void undo() override
DeletePartsCommand::undo.
Definition deletepartscommand.cpp:51
QVector< QGraphicsItem * > m_parts
Definition deletepartscommand.h:46
DeletePartsCommand(const DeletePartsCommand &)
~DeletePartsCommand() override
DeletePartsCommand::~DeletePartsCommand.
Definition deletepartscommand.cpp:41
void redo() override
DeletePartsCommand::redo.
Definition deletepartscommand.cpp:61
DeletePartsCommand(QPointer< ElementScene > scene, const QVector< QGraphicsItem * > &parts, QUndoCommand *parent=nullptr)
DeletePartsCommand::DeletePartsCommand.
Definition deletepartscommand.cpp:27
The ElementScene class This class is the canvas allowing the visual edition of an electrical element....
Definition elementscene.h:46