Kristian Bendiksen
e21a32a180
#14001 Python: Use AppEnum fields for property_data_type arguments
...
Replace QString + setFromText parsing with typed
caf::PdmField<caf::AppEnum<...>> for m_propertyType and m_porosityModel
on RimcEclipseCase_propertyDataType. The script keywords stay
"PropertyType" / "PorosityModel" so the Python parameter names are
unchanged (property_type, porosity_model), and the auto-generated
StrEnum classes are now PropertyType and PorosityModelType (typed
annotations on the call site).
Register caf::AppEnum<RiaDefines::PorosityModelType> -> "PorosityModelType"
alongside the existing ResultCatType override so PorosityModelType's
auto-generated class name is stable regardless of which field the
generator visits first.
executeEnum() drops the setFromText parsing and the "Invalid property
type / porosity model" branches — the values now flow through typed
already, so an invalid enum text cannot reach the method body.
2026-05-26 08:23:28 +02:00
..
2026-05-08 10:11:09 +02:00
2026-05-15 08:37:46 +02:00
2026-05-26 08:23:28 +02:00
2026-05-26 08:23:28 +02:00
2026-05-15 08:37:46 +02:00
2026-05-15 08:37:46 +02:00
2026-01-05 12:45:32 +01:00
2026-01-05 12:45:32 +01:00
2022-02-07 17:38:19 +00:00
2022-02-07 17:38:19 +00:00
2021-11-14 15:26:09 +01:00
2021-01-11 15:27:45 +01:00
2021-11-14 15:26:09 +01:00
2021-01-11 15:27:45 +01:00
2026-05-15 08:37:46 +02:00
2026-05-15 08:37:46 +02:00
2026-05-26 08:23:28 +02:00
2026-05-26 08:23:28 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2026-01-05 13:15:47 +01:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-11-19 10:25:32 +01:00
2025-06-16 11:05:00 +02:00
2025-10-13 14:14:44 +02:00
2025-10-13 14:14:44 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-08-04 15:25:05 +02:00
2025-08-04 15:25:05 +02:00
2026-05-13 14:53:00 +02:00
2026-05-13 14:53:00 +02:00
2026-05-15 08:37:46 +02:00
2026-05-15 08:37:46 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2026-05-08 10:11:09 +02:00
2025-08-15 18:57:35 +02:00
2026-04-13 10:53:06 +02:00
2026-04-13 10:53:06 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2026-01-05 08:20:30 +01:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2021-11-14 15:26:09 +01:00
2021-01-11 15:27:45 +01:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2026-05-13 14:53:00 +02:00
2026-05-13 14:53:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2026-01-29 11:16:05 +01:00
2026-01-29 11:16:05 +01:00
2026-02-12 08:15:22 +01:00
2026-02-12 08:15:22 +01:00
2026-04-23 19:50:05 +02:00
2026-04-23 19:50:05 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2026-05-08 10:11:09 +02:00
2026-03-06 12:01:14 +01:00
2026-02-12 08:15:22 +01:00
2026-02-12 08:15:22 +01:00
2026-01-13 10:44:55 +01:00
2026-01-13 10:44:55 +01:00
2025-06-16 11:05:00 +02:00
2025-06-16 11:05:00 +02:00
2026-01-29 11:16:05 +01:00
2026-01-29 11:16:05 +01:00