14#ifndef MESH_PROFILE_PLOT_OPTIONS_H
15#define MESH_PROFILE_PLOT_OPTIONS_H
111 Q_INVOKABLE QString
displayLabelFor(const QString &propertyName) const;
191 bool m_showDepthFill =
true;
192 bool m_showWseLine =
true;
193 bool m_showMaxEnvelopeFill =
true;
194 bool m_showMaxEnvelopeLine =
true;
195 bool m_showCellBoundaries =
true;
200 QBrush m_soilFill {QColor(0xC6, 0xA9, 0x7A, 160)};
201 QPen m_groundLinePen = QPen(QColor(0x6B, 0x52, 0x2E), 1.6, Qt::SolidLine);
202 QBrush m_depthFillBrush {QColor(0x55, 0xA8, 0xE6, 120)};
203 QPen m_wseLinePen = QPen(QColor(0x1F, 0x6F, 0xB7), 2.0, Qt::SolidLine);
204 QPen m_maxEnvelopePen = QPen(QColor(0x1F, 0x6F, 0xB7), 1.4, Qt::DashLine);
205 QBrush m_maxEnvelopeBrush {QColor(0x55, 0xA8, 0xE6, 60)};
209 QColor m_cellBoundaryColor {0xD9, 0x53, 0x1E};
214 int m_xLabelPrecision = 0;
215 QString m_xLabelFormatStr;
217 int m_yLabelPrecision = 2;
218 QString m_yLabelFormatStr;
220 bool m_legendVisible =
true;
223 double m_legendOpacity = 0.86;
224 QPointF m_legendOffset {0.0, 0.0};
226 bool m_showTimeLabel =
true;
228 QColor m_timeLabelColor {0x10, 0x10, 0x10};
229 QFont m_timeLabelFont;
230 QString m_timeLabelFormat = QStringLiteral(
"dd-MMM-yyyy HH:mm:ss");
231 QPointF m_timeLabelOffset {0.0, 0.0};
Definition meshprofileplotoptions.h:28
double legendOpacity() const
Definition meshprofileplotoptions.h:145
openswmmvis::plot::NumberFormat xFormat() const
Current X/Y axis label format as the shared value type.
Definition meshprofileplotoptions.h:138
QFont timeLabelFont() const
Definition meshprofileplotoptions.h:150
AxisNumberFormat
Definition meshprofileplotoptions.h:45
@ SigFigs4
Definition meshprofileplotoptions.h:53
@ SigFigs3
Definition meshprofileplotoptions.h:52
@ Integer
Definition meshprofileplotoptions.h:46
@ Decimals1
Definition meshprofileplotoptions.h:47
@ Decimals6
Definition meshprofileplotoptions.h:51
@ Decimals4
Definition meshprofileplotoptions.h:50
@ Decimals2
Definition meshprofileplotoptions.h:48
@ Decimals3
Definition meshprofileplotoptions.h:49
@ SigFigs6
Definition meshprofileplotoptions.h:54
void setLegendPosition(LegendPosition p)
Definition meshprofileplotoptions.cpp:124
QColor cellBoundaryColor
Definition meshprofileplotoptions.h:76
void setWseLinePen(const QPen &p)
Definition meshprofileplotoptions.cpp:78
void setTimeLabelFormat(const QString &fmt)
Definition meshprofileplotoptions.cpp:136
QFont legendFont() const
Definition meshprofileplotoptions.h:144
LabelFormatMode xLabelFormatMode() const
Definition meshprofileplotoptions.h:131
bool showCellBoundaries() const
Definition meshprofileplotoptions.h:118
QBrush depthFillBrush
Definition meshprofileplotoptions.h:72
void setYAxisNumberFormat(AxisNumberFormat f)
Definition meshprofileplotoptions.cpp:103
bool showCellBoundaries
Definition meshprofileplotoptions.h:67
QString yLabelFormat() const
Definition meshprofileplotoptions.h:136
QPen maxEnvelopePen
Definition meshprofileplotoptions.h:74
bool showMaxEnvelopeLine
Definition meshprofileplotoptions.h:66
TimeLabelPosition
Definition meshprofileplotoptions.h:58
@ TimeTopRight
Definition meshprofileplotoptions.h:58
@ TimeTopLeft
Definition meshprofileplotoptions.h:58
@ TimeBottomLeft
Definition meshprofileplotoptions.h:59
@ TimeBottomRight
Definition meshprofileplotoptions.h:59
bool showMaxEnvelopeFill() const
Definition meshprofileplotoptions.h:116
bool showTimeLabel
Definition meshprofileplotoptions.h:99
bool legendVisible
Definition meshprofileplotoptions.h:91
QBrush maxEnvelopeBrush() const
Definition meshprofileplotoptions.h:125
void setMaxEnvelopeBrush(const QBrush &b)
Definition meshprofileplotoptions.cpp:80
void setShowMaxEnvelopeLine(bool v)
Definition meshprofileplotoptions.cpp:71
void setLegendOpacity(double a)
Definition meshprofileplotoptions.cpp:126
void setLegendVisible(bool v)
Definition meshprofileplotoptions.cpp:123
void setXLabelPrecision(int count)
Definition meshprofileplotoptions.cpp:111
QBrush soilFill() const
Definition meshprofileplotoptions.h:120
LegendPosition legendPosition() const
Definition meshprofileplotoptions.h:143
void setMaxEnvelopePen(const QPen &p)
Definition meshprofileplotoptions.cpp:79
void setTimeLabelFont(const QFont &f)
Definition meshprofileplotoptions.cpp:135
MeshProfilePlotOptions::TimeLabelPosition timeLabelPosition
Definition meshprofileplotoptions.h:101
void setCellBoundaryColor(const QColor &c)
Definition meshprofileplotoptions.cpp:73
openswmmvis::plot::NumberFormat yFormat() const
Definition meshprofileplotoptions.h:140
QPen groundLinePen() const
Definition meshprofileplotoptions.h:121
QPointF legendOffset() const
Definition meshprofileplotoptions.h:146
void setXLabelFormat(const QString &spec)
Definition meshprofileplotoptions.cpp:115
QBrush depthFillBrush() const
Definition meshprofileplotoptions.h:122
QPointF timeLabelOffset
Definition meshprofileplotoptions.h:105
void setShowMaxEnvelopeFill(bool v)
Definition meshprofileplotoptions.cpp:70
QPointF timeLabelOffset() const
Definition meshprofileplotoptions.h:152
void setTimeLabelOffset(const QPointF &p)
Definition meshprofileplotoptions.cpp:137
bool showTimeLabel() const
Definition meshprofileplotoptions.h:147
void setShowWseLine(bool v)
Definition meshprofileplotoptions.cpp:69
QString xLabelFormat() const
Definition meshprofileplotoptions.h:133
bool showWseLine() const
Definition meshprofileplotoptions.h:115
void setGroundLinePen(const QPen &p)
Definition meshprofileplotoptions.cpp:76
void setYLabelFormat(const QString &spec)
Definition meshprofileplotoptions.cpp:121
QColor timeLabelColor() const
Definition meshprofileplotoptions.h:149
QBrush soilFill
Definition meshprofileplotoptions.h:70
MeshProfilePlotOptions::AxisNumberFormat xAxisNumberFormat
Definition meshprofileplotoptions.h:82
void setLegendFont(const QFont &f)
Definition meshprofileplotoptions.cpp:125
void setShowTimeLabel(bool v)
Definition meshprofileplotoptions.cpp:132
LegendPosition
Definition meshprofileplotoptions.h:32
@ TopRight
Definition meshprofileplotoptions.h:32
@ TopLeft
Definition meshprofileplotoptions.h:32
@ BottomLeft
Definition meshprofileplotoptions.h:32
@ BottomRight
Definition meshprofileplotoptions.h:32
QPen groundLinePen
Definition meshprofileplotoptions.h:71
QBrush maxEnvelopeBrush
Definition meshprofileplotoptions.h:75
QPen maxEnvelopePen() const
Definition meshprofileplotoptions.h:124
bool legendVisible() const
Definition meshprofileplotoptions.h:142
TimeLabelPosition timeLabelPosition() const
Definition meshprofileplotoptions.h:148
void setXAxisNumberFormat(AxisNumberFormat f)
Definition meshprofileplotoptions.cpp:94
double legendOpacity
Definition meshprofileplotoptions.h:95
LabelFormatMode
Axis label number mode; values mirror openswmmvis::plot::NumberFormatMode (0=Decimals,...
Definition meshprofileplotoptions.h:37
@ Decimals
Definition meshprofileplotoptions.h:37
@ SignificantFigures
Definition meshprofileplotoptions.h:37
void setTimeLabelColor(const QColor &c)
Definition meshprofileplotoptions.cpp:134
LabelFormatMode yLabelFormatMode() const
Definition meshprofileplotoptions.h:134
void setDepthFillBrush(const QBrush &b)
Definition meshprofileplotoptions.cpp:77
void setLegendOffset(const QPointF &p)
Definition meshprofileplotoptions.cpp:130
QPen wseLinePen() const
Definition meshprofileplotoptions.h:123
QString timeLabelFormat
Definition meshprofileplotoptions.h:104
void setXLabelFormatMode(LabelFormatMode m)
Definition meshprofileplotoptions.cpp:110
QPointF legendOffset
Definition meshprofileplotoptions.h:96
void setSoilFill(const QBrush &b)
Definition meshprofileplotoptions.cpp:75
void setYLabelPrecision(int count)
Definition meshprofileplotoptions.cpp:117
void setShowCellBoundaries(bool v)
Definition meshprofileplotoptions.cpp:72
bool showMaxEnvelopeLine() const
Definition meshprofileplotoptions.h:117
QColor cellBoundaryColor() const
Definition meshprofileplotoptions.h:119
QPen wseLinePen
Definition meshprofileplotoptions.h:73
bool showMaxEnvelopeFill
Definition meshprofileplotoptions.h:65
bool showWseLine
Definition meshprofileplotoptions.h:64
void setTimeLabelPosition(TimeLabelPosition p)
Definition meshprofileplotoptions.cpp:133
int yLabelPrecision() const
Definition meshprofileplotoptions.h:135
bool showDepthFill
Definition meshprofileplotoptions.h:63
MeshProfilePlotOptions::AxisNumberFormat yAxisNumberFormat
Definition meshprofileplotoptions.h:86
QFont legendFont
Definition meshprofileplotoptions.h:94
Q_INVOKABLE QString displayLabelFor(const QString &propertyName) const
Human-readable label for the QPropertyModel row header.
Definition meshprofileplotoptions.cpp:34
MeshProfilePlotOptions::LegendPosition legendPosition
Definition meshprofileplotoptions.h:93
QString xLabelFormat
Definition meshprofileplotoptions.h:84
int xLabelPrecision() const
Definition meshprofileplotoptions.h:132
QString yLabelFormat
Definition meshprofileplotoptions.h:88
void setYLabelFormatMode(LabelFormatMode m)
Definition meshprofileplotoptions.cpp:116
QColor timeLabelColor
Definition meshprofileplotoptions.h:102
void setShowDepthFill(bool v)
Definition meshprofileplotoptions.cpp:68
QString timeLabelFormat() const
Definition meshprofileplotoptions.h:151
QFont timeLabelFont
Definition meshprofileplotoptions.h:103
ArrowPlacement p
Definition linesymbollayer.cpp:27
MaskMode m
Definition maskspec.cpp:18
int b
local residual indices, a < b
Definition meshquadmatch.cpp:46
int a
Definition meshquadmatch.cpp:46
NumberFormatMode
Interpretation of NumberFormat::count.
Definition numberformat.h:32
QVector< int > v
pool vertex indices
Definition pslgminsize.cpp:159
QVector< int > parent
union-find
Definition pslgminsize.cpp:176