Files
ResInsight/Fwk/AppFwk
Magne Sjaastad 29fc0aeaf5 #13806 PdmScripting: Emit hex strings for cvf::Color3f default values
The Python class generator previously emitted cvf::Color3f defaults using
the raw QTextStream operator ("r g b" floats), which is not valid Python
and does not match the hex-string form that scriptable color fields
expect on writeToField.

Convert Color3f defaults to their QColor::name() hex representation and
quote any non-QString value mapped to "str" (e.g. Color3f, caf::FilePath)
so the generated Python is syntactically valid.
2026-04-20 18:55:36 +02:00
..
2023-04-13 07:05:53 +02:00