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
subcatchcompoundeditbutton.h
Go to the documentation of this file.
1
13#ifndef SUBCATCHCOMPOUNDEDITBUTTON_H
14#define SUBCATCHCOMPOUNDEDITBUTTON_H
15
16#include <QWidget>
17
19
20class QPushButton;
21
22class SubcatchCompoundEditButton : public QWidget
23{
24 Q_OBJECT
26 READ value WRITE setValue USER true NOTIFY valueChanged)
27
28public:
29 explicit SubcatchCompoundEditButton(QWidget *parent = nullptr);
30
31 [[nodiscard]] SubcatchCompoundEditRef value() const noexcept { return m_ref; }
33
34signals:
36
37private slots:
38 void onClicked();
39
40private:
41 void refreshLabel();
42
44 QPushButton *m_btn = nullptr;
45};
46
47#endif // SUBCATCHCOMPOUNDEDITBUTTON_H
Definition subcatchcompoundeditbutton.h:23
SubcatchCompoundEditRef value
Definition subcatchcompoundeditbutton.h:26
SubcatchCompoundEditRef value() const noexcept
Definition subcatchcompoundeditbutton.h:31
void setValue(const SubcatchCompoundEditRef &ref)
Definition subcatchcompoundeditbutton.cpp:28
EdgeRef ref
Definition pslgminsize.cpp:377
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
Definition subcatchcompoundeditref.h:26