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
linkcompoundeditbutton.h
Go to the documentation of this file.
1
16#ifndef LINKCOMPOUNDEDITBUTTON_H
17#define LINKCOMPOUNDEDITBUTTON_H
18
19#include <QWidget>
20
22
23class QPushButton;
24
25class LinkCompoundEditButton : public QWidget
26{
27 Q_OBJECT
31 READ value WRITE setValue USER true NOTIFY valueChanged)
32
33public:
34 explicit LinkCompoundEditButton(QWidget *parent = nullptr);
35
36 [[nodiscard]] LinkCompoundEditRef value() const noexcept { return m_ref; }
37 void setValue(const LinkCompoundEditRef &ref);
38
39signals:
45
46private slots:
47 void onClicked();
48
49private:
50 void refreshLabel();
51
53 QPushButton *m_btn = nullptr;
54};
55
56#endif // LINKCOMPOUNDEDITBUTTON_H
EdgeRef ref
Definition pslgminsize.cpp:377
QVector< int > parent
union-find
Definition pslgminsize.cpp:176