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
classificationschemecelleditor.h
Go to the documentation of this file.
1
22#ifndef OPENSWMMVIS_UI_WIDGETS_CLASSIFICATIONSCHEMECELLEDITOR_H
23#define OPENSWMMVIS_UI_WIDGETS_CLASSIFICATIONSCHEMECELLEDITOR_H
24
26
27#include <QWidget>
28
29class QLabel;
30class QPushButton;
31
32namespace openswmmvis::ui {
33
34class ClassificationSchemeCellEditor : public QWidget
35{
36 Q_OBJECT
38 READ scheme WRITE setScheme NOTIFY schemeChanged USER true)
39public:
43 explicit ClassificationSchemeCellEditor(QWidget *parent = nullptr);
44
45 [[nodiscard]] const OpenSWMM::Render::ClassificationScheme &scheme() const { return m_scheme; }
47
48signals:
52
53private:
54 void openDialog();
55 void updateSummary();
56
58 QLabel *m_summary = nullptr;
59 QPushButton *m_editBtn = nullptr;
60};
61
62} // namespace openswmmvis::ui
63
64#endif // OPENSWMMVIS_UI_WIDGETS_CLASSIFICATIONSCHEMECELLEDITOR_H
Shared classification model: mode + binner + ramp + range + per-class overrides, with a revision stam...
Definition classificationscheme.h:61
Slice US.1 (UNIFIED_STYLING_AND_UI_CONSISTENCY_PLAN.md S1) — the shared classification value type emb...
Definition classificationschemecelleditor.h:35
const OpenSWMM::Render::ClassificationScheme & scheme() const
Definition classificationschemecelleditor.h:45
void setScheme(const OpenSWMM::Render::ClassificationScheme &s)
Definition classificationschemecelleditor.cpp:66
OpenSWMM::Render::ClassificationScheme classificationScheme
Definition classificationschemecelleditor.h:38
double s
Scene px per model length unit.
Definition inletdrawingview.cpp:82
Definition openswmmvislayer.h:43
QVector< int > parent
union-find
Definition pslgminsize.cpp:176