QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
CutPartsCommand Class Reference

#include <editorcommands.h>

Inheritance diagram for CutPartsCommand:
Inheritance graph
Collaboration diagram for CutPartsCommand:
Collaboration graph

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

Detailed Description

This command cut primitives when editing an electrical element.

Constructor & Destructor Documentation

◆ CutPartsCommand() [1/2]

CutPartsCommand::CutPartsCommand ( ElementScene * scene,
const QList< QGraphicsItem * > & parts,
QUndoCommand * parent = nullptr )

Constructeur

Parameters
sceneElementScene concernee
partsListe des parties coupees
parentQUndoCommand parent
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~CutPartsCommand()

CutPartsCommand::~CutPartsCommand ( )
override

Destructeur.

◆ CutPartsCommand() [2/2]

CutPartsCommand::CutPartsCommand ( const CutPartsCommand & )
private
Here is the call graph for this function:

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