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

The ResetConductorCommand class This command resets conductor paths. More...

#include <diagramcommands.h>

Inherits QUndoCommand.

Collaboration diagram for ResetConductorCommand:
Collaboration graph

Public Member Functions

 ResetConductorCommand (const QHash< Conductor *, ConductorProfilesGroup > &, QUndoCommand *=nullptr)
 ResetConductorCommand::ResetConductorCommand.
 
 ~ResetConductorCommand () override
 ResetConductorCommand::~ResetConductorCommand.
 
void undo () override
 ResetConductorCommand::undo.
 
void redo () override
 ResetConductorCommand::redo.
 

Private Member Functions

 ResetConductorCommand (const ResetConductorCommand &)
 

Private Attributes

QHash< Conductor *, ConductorProfilesGroupconductors_profiles
 impacted conductors along with their former profiles
 
Diagramdiagram
 

Detailed Description

The ResetConductorCommand class This command resets conductor paths.

Constructor & Destructor Documentation

◆ ResetConductorCommand() [1/2]

ResetConductorCommand::ResetConductorCommand ( const QHash< Conductor *, ConductorProfilesGroup > &  cp,
QUndoCommand *  parent = nullptr 
)

ResetConductorCommand::ResetConductorCommand.

Parameters
cp
parent
Here is the call graph for this function:

◆ ~ResetConductorCommand()

ResetConductorCommand::~ResetConductorCommand ( )
override

◆ ResetConductorCommand() [2/2]

ResetConductorCommand::ResetConductorCommand ( const ResetConductorCommand )
private

Member Function Documentation

◆ redo()

void ResetConductorCommand::redo ( )
override

◆ undo()

void ResetConductorCommand::undo ( )
override

Member Data Documentation

◆ conductors_profiles

QHash<Conductor *, ConductorProfilesGroup> ResetConductorCommand::conductors_profiles
private

impacted conductors along with their former profiles

◆ diagram

Diagram* ResetConductorCommand::diagram
private

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