#include <inletpropertybag.h>
|
| enum class | GrateTypeQ : int {
P_BAR_50 = static_cast<int>(inlet::GrateType::PBar50)
,
P_BAR_50x100 = static_cast<int>(inlet::GrateType::PBar50x100)
,
P_BAR_30 = static_cast<int>(inlet::GrateType::PBar30)
,
CURVED_VANE = static_cast<int>(inlet::GrateType::CurvedVane)
,
TILT_BAR_45 = static_cast<int>(inlet::GrateType::TiltBar45)
,
TILT_BAR_30 = static_cast<int>(inlet::GrateType::TiltBar30)
,
RETICULINE = static_cast<int>(inlet::GrateType::Reticuline)
,
GENERIC = static_cast<int>(inlet::GrateType::Generic)
} |
| | Q_ENUM mirrors of the openswmmvis::inlet design enums so QPropertyModel renders a combo-box for each. Q_ENUM requires the enum to live in a QObject, hence the duplicates (same idiom as SeriesStyleObject::MarkerShapeQ). Values track 1:1. More...
|
| |
| enum class | ThroatTypeQ : int {
HORIZONTAL = static_cast<int>(inlet::ThroatType::Horizontal)
,
INCLINED = static_cast<int>(inlet::ThroatType::Inclined)
,
VERTICAL = static_cast<int>(inlet::ThroatType::Vertical)
} |
| |
| enum class | CurveKindQ : int {
NONE = static_cast<int>(inlet::InletCurveKind::None)
,
DIVERSION = static_cast<int>(inlet::InletCurveKind::Diversion)
,
RATING = static_cast<int>(inlet::InletCurveKind::Rating)
} |
| |
| enum | Group {
NoGroup = 0x0
,
GrateGroup = 0x1
,
CurbGroup = 0x2
,
SlottedGroup = 0x4
,
CustomGroup = 0x8
} |
| | Legacy tab-visibility groups (Dinlet.pas:241-298). More...
|
| |
| using | CommitFn = std::function< void(const inlet::InletDesignData &before, const inlet::InletDesignData &after)> |
| | Commit hook. When installed, a bag edit is handed to the host (which wraps it in a SetInletParamsCommand) instead of being written straight to the provider.
|
| |
◆ CommitFn
Commit hook. When installed, a bag edit is handed to the host (which wraps it in a SetInletParamsCommand) instead of being written straight to the provider.
◆ CurveKindQ
| Enumerator |
|---|
| NONE | |
| DIVERSION | |
| RATING | |
◆ GrateTypeQ
Q_ENUM mirrors of the openswmmvis::inlet design enums so QPropertyModel renders a combo-box for each. Q_ENUM requires the enum to live in a QObject, hence the duplicates (same idiom as SeriesStyleObject::MarkerShapeQ). Values track 1:1.
| Enumerator |
|---|
| P_BAR_50 | |
| P_BAR_50x100 | |
| P_BAR_30 | |
| CURVED_VANE | |
| TILT_BAR_45 | |
| TILT_BAR_30 | |
| RETICULINE | |
| GENERIC | |
◆ Group
Legacy tab-visibility groups (Dinlet.pas:241-298).
| Enumerator |
|---|
| NoGroup | |
| GrateGroup | |
| CurbGroup | |
| SlottedGroup | |
| CustomGroup | |
◆ ThroatTypeQ
| Enumerator |
|---|
| HORIZONTAL | |
| INCLINED | |
| VERTICAL | |
◆ InletPropertyBag()
| openswmmvis::ui::InletPropertyBag::InletPropertyBag |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ bind()
◆ curbHeight()
| double openswmmvis::ui::InletPropertyBag::curbHeight |
( |
| ) |
const |
|
inlinenoexcept |
◆ curbHeightChanged
| void openswmmvis::ui::InletPropertyBag::curbHeightChanged |
( |
double |
| ) |
|
|
signal |
◆ curbLength()
| double openswmmvis::ui::InletPropertyBag::curbLength |
( |
| ) |
const |
|
inlinenoexcept |
◆ curbLengthChanged
| void openswmmvis::ui::InletPropertyBag::curbLengthChanged |
( |
double |
| ) |
|
|
signal |
◆ curveId()
| QString openswmmvis::ui::InletPropertyBag::curveId |
( |
| ) |
const |
|
inline |
◆ curveIdChanged
| void openswmmvis::ui::InletPropertyBag::curveIdChanged |
( |
const QString & |
| ) |
|
|
signal |
◆ curveKind()
| CurveKindQ openswmmvis::ui::InletPropertyBag::curveKind |
( |
| ) |
const |
|
inlinenoexcept |
◆ curveKindChanged
| void openswmmvis::ui::InletPropertyBag::curveKindChanged |
( |
CurveKindQ |
| ) |
|
|
signal |
◆ displayLabelFor()
| QString openswmmvis::ui::InletPropertyBag::displayLabelFor |
( |
const QString & |
property | ) |
const |
Group-prefixed, unit-suffixed label for the QPropertyModel row. Empty for an unknown name so the generated name is used.
◆ grateLength()
| double openswmmvis::ui::InletPropertyBag::grateLength |
( |
| ) |
const |
|
inlinenoexcept |
◆ grateLengthChanged
| void openswmmvis::ui::InletPropertyBag::grateLengthChanged |
( |
double |
| ) |
|
|
signal |
◆ grateType()
| GrateTypeQ openswmmvis::ui::InletPropertyBag::grateType |
( |
| ) |
const |
|
inlinenoexcept |
◆ grateTypeChanged
| void openswmmvis::ui::InletPropertyBag::grateTypeChanged |
( |
GrateTypeQ |
| ) |
|
|
signal |
◆ grateWidth()
| double openswmmvis::ui::InletPropertyBag::grateWidth |
( |
| ) |
const |
|
inlinenoexcept |
◆ grateWidthChanged
| void openswmmvis::ui::InletPropertyBag::grateWidthChanged |
( |
double |
| ) |
|
|
signal |
◆ groupOf()
The group a raw Q_PROPERTY name belongs to.
◆ groupsFor()
| InletPropertyBag::Groups openswmmvis::ui::InletPropertyBag::groupsFor |
( |
inlet::InletType |
t | ) |
|
|
static |
Groups that apply to t. Pure — used by the tests.
◆ isPropertyVisible()
| bool openswmmvis::ui::InletPropertyBag::isPropertyVisible |
( |
const QString & |
property | ) |
const |
Row-level visibility: group visibility plus the two legacy exceptions (open fraction / splash-over velocity are GENERIC only; the throat angle does not apply to a DROP CURB).
◆ openFraction()
| double openswmmvis::ui::InletPropertyBag::openFraction |
( |
| ) |
const |
|
inlinenoexcept |
◆ openFractionChanged
| void openswmmvis::ui::InletPropertyBag::openFractionChanged |
( |
double |
| ) |
|
|
signal |
◆ provider()
| InletProvider * openswmmvis::ui::InletPropertyBag::provider |
( |
| ) |
const |
|
noexcept |
◆ setCommitHandler()
| void openswmmvis::ui::InletPropertyBag::setCommitHandler |
( |
CommitFn |
fn | ) |
|
◆ setCurbHeight
| void openswmmvis::ui::InletPropertyBag::setCurbHeight |
( |
double |
v | ) |
|
|
slot |
◆ setCurbLength
| void openswmmvis::ui::InletPropertyBag::setCurbLength |
( |
double |
v | ) |
|
|
slot |
◆ setCurveId
| void openswmmvis::ui::InletPropertyBag::setCurveId |
( |
const QString & |
v | ) |
|
|
slot |
◆ setCurveKind
| void openswmmvis::ui::InletPropertyBag::setCurveKind |
( |
CurveKindQ |
v | ) |
|
|
slot |
◆ setGrateLength
| void openswmmvis::ui::InletPropertyBag::setGrateLength |
( |
double |
v | ) |
|
|
slot |
◆ setGrateType
| void openswmmvis::ui::InletPropertyBag::setGrateType |
( |
GrateTypeQ |
v | ) |
|
|
slot |
◆ setGrateWidth
| void openswmmvis::ui::InletPropertyBag::setGrateWidth |
( |
double |
v | ) |
|
|
slot |
◆ setOpenFraction
| void openswmmvis::ui::InletPropertyBag::setOpenFraction |
( |
double |
v | ) |
|
|
slot |
◆ setSlotLength
| void openswmmvis::ui::InletPropertyBag::setSlotLength |
( |
double |
v | ) |
|
|
slot |
◆ setSlotWidth
| void openswmmvis::ui::InletPropertyBag::setSlotWidth |
( |
double |
v | ) |
|
|
slot |
◆ setSplashVelocity
| void openswmmvis::ui::InletPropertyBag::setSplashVelocity |
( |
double |
v | ) |
|
|
slot |
◆ setThroatAngle
| void openswmmvis::ui::InletPropertyBag::setThroatAngle |
( |
ThroatTypeQ |
v | ) |
|
|
slot |
◆ slotLength()
| double openswmmvis::ui::InletPropertyBag::slotLength |
( |
| ) |
const |
|
inlinenoexcept |
◆ slotLengthChanged
| void openswmmvis::ui::InletPropertyBag::slotLengthChanged |
( |
double |
| ) |
|
|
signal |
◆ slotWidth()
| double openswmmvis::ui::InletPropertyBag::slotWidth |
( |
| ) |
const |
|
inlinenoexcept |
◆ slotWidthChanged
| void openswmmvis::ui::InletPropertyBag::slotWidthChanged |
( |
double |
| ) |
|
|
signal |
◆ splashVelocity()
| double openswmmvis::ui::InletPropertyBag::splashVelocity |
( |
| ) |
const |
|
inlinenoexcept |
◆ splashVelocityChanged
| void openswmmvis::ui::InletPropertyBag::splashVelocityChanged |
( |
double |
| ) |
|
|
signal |
◆ throatAngle()
| ThroatTypeQ openswmmvis::ui::InletPropertyBag::throatAngle |
( |
| ) |
const |
|
inlinenoexcept |
◆ throatAngleChanged
| void openswmmvis::ui::InletPropertyBag::throatAngleChanged |
( |
ThroatTypeQ |
| ) |
|
|
signal |
◆ visibleGroups()
| InletPropertyBag::Groups openswmmvis::ui::InletPropertyBag::visibleGroups |
( |
| ) |
const |
Groups that apply to the bound design's type.
◆ curbHeight
| double openswmmvis::ui::InletPropertyBag::curbHeight |
|
readwrite |
◆ curbLength
| double openswmmvis::ui::InletPropertyBag::curbLength |
|
readwrite |
◆ curveId
| QString openswmmvis::ui::InletPropertyBag::curveId |
|
readwrite |
◆ curveKind
| CurveKindQ openswmmvis::ui::InletPropertyBag::curveKind |
|
readwrite |
◆ grateLength
| double openswmmvis::ui::InletPropertyBag::grateLength |
|
readwrite |
◆ grateType
| GrateTypeQ openswmmvis::ui::InletPropertyBag::grateType |
|
readwrite |
◆ grateWidth
| double openswmmvis::ui::InletPropertyBag::grateWidth |
|
readwrite |
◆ openFraction
| double openswmmvis::ui::InletPropertyBag::openFraction |
|
readwrite |
◆ slotLength
| double openswmmvis::ui::InletPropertyBag::slotLength |
|
readwrite |
◆ slotWidth
| double openswmmvis::ui::InletPropertyBag::slotWidth |
|
readwrite |
◆ splashVelocity
| double openswmmvis::ui::InletPropertyBag::splashVelocity |
|
readwrite |
◆ throatAngle
| ThroatTypeQ openswmmvis::ui::InletPropertyBag::throatAngle |
|
readwrite |
The documentation for this class was generated from the following files: