Skip to content

GUI: use only SpecularDataItem for specular plots

Mikhail Svechnikov requested to merge spec_plot_without_1D_view_class into main

This MR is a part of bigger (but finished) work, so many of these changes are not final and will be replaced by others in subsequent MRs.

  • The common functionality for SpecularDataItem and IntensityDataItem is moved to DataItem.

  • SpecularDataItem got some properties for setting line type, color, thickness and scatter of the plotted graphs. The temporary initialization of these properties for real specular data is done in JobItem.

  • New class DataItemBundleWidget is created. It is intended for use as base for widgets that should accept several DataItems simultaneously. Currently, it is indirect base for SpecularPlot and ColorMap.

  • Synchronization of several plotted specular data items is moved to FitComparisonWidget1D and SpecularDataPropertyWidget. Special class FitComparison1DViewController, used before to update difference data between simulated and real data, is eliminated from use.

  • Class Data1DViewItem and classes, designed to work with it (Plot1D, Plot1DCanvas), are not in use and ready for removal.

Edited by Mikhail Svechnikov

Merge request reports