19 : m_instruments(instruments)
Defines class InstrumentItem and all its children.
Defines class InstrumentsEditController.
void removeInstrument(InstrumentItem *instrument)
InstrumentItem * insertCopy(const InstrumentItem &source)
Inserts a deep copy (also of any non xml data in a pointwise axis) The id will not be copied,...
Abstract base class for instrument-specific item classes.
virtual void updateToRealData(const RealDataItem *item)=0
QString instrumentName() const
void setInstrumentName(const QString &instrumentName)
InstrumentItem * addCopy(const InstrumentItem *instrument, const QString &name)
Copy an instrument, set its name and emit the respective signal.
void instrumentNameChanged(const InstrumentItem *instrument)
Signals name change of the given instrument.
void instrumentAddedOrRemoved()
Signals a change in the list of instruments.
void instrumentChanged(const InstrumentItem *instrument)
Signals any change in the settings of the given instrument.
void notifyInstrumentChanged(InstrumentItem *instrument)
Simply emits the instrumentChanged signal. Call this whenever you change an instrument's data without...
void setInstrumentName(InstrumentItem *instrument, const QString &name)
Set an instrument's name and emit the respective signal.
void removeInstrument(InstrumentItem *instrument)
Add an instrument and emit the respective signal.
InstrumentsEditController(InstrumentCollection *instruments)
InstrumentCollection * collectedItems()
The list of existing instruments.
void updateInstrumentToRealDataItem(InstrumentItem *instrument, const RealDataItem *realDataItem)
Calls the instrument's updateToRealData and emits the respective signal.
InstrumentCollection * m_instruments
The edited/controlled instruments. This pointer is borrowed, not owned.
Provides access to experimental data, for display and fitting. Owns an AbstractDataLoader.
QString const & name(EShape k)