13#ifndef OPENSWMMVIS_UI_WIDGETS_STYLEPREVIEWSWATCH_H
14#define OPENSWMMVIS_UI_WIDGETS_STYLEPREVIEWSWATCH_H
57 QSize
sizeHint()
const override {
return QSize(180, 56); }
62 QColor m_color = QColor(80, 130, 200);
63 QPen m_strokePen = QPen(QColor(40, 40, 40), 1.0);
64 double m_markerSizePx = 12.0;
65 int m_markerShape = 0;
66 double m_lineWidthPx = 2.0;
67 bool m_showArrows =
false;
68 double m_fillOpacity = 0.55;
Definition stylepreviewswatch.h:24
void paintEvent(QPaintEvent *event) override
Definition stylepreviewswatch.cpp:36
Kind
Definition stylepreviewswatch.h:27
@ PointKind
Definition stylepreviewswatch.h:27
@ LineKind
Definition stylepreviewswatch.h:27
@ PolygonKind
Definition stylepreviewswatch.h:27
void setColor(const QColor &c)
Definition stylepreviewswatch.cpp:28
void setFillOpacity(double v)
Definition stylepreviewswatch.cpp:34
void setKind(Kind k)
Definition stylepreviewswatch.cpp:27
void setMarkerShape(int shapeEnum)
Definition stylepreviewswatch.cpp:31
QSize minimumSizeHint() const override
Definition stylepreviewswatch.h:58
QSize sizeHint() const override
Definition stylepreviewswatch.h:57
void setLineWidthPx(double px)
Definition stylepreviewswatch.cpp:32
void setStrokePen(const QPen &pen)
Definition stylepreviewswatch.cpp:29
void setShowArrows(bool v)
Definition stylepreviewswatch.cpp:33
void setMarkerSizePx(double px)
Definition stylepreviewswatch.cpp:30
int k
Definition mesh2dresultsexport.cpp:549
Definition openswmmvislayer.h:43
QVector< int > v
pool vertex indices
Definition pslgminsize.cpp:159
QVector< int > parent
union-find
Definition pslgminsize.cpp:176