QElectroTech
0.70
|
#include <editorcommands.h>
Public Member Functions | |
CutPartsCommand (ElementScene *, const QList< QGraphicsItem *> &, QUndoCommand *=nullptr) | |
~CutPartsCommand () override | |
Destructeur. More... | |
Public Member Functions inherited from DeletePartsCommand | |
DeletePartsCommand (ElementScene *, const QList< QGraphicsItem *> &, QUndoCommand *=nullptr) | |
~DeletePartsCommand () override | |
Destructeur : detruit egalement les parties supprimees. More... | |
void | undo () override |
Restaure les parties supprimees. More... | |
void | redo () override |
Supprime les parties. More... | |
Public Member Functions inherited from ElementEditionCommand | |
ElementEditionCommand (ElementScene *=nullptr, ElementView *=nullptr, QUndoCommand *=nullptr) | |
ElementEditionCommand (const QString &, ElementScene *=nullptr, ElementView *=nullptr, QUndoCommand *=nullptr) | |
~ElementEditionCommand () override | |
ElementScene * | elementScene () const |
void | setElementScene (ElementScene *) |
ElementView * | elementView () const |
void | setElementView (ElementView *) |
Private Member Functions | |
CutPartsCommand (const CutPartsCommand &) | |
Additional Inherited Members | |
Protected Attributes inherited from ElementEditionCommand | |
ElementScene * | m_scene |
Element editor/view/scene the command should take place on. More... | |
ElementView * | m_view |
This command cut primitives when editing an electrical element.
Definition at line 113 of file editorcommands.h.
CutPartsCommand::CutPartsCommand | ( | ElementScene * | scene, |
const QList< QGraphicsItem *> & | parts, | ||
QUndoCommand * | parent = nullptr |
||
) |
Constructeur
scene | ElementScene concernee |
parts | Liste des parties coupees |
parent | QUndoCommand parent |
Definition at line 202 of file editorcommands.cpp.
References QET::Icons::tr.
|
override |
Destructeur.
Definition at line 213 of file editorcommands.cpp.
|
private |