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
patternundocommands.h File Reference

QUndoCommand subclasses for graphical edits on a PatternProvider. More...

#include "pattern/patternprovider.h"
#include <QString>
#include <QUndoCommand>
#include <QVector>
Include dependency graph for patternundocommands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::pattern::BulkSetPatternFactorsCommand
 Set one or more factor values atomically. indices and the pre/post value vectors must be the same length. More...
 
class  openswmmvis::pattern::SwapPatternFactorsCommand
 Swap two slots. Used by the chart view's horizontal-reorder drag. More...
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::pattern
 

Detailed Description

QUndoCommand subclasses for graphical edits on a PatternProvider.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Scope (per user direction): undo coverage is intentionally limited to the graphical edits driven from PatternEditChartView (vertical drag for factor edit, horizontal drag for slot reorder). Table-cell edits and the Normalize action continue to mutate the provider directly — matching the existing pattern-editor behaviour.