QElectroTech 0.100.0-dev
|
#include <editorcommands.h>
Public Member Functions | |
CutPartsCommand (ElementScene *, const QList< QGraphicsItem * > &, QUndoCommand *=nullptr) | |
~CutPartsCommand () override | |
Destructeur. | |
Public Member Functions inherited from DeletePartsCommand | |
DeletePartsCommand (QPointer< ElementScene > scene, const QVector< QGraphicsItem * > &parts, QUndoCommand *parent=nullptr) | |
DeletePartsCommand::DeletePartsCommand. | |
~DeletePartsCommand () override | |
DeletePartsCommand::~DeletePartsCommand. | |
void | undo () override |
DeletePartsCommand::undo. | |
void | redo () override |
DeletePartsCommand::redo. | |
Private Member Functions | |
CutPartsCommand (const CutPartsCommand &) | |
This command cut primitives when editing an electrical element.
CutPartsCommand::CutPartsCommand | ( | ElementScene * | scene, |
const QList< QGraphicsItem * > & | parts, | ||
QUndoCommand * | parent = nullptr |
||
) |
Constructeur
scene | ElementScene concernee |
parts | Liste des parties coupees |
parent | QUndoCommand parent |
|
override |
Destructeur.
|
private |