#include <simoptionspage.h>
|
| | SimOptionsPage (SimOptionsContext &ctx, QWidget *parent=nullptr) |
| |
| virtual QString | title () const =0 |
| | Sidebar row text, already tr()'d.
|
| |
| virtual void | read ()=0 |
| | engine → widgets. Block signals while setting.
|
| |
| virtual int | write ()=0 |
| | widgets → engine via ctx_.writeIfChanged; returns the sum.
|
| |
| 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.
|
| |
|
| static void | tagOption (QWidget *w, const char *key) |
| | Tag an option widget for the reachability test.
|
| |
◆ SimOptionsPage()
◆ applyCapabilities()
| virtual void openswmmvis::ui::SimOptionsPage::applyCapabilities |
( |
| ) |
|
|
inlinevirtual |
◆ gateInputsChanged
| void openswmmvis::ui::SimOptionsPage::gateInputsChanged |
( |
| ) |
|
|
signal |
Emit from any control that feeds a PageGate.
◆ read()
| virtual void openswmmvis::ui::SimOptionsPage::read |
( |
| ) |
|
|
pure virtual |
◆ refreshGates()
| virtual void openswmmvis::ui::SimOptionsPage::refreshGates |
( |
| ) |
|
|
inlinevirtual |
◆ tagOption()
| void openswmmvis::ui::SimOptionsPage::tagOption |
( |
QWidget * |
w, |
|
|
const char * |
key |
|
) |
| |
|
staticprotected |
Tag an option widget for the reachability test.
Call for EVERY widget that reads or writes an option key: tagOption(m_minSlopeSpin, "MIN_SLOPE"). Widgets that edit a non-[OPTIONS] thing are tagged with the section name instead: tagOption(w, "[EVENTS]").
Null-tolerant, and repeated tags accumulate into a comma-separated list so one editor can own two keys (a QDateTimeEdit writes DATE and TIME).
◆ title()
| virtual QString openswmmvis::ui::SimOptionsPage::title |
( |
| ) |
const |
|
pure virtual |
◆ validate()
| virtual bool openswmmvis::ui::SimOptionsPage::validate |
( |
QString * |
warn | ) |
|
|
inlinevirtual |
◆ write()
| virtual int openswmmvis::ui::SimOptionsPage::write |
( |
| ) |
|
|
pure virtual |
◆ ctx_
The documentation for this class was generated from the following files:
- /home/runner/work/openswmm.gui/openswmm.gui/include/ui/dialogs/simoptions/simoptionspage.h
- /home/runner/work/openswmm.gui/openswmm.gui/src/ui/dialogs/simoptions/simoptionspage.cpp