26#ifndef OPENSWMM_RENDER_MASKSPEC_H
27#define OPENSWMM_RENDER_MASKSPEC_H
65 [[nodiscard]] QJsonObject
toJson()
const;
70 {
return !(*
this == other); }
double s
Scene px per model length unit.
Definition inletdrawingview.cpp:82
MaskMode m
Definition maskspec.cpp:18
Definition gisrasterlayer.h:40
MaskMode
Which side of the polygon source layer paints.
Definition maskspec.h:39
MaskMode maskModeFromString(const QString &s)
Definition maskspec.cpp:33
QString maskModeToString(MaskMode m)
Definition maskspec.cpp:26
Per-layer mask configuration.
Definition maskspec.h:52
bool enabled
Master switch. When false, paint is unmasked.
Definition maskspec.h:54
bool operator!=(const MaskSpec &other) const
Definition maskspec.h:69
MaskMode mode
Which side paints.
Definition maskspec.h:63
static MaskSpec fromJson(const QJsonObject &j)
Definition maskspec.cpp:52
QString sourceLayerId
Layer id of the polygon source. Empty when no source has been picked yet — paint falls through to unm...
Definition maskspec.h:60
QJsonObject toJson() const
Definition maskspec.cpp:40
bool operator==(const MaskSpec &other) const
Definition maskspec.cpp:62