The AddTerminalToStripCommand class Add a terminal element to a terminal strip Two cases are handled : Add free terminal to strip, Move terminal from strip to another strip.
More...
#include <addterminaltostripcommand.h>
Inherits QUndoCommand.
The AddTerminalToStripCommand class Add a terminal element to a terminal strip Two cases are handled : Add free terminal to strip, Move terminal from strip to another strip.
◆ AddTerminalToStripCommand() [1/2]
AddTerminalToStripCommand::AddTerminalToStripCommand |
( |
QSharedPointer< RealTerminal > |
terminal, |
|
|
TerminalStrip * |
strip, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ AddTerminalToStripCommand() [2/2]
AddTerminalToStripCommand::AddTerminalToStripCommand |
( |
QVector< QSharedPointer< RealTerminal > > |
terminals, |
|
|
TerminalStrip * |
strip, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ ~AddTerminalToStripCommand()
AddTerminalToStripCommand::~AddTerminalToStripCommand |
( |
| ) |
|
|
override |
◆ redo()
void AddTerminalToStripCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
void AddTerminalToStripCommand::undo |
( |
| ) |
|
|
override |
◆ m_new_strip
◆ m_terminal
QVector<QSharedPointer<RealTerminal> > AddTerminalToStripCommand::m_terminal |
|
private |
The documentation for this class was generated from the following files: