qmca
0.0.20
|
#include <mcacontroller.h>
Public Slots | |
void | printGraph () |
void | wantToQuit () |
void | zoomIn () |
void | zoomOut () |
void | autoscaleGraph () |
void | saveData () |
void | saveEnergyWindows () |
void | loadEnergyWindows () |
void | save_a () |
void | save_b () |
void | save_c () |
void | clear_a () |
void | clear_b () |
void | clear_c () |
Public Member Functions | |
MCAController (MCAMainWindow *w, QObject *parent=0) | |
~MCAController () | |
void | addArgument (QString arg) |
void | replot () |
QwtPlot * | graph () |
Private Types | |
enum | Adding { NONE, MCA, AMP, ADC, TCA, HVPS, BM12 } |
Private Member Functions | |
void | save_curves (QList< QwtPlotCurve * > &crvs, QString suffix, Qt::PenStyle style) |
void | clear_curves (QList< QwtPlotCurve * > &crvs) |
Private Attributes | |
MCAMainWindow * | m_MainWindow |
QMCAControlPanel * | m_MainControlPanel |
QList< QwtPlotCurve * > | m_MCACurves |
QList< QwtPlotCurve * > | m_MCACurvesA |
QList< QwtPlotCurve * > | m_MCACurvesB |
QList< QwtPlotCurve * > | m_MCACurvesC |
QwtPlot * | m_Plot |
QwtPlotZoomer * | m_Zoomer |
QwtPlotPanner * | m_Panner |
QwtLegend * | m_Legend |
QwtPlotGrid * | m_Grid |
Adding | m_Adding |
MCAControlPanel * | m_MCAControlPanel |
AmplifierControlPanel * | m_AmplifierControlPanel |
A2DConverterControlPanel * | m_A2DConverterControlPanel |
PulseAnalyserControlPanel * | m_PulseAnalyserControlPanel |
PowerSupplyControlPanel * | m_PowerSupplyControlPanel |
BM12ControlPanel * | m_BM12ControlPanel |
QTimer * | m_Timer |
Definition at line 32 of file mcacontroller.h.
|
private |
Enumerator | |
---|---|
NONE | |
MCA | |
AMP | |
ADC | |
TCA | |
HVPS | |
BM12 |
Definition at line 68 of file mcacontroller.h.
MCAController::MCAController | ( | MCAMainWindow * | w, |
QObject * | parent = 0 |
||
) |
Definition at line 39 of file mcacontroller.cpp.
References autoscaleGraph(), loadEnergyWindows(), m_Legend, m_MainWindow, m_Panner, m_Pens, m_Plot, m_Zoomer, NPENS, printGraph(), saveData(), saveEnergyWindows(), wantToQuit(), zoomIn(), and zoomOut().
MCAController::~MCAController | ( | ) |
Definition at line 111 of file mcacontroller.cpp.
void MCAController::addArgument | ( | QString | arg | ) |
Definition at line 115 of file mcacontroller.cpp.
References ADC, AMP, AmplifierControlPanel::append(), A2DConverterControlPanel::append(), PulseAnalyserControlPanel::append(), MCAControlPanel::append(), BM12, HVPS, m_A2DConverterControlPanel, m_Adding, m_AmplifierControlPanel, m_BM12ControlPanel, m_MainControlPanel, m_MCAControlPanel, m_MCACurves, m_Pens, m_Plot, m_PowerSupplyControlPanel, m_PulseAnalyserControlPanel, MCA, NPENS, and TCA.
|
slot |
Definition at line 245 of file mcacontroller.cpp.
References m_Plot, m_Zoomer, and replot().
Referenced by MCAController().
|
slot |
Definition at line 297 of file mcacontroller.cpp.
References clear_curves(), and m_MCACurvesA.
|
slot |
Definition at line 304 of file mcacontroller.cpp.
References clear_curves(), and m_MCACurvesB.
|
slot |
Definition at line 311 of file mcacontroller.cpp.
References clear_curves(), and m_MCACurvesC.
|
private |
Definition at line 356 of file mcacontroller.cpp.
QwtPlot * MCAController::graph | ( | ) |
Definition at line 192 of file mcacontroller.cpp.
References m_Plot.
Referenced by QMCAControlPanel::newBM12ControlPanel().
|
slot |
Definition at line 269 of file mcacontroller.cpp.
References m_BM12ControlPanel.
Referenced by MCAController().
|
slot |
void MCAController::replot | ( | ) |
Definition at line 183 of file mcacontroller.cpp.
References m_Plot, and m_Zoomer.
Referenced by MCAPlotCurve::arrayValueChanged(), autoscaleGraph(), zoomIn(), and zoomOut().
|
slot |
Definition at line 276 of file mcacontroller.cpp.
References m_MCACurvesA, and save_curves().
|
slot |
Definition at line 283 of file mcacontroller.cpp.
References m_MCACurvesB, and save_curves().
|
slot |
Definition at line 290 of file mcacontroller.cpp.
References m_MCACurvesC, and save_curves().
|
private |
Definition at line 318 of file mcacontroller.cpp.
References m_MCACurves, and m_Plot.
Referenced by save_a(), save_b(), and save_c().
|
slot |
Definition at line 255 of file mcacontroller.cpp.
References m_BM12ControlPanel.
Referenced by MCAController().
|
slot |
Definition at line 262 of file mcacontroller.cpp.
References m_BM12ControlPanel.
Referenced by MCAController().
|
slot |
Definition at line 222 of file mcacontroller.cpp.
Referenced by MCAController().
|
slot |
Definition at line 231 of file mcacontroller.cpp.
References m_Plot, m_Zoomer, and replot().
Referenced by MCAController().
|
slot |
Definition at line 238 of file mcacontroller.cpp.
References m_Plot, m_Zoomer, and replot().
Referenced by MCAController().
|
private |
Definition at line 86 of file mcacontroller.h.
Referenced by addArgument().
|
private |
Definition at line 83 of file mcacontroller.h.
Referenced by addArgument().
|
private |
Definition at line 85 of file mcacontroller.h.
Referenced by addArgument().
|
private |
Definition at line 89 of file mcacontroller.h.
Referenced by addArgument(), loadEnergyWindows(), saveData(), and saveEnergyWindows().
|
private |
Definition at line 82 of file mcacontroller.h.
|
private |
Definition at line 81 of file mcacontroller.h.
Referenced by MCAController().
|
private |
Definition at line 73 of file mcacontroller.h.
Referenced by addArgument().
|
private |
Definition at line 72 of file mcacontroller.h.
Referenced by MCAController().
|
private |
Definition at line 84 of file mcacontroller.h.
Referenced by addArgument().
|
private |
Definition at line 74 of file mcacontroller.h.
Referenced by addArgument(), and save_curves().
|
private |
Definition at line 75 of file mcacontroller.h.
|
private |
Definition at line 76 of file mcacontroller.h.
|
private |
Definition at line 77 of file mcacontroller.h.
|
private |
Definition at line 80 of file mcacontroller.h.
Referenced by MCAController().
|
private |
Definition at line 78 of file mcacontroller.h.
Referenced by addArgument(), autoscaleGraph(), graph(), MCAController(), printGraph(), replot(), save_curves(), zoomIn(), and zoomOut().
|
private |
Definition at line 88 of file mcacontroller.h.
Referenced by addArgument().
|
private |
Definition at line 87 of file mcacontroller.h.
Referenced by addArgument().
|
private |
Definition at line 90 of file mcacontroller.h.
|
private |
Definition at line 79 of file mcacontroller.h.
Referenced by autoscaleGraph(), MCAController(), replot(), zoomIn(), and zoomOut().