GUI refactoring: rm mappers from specular and projection plots
This series of commits introduces mappers replacement, plots synchronization and some cleanup around it.
Here the mappers are removed from SpecularPlot
and Plot1D
. They are replaced by multiple simple connections, listening to corresponding signals from the data items and their axes items. In ProjectionsPlot
only part of mappers is replaced.
After that some cleanup is done in specular, intensity and projections plot widgets: functions that not used anymore are deleted. Switch macro USE_MAPPERS
and the old mappers code kept before for the easier comparison is removed.
The plots synchronization is implemented in IntensityDataPropertyWidget
and SpecularDataPropertyWidget
, which accept the list of items that are plotted. The changes in ranges or other properties are applied to all the items. For this purpose the functionality of createDoubleSpinbox
, createTextEdit
, createComboBox
is extended.