QElectroTech 0.100.0-dev
|
The CutDiagramCommand class This command cuts content from a particular diagram. More...
#include <diagramcommands.h>
Public Member Functions | |
CutDiagramCommand (Diagram *, const DiagramContent &, QUndoCommand *=nullptr) | |
CutDiagramCommand::CutDiagramCommand Constructeur. | |
~CutDiagramCommand () override | |
CutDiagramCommand::~CutDiagramCommand Destructeur. | |
Public Member Functions inherited from DeleteQGraphicsItemCommand | |
DeleteQGraphicsItemCommand (Diagram *diagram, const DiagramContent &content, QUndoCommand *parent=nullptr) | |
DeleteQGraphicsItemCommand::DeleteQGraphicsItemCommand. | |
~DeleteQGraphicsItemCommand () override | |
void | undo () override |
DeleteQGraphicsItemCommand::undo Undo this command. | |
void | redo () override |
DeleteQGraphicsItemCommand::redo Redo the delete command. | |
Private Member Functions | |
CutDiagramCommand (const CutDiagramCommand &) | |
The CutDiagramCommand class This command cuts content from a particular diagram.
CutDiagramCommand::CutDiagramCommand | ( | Diagram * | dia, |
const DiagramContent & | content, | ||
QUndoCommand * | parent = nullptr |
||
) |
CutDiagramCommand::CutDiagramCommand Constructeur.
dia | Schema dont on coupe des elements et conducteurs |
content | Contenu coupe |
parent | QUndoCommand parent |
|
override |
CutDiagramCommand::~CutDiagramCommand Destructeur.
|
private |