![]() |
Diana Software
|
Calibration window for GUI session. More...
Public Member Functions | |
| QGuiCalibrationWindow () | |
| Default constructor. More... | |
| virtual | ~QGuiCalibrationWindow () |
| Destructor. More... | |
| void | AddPeak (const double energy) |
| Add peak energy. More... | |
| void | SetOutputFilename (const std::string filename) |
| Set output filename. More... | |
Public Member Functions inherited from QGuiSessionItem | |
| virtual | ~QGuiSessionItem () |
| Default destructor. More... | |
| void | SetName (const std::string &name) |
| Set name. More... | |
Private Member Functions | |
| std::string | Dump () const |
| Dump to string to write session file. More... | |
Private Attributes | |
| std::vector< double > | fEnergies |
| Peak energies. More... | |
| std::string | fOutputFilename |
| Output filename. More... | |
Friends | |
| class | QGuiSession |
Additional Inherited Members | |
Protected Member Functions inherited from QGuiSessionItem | |
| QGuiSessionItem () | |
| Default constructor. More... | |
Protected Attributes inherited from QGuiSessionItem | |
| std::string | fName |
| Name. More... | |
Calibration window for GUI session.
Definition at line 14 of file QGuiCalibrationWindow.hh.
| QGuiCalibrationWindow::QGuiCalibrationWindow | ( | ) |
Default constructor.
Definition at line 11 of file QGuiCalibrationWindow.cc.
|
virtual |
Destructor.
Definition at line 15 of file QGuiCalibrationWindow.cc.
| void QGuiCalibrationWindow::AddPeak | ( | const double | energy | ) |
|
privatevirtual |
Dump to string to write session file.
Reimplemented from QGuiSessionItem.
Definition at line 24 of file QGuiCalibrationWindow.cc.
References CALIBRATION_OUTPUT_FILENAME_KEY, CALIBRATION_WINDOW_KEY, fEnergies, fOutputFilename, and PEAK_KEY.
|
inline |
Set output filename.
Definition at line 26 of file QGuiCalibrationWindow.hh.
References fOutputFilename.
|
friend |
Definition at line 40 of file QGuiCalibrationWindow.hh.
|
private |
Peak energies.
Definition at line 35 of file QGuiCalibrationWindow.hh.
|
private |
Output filename.
Definition at line 38 of file QGuiCalibrationWindow.hh.
Referenced by Dump(), and SetOutputFilename().