![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <datespage.h>
Public Types | |
| enum | Tab { TabWindow = 0 , TabSteps , TabEvents } |
| Tab order, so the dialog can name tabs without magic numbers. More... | |
Signals | |
| void | scheduleChanged () |
| Any of the three accessors above changed. | |
Signals inherited from openswmmvis::ui::SimOptionsPage | |
| void | gateInputsChanged () |
| Emit from any control that feeds a PageGate. | |
Public Member Functions | |
| DatesPage (SimOptionsContext &ctx, QWidget *parent=nullptr) | |
| QString | title () const override |
| Sidebar row text, already tr()'d. | |
| void | read () override |
| engine → widgets. Block signals while setting. | |
| int | write () override |
| widgets → engine via ctx_.writeIfChanged; returns the sum. | |
| bool | validate (QString *warn) override |
| Validation run before Apply/OK; false pops warn and stops. | |
| QTabWidget * | tabs () const |
| qint64 | wetStepSeconds () const |
| qint64 | reportStepSeconds () const |
| qint64 | durationSeconds () const |
| End − Start in seconds; 0 when the window is empty or inverted. | |
Public Member Functions inherited from openswmmvis::ui::SimOptionsPage | |
| SimOptionsPage (SimOptionsContext &ctx, QWidget *parent=nullptr) | |
| virtual void | refreshGates () |
| Intra-page widget gates (PLAN §4.3 "widget" rows). | |
| virtual void | applyCapabilities () |
| One-shot per-widget disable/tooltip from ctx_.caps(). | |
Additional Inherited Members | |
Static Protected Member Functions inherited from openswmmvis::ui::SimOptionsPage | |
| static void | tagOption (QWidget *w, const char *key) |
| Tag an option widget for the reachability test. | |
Protected Attributes inherited from openswmmvis::ui::SimOptionsPage | |
| SimOptionsContext & | ctx_ |
|
explicit |
| qint64 openswmmvis::ui::DatesPage::durationSeconds | ( | ) | const |
End − Start in seconds; 0 when the window is empty or inverted.
|
overridevirtual |
engine → widgets. Block signals while setting.
Implements openswmmvis::ui::SimOptionsPage.
| qint64 openswmmvis::ui::DatesPage::reportStepSeconds | ( | ) | const |
|
signal |
Any of the three accessors above changed.
|
inline |
|
overridevirtual |
Sidebar row text, already tr()'d.
Implements openswmmvis::ui::SimOptionsPage.
|
overridevirtual |
Validation run before Apply/OK; false pops warn and stops.
Reimplemented from openswmmvis::ui::SimOptionsPage.
| qint64 openswmmvis::ui::DatesPage::wetStepSeconds | ( | ) | const |
|
overridevirtual |
widgets → engine via ctx_.writeIfChanged; returns the sum.
Implements openswmmvis::ui::SimOptionsPage.