33#ifndef OPENSWMM_UI_DIALOGS_WATERAGESOURCESDIALOG_H
34#define OPENSWMM_UI_DIALOGS_WATERAGESOURCESDIALOG_H
36#include <openswmm/engine/openswmm_engine.h>
55 QWidget *
parent =
nullptr);
69 void onRemoveOverride();
74 void readFromEngine();
78 QTableWidget *m_globalTable =
nullptr;
79 QTableWidget *m_overrideTable =
nullptr;
80 QLabel *m_hintLabel =
nullptr;
81 bool m_wroteAnyChanges =
false;
82 int m_lastWriteCount = 0;
Non-modal editor for the water-age source table.
Definition wateragesourcesdialog.h:50
~WaterAgeSourcesDialog() override=default
int lastWriteCount() const
Number of engine writes the last OK performed (0 when the dialog was accepted with no edits)....
Definition wateragesourcesdialog.h:65
bool wroteAnyChanges() const
True once OK has written at least one change to the engine.
Definition wateragesourcesdialog.h:61
Definition gwsourcesummary.h:21
void * SWMM_Engine
Definition objectdefaultsapplier.h:19
QVector< int > parent
union-find
Definition pslgminsize.cpp:176