23 : m_instrumentItem(instrument)
35 if (d.
get() != newValue) {
52 pw->updateIndicators();
62 specularBeam->updateWavelength();
Defines class DoubleDescriptor.
Defines class InstrumentEditController.
Defines class InstrumentItem and all its children.
Defines class InstrumentsEditController.
Defines pointwise axis item.
Describes properties of a double value which are necessary to allow GUI representation,...
function< void(double)> set
function to set the value
function< double()> get
function to get the current value
void notifyWavelengthDistributionChanged()
Update dependent data and emit a changed signal.
InstrumentEditController(InstrumentsEditController *ec, InstrumentItem *instrument)
InstrumentItem * m_instrumentItem
void setDouble(DoubleDescriptor &d, double newValue)
Sets the double and emits InstrumentsEditController::instrumentChanged if the double changed.
InstrumentsEditController * m_ec
void notifyInclinationAxisChanged()
Update dependent data and emit a changed signal.
void setInstrumentName(const QString &name)
Set the instrument name and emit the respective signal.
void notifyInstrumentChanged()
Call this if any instrument value has been changed outside this controller.
Abstract base class for instrument-specific item classes.
virtual BeamItem * beamItem() const
Class to modify the instruments list or a single instrument and provide the necessary signaling withi...
void instrumentChanged(const InstrumentItem *instrument)
Signals any change in the settings of the given instrument.
void setInstrumentName(InstrumentItem *instrument, const QString &name)
Set an instrument's name and emit the respective signal.
Item for non-uniform axis with specified coordinates.
QString const & name(EShape k)