The DeletePartsCommand class Class used to remove part from an element scene.
More...
#include <deletepartscommand.h>
The DeletePartsCommand class Class used to remove part from an element scene.
◆ DeletePartsCommand() [1/2]
DeletePartsCommand::DeletePartsCommand |
( |
QPointer< ElementScene > |
scene, |
|
|
const QVector< QGraphicsItem * > & |
parts, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ ~DeletePartsCommand()
DeletePartsCommand::~DeletePartsCommand |
( |
| ) |
|
|
override |
◆ DeletePartsCommand() [2/2]
◆ redo()
void DeletePartsCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
void DeletePartsCommand::undo |
( |
| ) |
|
|
override |
◆ m_parts
QVector<QGraphicsItem *> DeletePartsCommand::m_parts |
|
private |
◆ m_scene
The documentation for this class was generated from the following files: