The SortTerminalStripCommand class An undo command use to sort the terminals element who compose a terminal strip.
More...
#include <sortterminalstripcommand.h>
Inherits QUndoCommand.
The SortTerminalStripCommand class An undo command use to sort the terminals element who compose a terminal strip.
◆ SortTerminalStripCommand()
SortTerminalStripCommand::SortTerminalStripCommand |
( |
TerminalStrip * |
strip, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ redo()
void SortTerminalStripCommand::redo |
( |
| ) |
|
|
override |
◆ sort()
void SortTerminalStripCommand::sort |
( |
| ) |
|
|
private |
◆ undo()
void SortTerminalStripCommand::undo |
( |
| ) |
|
|
override |
◆ m_new_order
QVector<QSharedPointer<PhysicalTerminal> > SortTerminalStripCommand::m_new_order |
|
private |
◆ m_old_order
QVector<QSharedPointer<PhysicalTerminal> > SortTerminalStripCommand::m_old_order |
|
private |
◆ m_strip
The documentation for this class was generated from the following files: