Swap two slots. Used by the chart view's horizontal-reorder drag.
More...
#include <patternundocommands.h>
Swap two slots. Used by the chart view's horizontal-reorder drag.
◆ SwapPatternFactorsCommand()
| openswmmvis::pattern::SwapPatternFactorsCommand::SwapPatternFactorsCommand |
( |
PatternProvider * |
provider, |
|
|
int |
i, |
|
|
int |
j, |
|
|
QString |
description, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ redo()
| void openswmmvis::pattern::SwapPatternFactorsCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
| void openswmmvis::pattern::SwapPatternFactorsCommand::undo |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: