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
culvertcodecombobox.h
Go to the documentation of this file.
1
19#ifndef CULVERTCODECOMBOBOX_H
20#define CULVERTCODECOMBOBOX_H
21
22#include <QComboBox>
23
25
26class CulvertCodeComboBox : public QComboBox
27{
28 Q_OBJECT
32 READ value WRITE setValue USER true NOTIFY valueChanged)
33
34public:
35 explicit CulvertCodeComboBox(QWidget *parent = nullptr);
36
37 [[nodiscard]] CulvertCodeRef value() const { return m_ref; }
38 void setValue(const CulvertCodeRef &ref);
39
40signals:
42
43private slots:
44 void onCurrentIndexChanged(int index);
45
46private:
47 CulvertCodeRef m_ref;
51 bool m_suppressApply = false;
52};
53
54#endif // CULVERTCODECOMBOBOX_H
Definition culvertcodecombobox.h:27
void setValue(const CulvertCodeRef &ref)
Definition culvertcodecombobox.cpp:26
CulvertCodeRef value() const
Definition culvertcodecombobox.h:37
CulvertCodeRef value
Definition culvertcodecombobox.h:32
int index
Position in m_quadRegions / m_quadReports.
Definition meshgenerator.cpp:153
EdgeRef ref
Definition pslgminsize.cpp:377
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
Definition culvertcoderef.h:32