"Scale" requires units in constructor (Units MR 2)
Main changes:
- Units are stored not in the name of
Scale
, but in separate variable. -
Scale
requires units to be passed in constructor. Units are also explicitly passed in few example files. -
axisLabel()
andaxisName()
are separated, units are not included to name. - Renames:
plottableScale
-->convertedScale
&&plottableFrame
-->convertedFrame
. This is because such conversions are needed not only for plotting, but also for internal purposes.
Does point 2 in the list:
- Create common unit types for core and GUI
- Accept and store units in
Scale
- Pass units from GUI
- Restore units conversion functions depending on instrument/detector type
- Restore units combo box
- Restore units conversion for loaded data
- Restore xml backward compatibility with v20.x
Edited by Mikhail Svechnikov