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
nodecompoundeditbutton.h
Go to the documentation of this file.
1
19#ifndef NODECOMPOUNDEDITBUTTON_H
20#define NODECOMPOUNDEDITBUTTON_H
21
22#include <QWidget>
23
25
26class QPushButton;
27
28class NodeCompoundEditButton : public QWidget
29{
30 Q_OBJECT
34 READ value WRITE setValue USER true NOTIFY valueChanged)
35
36public:
37 explicit NodeCompoundEditButton(QWidget *parent = nullptr);
38
39 [[nodiscard]] NodeCompoundEditRef value() const noexcept { return m_ref; }
40 void setValue(const NodeCompoundEditRef &ref);
41
42signals:
48
49private slots:
50 void onClicked();
51
52private:
53 void refreshLabel();
54
56 QPushButton *m_btn = nullptr;
57};
58
59#endif // NODECOMPOUNDEDITBUTTON_H
Definition nodecompoundeditbutton.h:29
void setValue(const NodeCompoundEditRef &ref)
Definition nodecompoundeditbutton.cpp:34
NodeCompoundEditRef value
Definition nodecompoundeditbutton.h:34
NodeCompoundEditRef value() const noexcept
Definition nodecompoundeditbutton.h:39
EdgeRef ref
Definition pslgminsize.cpp:377
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
Definition nodecompoundeditref.h:32