SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::pattern::SwapPatternFactorsCommand Class Reference

Swap two slots. Used by the chart view's horizontal-reorder drag. More...

#include <patternundocommands.h>

Inheritance diagram for openswmmvis::pattern::SwapPatternFactorsCommand:
Collaboration diagram for openswmmvis::pattern::SwapPatternFactorsCommand:

Public Member Functions

 SwapPatternFactorsCommand (PatternProvider *provider, int i, int j, QString description, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Detailed Description

Swap two slots. Used by the chart view's horizontal-reorder drag.

Constructor & Destructor Documentation

◆ SwapPatternFactorsCommand()

openswmmvis::pattern::SwapPatternFactorsCommand::SwapPatternFactorsCommand ( PatternProvider provider,
int  i,
int  j,
QString  description,
QUndoCommand *  parent = nullptr 
)

Member Function Documentation

◆ redo()

void openswmmvis::pattern::SwapPatternFactorsCommand::redo ( )
override
Here is the call graph for this function:

◆ undo()

void openswmmvis::pattern::SwapPatternFactorsCommand::undo ( )
override
Here is the call graph for this function:

The documentation for this class was generated from the following files: