SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
labeledcontrols.h File Reference
#include <QString>
#include <QWidget>
Include dependency graph for labeledcontrols.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LabeledLineEdit
 
class  LabeledDoubleSpin
 
class  LabeledIntSpin
 
class  LabeledCombo
 
class  LabeledPickerCombo
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Slice BM Phase 6.3.3 โ€” common form-row helpers shared by every concrete editor in BN / BO / BP / BQ / BR / BS / BT.

Each helper is a tiny QWidget composing a QLabel and one editor control on a QHBoxLayout. They exist to keep concrete editors declarative โ€” instead of writing the addRow boilerplate 50 times, editors do:

auto *area = new LabeledDoubleSpin(tr("Area (ac)"), 0.0, 1e6, 2); form->addRow(area);

Scope cap (CLAUDE.md ยง2 โ€” Simplicity First): only the four controls actually consumed by the first wave of concrete editors are exposed. LabeledFilePicker, ConditionalSubEditor, and SubsectionGroupBox referenced by the plan's later phases land with the slices that need them.