#include <DetectorChooserPresenter.h>
Public Slots | |
void | changeDetector (int detector) |
void | changeParameter (const QString &name) |
Signals | |
void | detectorChanged () |
Public Member Functions | |
DetectorChooserPresenter (ParameterWidget *chooser) | |
ParameterWidget * | getChooserParameter () |
const ParameterWidget * | getChooserParameter () const |
Detector * | getCurrentDetector () |
const Detector * | getCurrentDetector () const |
DetectorPresenter * | getCurrentDetectorPresenter () |
const DetectorPresenter * | getCurrentDetectorPresenter () const |
void | insertDetector (const QString &name, DetectorPresenter *detector) |
void | setChooser (ParameterWidget *chooser) |
Protected Member Functions | |
void | reconnect () |
void | syncronize () |
Protected Attributes | |
ParameterWidget * | m_chooser |
DetectorPresenter * | m_currentDetectorPresenter |
int | m_currentDetectorPresenterIndex |
QStringList | m_detectorPresenterNames |
QVector< DetectorPresenter * > | m_detectorPresenters |
Definition at line 63 of file DetectorChooserPresenter.h.
DetectorChooserPresenter::DetectorChooserPresenter | ( | ParameterWidget * | chooser | ) |
Definition at line 34 of file DetectorChooserPresenter.cpp.
void DetectorChooserPresenter::changeDetector | ( | int | detector | ) | [slot] |
Definition at line 76 of file DetectorChooserPresenter.cpp.
void DetectorChooserPresenter::changeParameter | ( | const QString & | name | ) | [slot] |
Definition at line 68 of file DetectorChooserPresenter.cpp.
void DetectorChooserPresenter::detectorChanged | ( | ) | [signal] |
ParameterWidget* DetectorChooserPresenter::getChooserParameter | ( | ) | [inline] |
Definition at line 82 of file DetectorChooserPresenter.h.
const ParameterWidget* DetectorChooserPresenter::getChooserParameter | ( | ) | const [inline] |
Definition at line 73 of file DetectorChooserPresenter.h.
Detector* DetectorChooserPresenter::getCurrentDetector | ( | ) | [inline] |
Definition at line 88 of file DetectorChooserPresenter.h.
const Detector* DetectorChooserPresenter::getCurrentDetector | ( | ) | const [inline] |
Definition at line 79 of file DetectorChooserPresenter.h.
DetectorPresenter* DetectorChooserPresenter::getCurrentDetectorPresenter | ( | ) | [inline] |
Definition at line 85 of file DetectorChooserPresenter.h.
const DetectorPresenter* DetectorChooserPresenter::getCurrentDetectorPresenter | ( | ) | const [inline] |
Definition at line 76 of file DetectorChooserPresenter.h.
void DetectorChooserPresenter::insertDetector | ( | const QString & | name, | |
DetectorPresenter * | detector | |||
) |
Definition at line 44 of file DetectorChooserPresenter.cpp.
void DetectorChooserPresenter::reconnect | ( | ) | [protected] |
Definition at line 101 of file DetectorChooserPresenter.cpp.
void DetectorChooserPresenter::setChooser | ( | ParameterWidget * | chooser | ) |
Definition at line 59 of file DetectorChooserPresenter.cpp.
void DetectorChooserPresenter::syncronize | ( | ) | [protected] |
Definition at line 90 of file DetectorChooserPresenter.cpp.
ParameterWidget* DetectorChooserPresenter::m_chooser [protected] |
Definition at line 101 of file DetectorChooserPresenter.h.
Definition at line 102 of file DetectorChooserPresenter.h.
int DetectorChooserPresenter::m_currentDetectorPresenterIndex [protected] |
Definition at line 103 of file DetectorChooserPresenter.h.
QStringList DetectorChooserPresenter::m_detectorPresenterNames [protected] |
Definition at line 105 of file DetectorChooserPresenter.h.
QVector< DetectorPresenter* > DetectorChooserPresenter::m_detectorPresenters [protected] |
Definition at line 104 of file DetectorChooserPresenter.h.