QElectroTech  0.70
Public Member Functions | Private Member Functions | List of all members
CutDiagramCommand Class Reference

#include <diagramcommands.h>

Public Member Functions

 CutDiagramCommand (Diagram *, const DiagramContent &, QUndoCommand *=nullptr)
 
 ~CutDiagramCommand () override
 Destructeur. More...
 
- Public Member Functions inherited from DeleteQGraphicsItemCommand
 DeleteQGraphicsItemCommand (Diagram *diagram, const DiagramContent &content, QUndoCommand *parent=nullptr)
 DeleteQGraphicsItemCommand::DeleteQGraphicsItemCommand. More...
 
 ~DeleteQGraphicsItemCommand () override
 
void undo () override
 DeleteQGraphicsItemCommand::undo Undo this command. More...
 
void redo () override
 DeleteQGraphicsItemCommand::redo Redo the delete command. More...
 

Private Member Functions

 CutDiagramCommand (const CutDiagramCommand &)
 

Detailed Description

This command cuts content from a particular diagram.

Definition at line 113 of file diagramcommands.h.

Constructor & Destructor Documentation

◆ CutDiagramCommand() [1/2]

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

Constructeur

Parameters
diaSchema dont on coupe des elements et conducteurs
contentContenu coupe
parentQUndoCommand parent

Definition at line 143 of file diagramcommands.cpp.

References DiagramContent::All, DiagramContent::sentence(), and QET::Icons::tr.

◆ ~CutDiagramCommand()

CutDiagramCommand::~CutDiagramCommand ( )
override

Destructeur.

Definition at line 161 of file diagramcommands.cpp.

◆ CutDiagramCommand() [2/2]

CutDiagramCommand::CutDiagramCommand ( const CutDiagramCommand )
private

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