15 #ifndef BORNAGAIN_GUI_VIEW_PLOTCOMPARISON_PROPERTYREPEATER_H
16 #define BORNAGAIN_GUI_VIEW_PLOTCOMPARISON_PROPERTYREPEATER_H
30 explicit PropertyRepeater(QObject* parent =
nullptr,
bool repeat_child_properties =
false);
Tracks property change (axes range, units etc) for the collection of IntensityDataItems and sets same...
bool m_repeat_child_properties
~PropertyRepeater() override
void setActive(bool isActive)
QVector< SessionItem * > m_dataItems
void setOnChildPropertyChange(SessionItem *item, const QString &propertyName)
QVector< SessionItem * > targetItems(SessionItem *sourceItem)
Returns list of target items to update their properties.
void onPropertyChanged(SessionItem *item, const QString &propertyName)
PropertyRepeater(QObject *parent=nullptr, bool repeat_child_properties=false)
void addItem(SessionItem *sessionItem)
Base class for a GUI data item.