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
dashstylecombo.h
Go to the documentation of this file.
1
9#ifndef OPENSWMMVIS_UI_WIDGETS_DASHSTYLECOMBO_H
10#define OPENSWMMVIS_UI_WIDGETS_DASHSTYLECOMBO_H
11
12#include <QComboBox>
13#include <Qt>
14
15namespace openswmmvis::ui {
16
17class DashStyleCombo : public QComboBox
18{
19 Q_OBJECT
20public:
21 explicit DashStyleCombo(QWidget *parent = nullptr);
22
23 [[nodiscard]] Qt::PenStyle penStyle() const;
24 void setPenStyle(Qt::PenStyle s);
25
26signals:
27 void penStyleChanged(Qt::PenStyle s);
28
29private:
30 static QIcon iconFor(Qt::PenStyle s, int wPx = 60, int hPx = 18);
31};
32
33} // namespace openswmmvis::ui
34
35#endif // OPENSWMMVIS_UI_WIDGETS_DASHSTYLECOMBO_H
Definition dashstylecombo.h:18
Qt::PenStyle penStyle() const
Definition dashstylecombo.cpp:31
void penStyleChanged(Qt::PenStyle s)
void setPenStyle(Qt::PenStyle s)
Definition dashstylecombo.cpp: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