Mantid
|
SlitCalculator : A calculator for Reflectometry instrument slits. More...
#include <SlitCalculator.h>
Public Member Functions | |
void | processInstrumentHasBeenChanged () override |
void | setCurrentInstrumentName (const std::string &instrumentName) override |
void | show () override |
SlitCalculator (QWidget *parent) | |
~SlitCalculator () override | |
Public Member Functions inherited from MantidQt::MantidWidgets::ISlitCalculator | |
virtual void | processInstrumentHasBeenChanged ()=0 |
virtual void | setCurrentInstrumentName (const std::string &instrumentName)=0 |
virtual void | show ()=0 |
virtual | ~ISlitCalculator ()=default |
Protected Attributes | |
Ui::SlitCalculator | ui |
Private Slots | |
void | on_recalculate_triggered () |
Private Member Functions | |
std::string | getCurrentInstrumentName () |
Mantid::Geometry::Instrument_const_sptr | getInstrument () |
void | setInstrument (const std::string &instrumentName) |
void | setupSlitCalculatorWithInstrumentValues (const Mantid::Geometry::Instrument_const_sptr &) |
Private Attributes | |
std::string | currentInstrumentName |
Mantid::Geometry::Instrument_const_sptr | instrument |
SlitCalculator : A calculator for Reflectometry instrument slits.
Definition at line 23 of file SlitCalculator.h.
MantidQt::MantidWidgets::SlitCalculator::SlitCalculator | ( | QWidget * | parent | ) |
Definition at line 18 of file SlitCalculator.cpp.
References currentInstrumentName, on_recalculate_triggered(), setInstrument(), and ui.
|
overridedefault |
|
private |
Definition at line 88 of file SlitCalculator.cpp.
References currentInstrumentName.
|
private |
Definition at line 84 of file SlitCalculator.cpp.
References instrument.
Referenced by on_recalculate_triggered().
|
privateslot |
Definition at line 89 of file SlitCalculator.cpp.
References currentInstrumentName, getInstrument(), Mantid::Kernel::SingletonHolder< T >::Instance(), setInstrument(), and ui.
Referenced by processInstrumentHasBeenChanged(), and SlitCalculator().
|
overridevirtual |
Implements MantidQt::MantidWidgets::ISlitCalculator.
Definition at line 29 of file SlitCalculator.cpp.
References on_recalculate_triggered().
|
overridevirtual |
Implements MantidQt::MantidWidgets::ISlitCalculator.
Definition at line 85 of file SlitCalculator.cpp.
References currentInstrumentName.
|
private |
Definition at line 35 of file SlitCalculator.cpp.
References Mantid::API::InstrumentFileFinder::getInstrumentFilename(), Mantid::Geometry::InstrumentDefinitionParser::getMangledName(), Mantid::Kernel::SingletonHolder< T >::Instance(), instrument, Mantid::Kernel::Strings::loadFile(), Mantid::Geometry::InstrumentDefinitionParser::parseXML(), and setupSlitCalculatorWithInstrumentValues().
Referenced by on_recalculate_triggered(), and SlitCalculator().
|
private |
Definition at line 60 of file SlitCalculator.cpp.
References instrument, and ui.
Referenced by setInstrument().
|
overridevirtual |
Implements MantidQt::MantidWidgets::ISlitCalculator.
Definition at line 58 of file SlitCalculator.cpp.
|
private |
Definition at line 37 of file SlitCalculator.h.
Referenced by getCurrentInstrumentName(), on_recalculate_triggered(), setCurrentInstrumentName(), and SlitCalculator().
|
private |
Definition at line 36 of file SlitCalculator.h.
Referenced by getInstrument(), setInstrument(), and setupSlitCalculatorWithInstrumentValues().
|
protected |
Definition at line 33 of file SlitCalculator.h.
Referenced by on_recalculate_triggered(), setupSlitCalculatorWithInstrumentValues(), and SlitCalculator().