The RemoveTerminalFromStripCommand class Remove a terminal from a terminal strip. The removed terminal become free.
More...
#include <addterminaltostripcommand.h>
Inherits QUndoCommand.
The RemoveTerminalFromStripCommand class Remove a terminal from a terminal strip. The removed terminal become free.
◆ RemoveTerminalFromStripCommand() [1/2]
RemoveTerminalFromStripCommand::RemoveTerminalFromStripCommand |
( |
QSharedPointer< PhysicalTerminal > |
terminal, |
|
|
TerminalStrip * |
strip, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ RemoveTerminalFromStripCommand() [2/2]
RemoveTerminalFromStripCommand::RemoveTerminalFromStripCommand |
( |
const QVector< QSharedPointer< PhysicalTerminal > > & |
phy_t_vector, |
|
|
TerminalStrip * |
strip, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ ~RemoveTerminalFromStripCommand()
RemoveTerminalFromStripCommand::~RemoveTerminalFromStripCommand |
( |
| ) |
|
|
inlineoverride |
◆ redo()
void RemoveTerminalFromStripCommand::redo |
( |
| ) |
|
|
override |
◆ setCommandTitle()
void RemoveTerminalFromStripCommand::setCommandTitle |
( |
| ) |
|
|
private |
◆ undo()
void RemoveTerminalFromStripCommand::undo |
( |
| ) |
|
|
override |
◆ m_strip
◆ m_terminals
QVector<QVector<QSharedPointer<RealTerminal> > > RemoveTerminalFromStripCommand::m_terminals |
|
private |
The documentation for this class was generated from the following files: