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::inlet::SetInletParamsCommand Class Reference

Whole-design snapshot write. The dialog captures the design before the property bag pushes its edit and passes both halves here, so one undo entry covers a multi-field group write. More...

#include <inletundocommands.h>

Inheritance diagram for openswmmvis::inlet::SetInletParamsCommand:
Collaboration diagram for openswmmvis::inlet::SetInletParamsCommand:

Public Member Functions

 SetInletParamsCommand (InletProvider *provider, InletDesignData before, InletDesignData after, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Detailed Description

Whole-design snapshot write. The dialog captures the design before the property bag pushes its edit and passes both halves here, so one undo entry covers a multi-field group write.

Constructor & Destructor Documentation

◆ SetInletParamsCommand()

openswmmvis::inlet::SetInletParamsCommand::SetInletParamsCommand ( InletProvider provider,
InletDesignData  before,
InletDesignData  after,
QUndoCommand *  parent = nullptr 
)

Member Function Documentation

◆ redo()

void openswmmvis::inlet::SetInletParamsCommand::redo ( )
override

◆ undo()

void openswmmvis::inlet::SetInletParamsCommand::undo ( )
override

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