![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <performancepage.h>
Public Member Functions | |
| PerformancePage (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. | |
| void | setMinimumStepSetter (std::function< void(double)> setter) |
| Where the fast preset sends its MINIMUM_STEP value. | |
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(). | |
| virtual bool | validate (QString *warn) |
| Validation run before Apply/OK; false pops warn and stops. | |
Additional Inherited Members | |
Signals inherited from openswmmvis::ui::SimOptionsPage | |
| void | gateInputsChanged () |
| Emit from any control that feeds a PageGate. | |
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 |
|
overridevirtual |
engine → widgets. Block signals while setting.
Implements openswmmvis::ui::SimOptionsPage.
| void openswmmvis::ui::PerformancePage::setMinimumStepSetter | ( | std::function< void(double)> | setter | ) |
Where the fast preset sends its MINIMUM_STEP value.
Wired by the dialog: to the inline hydraulics spin while that page is still part of the monolith, and to HydraulicsPage::setMinimumStep once T4 has extracted it. A default-constructed setter is a no-op, so the preset degrades to threads-only rather than crashing.
|
overridevirtual |
Sidebar row text, already tr()'d.
Implements openswmmvis::ui::SimOptionsPage.
|
overridevirtual |
widgets → engine via ctx_.writeIfChanged; returns the sum.
Implements openswmmvis::ui::SimOptionsPage.