Skip to content

ENH: adding more Suffixes in Units

Davide Punzo requested to merge github/fork/Punzo/AdditionalSuffixes into master

Hi,

in order to enable proper format for units with more suffixes (see figure below), I'd like to propose the following changes:

  1. adding SecondSuffix and ThirdSuffix in MRML, Logic and Qt classes of Units.

  2. Overload of GetDisplayStringFromValue

  3. Overload of GetDisplayStringFromDisplayValueString

capture

@pieper, @jcfr and @finetjul may you kindly check the pull request?

Thanks ,

Davide.

Merge request reports