18#ifndef ADDTERMINALTOSTRIPCOMMAND_H
19#define ADDTERMINALTOSTRIPCOMMAND_H
21#include <QUndoCommand>
87 const QVector<QSharedPointer<PhysicalTerminal>>
m_terminal;
The AddTerminalToStripCommand class Add a terminal element to a terminal strip Two cases are handled ...
Definition addterminaltostripcommand.h:38
~AddTerminalToStripCommand() override
Definition addterminaltostripcommand.cpp:64
void undo() override
AddTerminalToStripCommand::undo Reimplemented from QUndoCommand.
Definition addterminaltostripcommand.cpp:71
QPointer< TerminalStrip > m_new_strip
Definition addterminaltostripcommand.h:49
QVector< QSharedPointer< RealTerminal > > m_terminal
Definition addterminaltostripcommand.h:48
void redo() override
AddTerminalToStripCommand::redo Reimplemented from QUndoCommand.
Definition addterminaltostripcommand.cpp:82
Definition addterminaltostripcommand.h:76
QPointer< TerminalStrip > m_new_strip
Definition addterminaltostripcommand.h:88
void redo() override
Definition addterminaltostripcommand.cpp:217
QPointer< TerminalStrip > m_old_strip
Definition addterminaltostripcommand.h:88
void undo() override
Definition addterminaltostripcommand.cpp:207
const QVector< QSharedPointer< PhysicalTerminal > > m_terminal
Definition addterminaltostripcommand.h:87
The PhysicalTerminal class Represent a physical terminal. A physical terminal is composed a least by ...
Definition physicalterminal.h:62
The RealTerminal class Represent a real terminal. A real terminal can be a drawn terminal in a folio ...
Definition realterminal.h:43
The RemoveTerminalFromStripCommand class Remove a terminal from a terminal strip. The removed termina...
Definition addterminaltostripcommand.h:58
void undo() override
Definition addterminaltostripcommand.cpp:117
QPointer< TerminalStrip > m_strip
Definition addterminaltostripcommand.h:72
void redo() override
Definition addterminaltostripcommand.cpp:124
~RemoveTerminalFromStripCommand() override
Definition addterminaltostripcommand.h:62
QVector< QVector< QSharedPointer< RealTerminal > > > m_terminals
Definition addterminaltostripcommand.h:71
void setCommandTitle()
Definition addterminaltostripcommand.cpp:137
The TerminalElement class.
Definition terminalelement.h:31
The TerminalStrip class This class hold all the datas and configurations of a terminal strip (but the...
Definition terminalstrip.h:45