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
sublayertabhelpers.h File Reference

Small shared builders for the per-sublayer styling panels (Swmm2DResultsStylePanel, Swmm2DMeshStylePanel): spin-box factories with the shared minimum widths, and the "Show <name>". More...

#include "render/isublayer.h"
#include <QCheckBox>
#include <QDoubleSpinBox>
#include <QFormLayout>
#include <QObject>
#include <QSpinBox>
#include <QString>
#include <QWidget>
Include dependency graph for sublayertabhelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Functions

QDoubleSpinBox * openswmmvis::ui::makeDSpin (QWidget *parent, double lo, double hi, double step, int decimals, double value, const QString &suffix=QString())
 
QSpinBox * openswmmvis::ui::makeSpin (QWidget *parent, int lo, int hi, int value)
 
QWidget * openswmmvis::ui::makeSublayerHeader (QWidget *parent, OpenSWMM::Render::ISublayer *sub, const QString &showLabel)
 

Variables

constexpr int openswmmvis::ui::kSpinMinWidthPx = 110
 
constexpr int openswmmvis::ui::kComboMinWidthPx = 140
 

Detailed Description

Small shared builders for the per-sublayer styling panels (Swmm2DResultsStylePanel, Swmm2DMeshStylePanel): spin-box factories with the shared minimum widths, and the "Show <name>".

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
  • opacity header row every tab starts with. Hoisted out of the results panel's anonymous namespace when the mesh panel became its structural sibling.