QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
CutDiagramCommand Class Reference

The CutDiagramCommand class This command cuts content from a particular diagram. More...

#include <diagramcommands.h>

Inheritance diagram for CutDiagramCommand:
Inheritance graph
Collaboration diagram for CutDiagramCommand:
Collaboration graph

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 &)
 

Detailed Description

The CutDiagramCommand class This command cuts content from a particular diagram.

Constructor & Destructor Documentation

◆ CutDiagramCommand() [1/2]

CutDiagramCommand::CutDiagramCommand ( Diagram dia,
const DiagramContent content,
QUndoCommand *  parent = nullptr 
)

CutDiagramCommand::CutDiagramCommand Constructeur.

Parameters
diaSchema dont on coupe des elements et conducteurs
contentContenu coupe
parentQUndoCommand parent
Here is the call graph for this function:

◆ ~CutDiagramCommand()

CutDiagramCommand::~CutDiagramCommand ( )
override

◆ CutDiagramCommand() [2/2]

CutDiagramCommand::CutDiagramCommand ( const CutDiagramCommand )
private

The documentation for this class was generated from the following files: