Definition simoptionscontext.h:31
Definition simoptionspage.h:25
virtual QString title() const =0
Sidebar row text, already tr()'d.
virtual void refreshGates()
Intra-page widget gates (PLAN §4.3 "widget" rows).
Definition simoptionspage.h:41
virtual int write()=0
widgets → engine via ctx_.writeIfChanged; returns the sum.
SimOptionsContext & ctx_
Definition simoptionspage.h:67
void gateInputsChanged()
Emit from any control that feeds a PageGate.
virtual void applyCapabilities()
One-shot per-widget disable/tooltip from ctx_.caps().
Definition simoptionspage.h:44
virtual void read()=0
engine → widgets. Block signals while setting.
static void tagOption(QWidget *w, const char *key)
Tag an option widget for the reachability test.
Definition simoptionspage.cpp:17
virtual bool validate(QString *warn)
Validation run before Apply/OK; false pops warn and stops.
Definition simoptionspage.h:47
const char * transport2DKey(int speciesClass)
The [2D_OPTIONS] key carrying one SWMM_TRANSPORT_CLASS_*, or "" for an unknown class.
Definition simoptionspage.cpp:34