From 92406bf6a8abc3b90e655ddf927917d86ebed6b1 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Fri, 17 Aug 2012 10:35:39 +0000 Subject: [PATCH] energy calibration is not needed anymore git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@30 af1100a4-978c-4157-bff7-07162d2ba061 --- .../forms/form_energy_calibration.ui | 350 ------------------ slsDetectorGui/include/qEnergyCalibration.h | 59 --- slsDetectorGui/src/qEnergyCalibration.cpp | 58 --- 3 files changed, 467 deletions(-) delete mode 100644 slsDetectorGui/forms/form_energy_calibration.ui delete mode 100644 slsDetectorGui/include/qEnergyCalibration.h delete mode 100644 slsDetectorGui/src/qEnergyCalibration.cpp diff --git a/slsDetectorGui/forms/form_energy_calibration.ui b/slsDetectorGui/forms/form_energy_calibration.ui deleted file mode 100644 index 058aac8ad..000000000 --- a/slsDetectorGui/forms/form_energy_calibration.ui +++ /dev/null @@ -1,350 +0,0 @@ - - - EnergyCalibrationObject - - - - 0 - 0 - 500 - 300 - - - - - 0 - 0 - - - - Energy Calibration - - - false - - - QWizard::ModernStyle - - - Qt::AutoText - - - - - 0 - 0 - - - - ArrowCursor - - - Qt::NoFocus - - - - - - <font color = "darkblue">Calibration Setup</font> - - - - - - - 30 - - - 9 - - - 9 - - - 9 - - - 5 - - - - - - 0 - 0 - - - - Qt::NoFocus - - - Start New Calibration - - - - - - - - 0 - 0 - - - - Qt::NoFocus - - - Add to Existing Calibration - - - - - - - - 0 - 0 - - - - Qt::NoFocus - - - Generate Calibration Files - - - - - - - - 0 - 0 - - - - Qt::NoFocus - - - Detector Online - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 15 - - - - - - - - - 0 - 0 - - - - <font color="red">No File Selected</font> - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 20 - - - - - - - - - - 0 - 0 - - - - <font color = "darkblue">Summary of the Calibration</font> - - - - - - - 30 - - - - - Settings: - - - - - - - - Standard - - - - - Fast - - - - - High Gain - - - - - Dynamic Gain - - - - - Low Gain - - - - - Medium Gain - - - - - Very High Gain - - - - - - - - Number of Modules: - - - - - - - - - - Serial Numbers: - - - - - - - true - - - - - - - Number of energies: - - - - - - - Energies: - - - - - - - - <font color = "darkblue">Add Calibration Step</font> - - - - - - - - <font color = "darkblue">Add Calibration Step OFFLINE</font> - - - - - - - - <font color = "darkblue">Finalize Calibration</font> - - - - - - - - <font color = "darkblue">Fit Module</font> - - - - - - - - <font color = "darkblue">Linear Fit of Module</font> - - - - - - - - <font color = "darkblue">Error</font> - - - - - - - - <font color = "darkblue">Calibrating...</font> - - - - - - - - <font color = "darkblue">Finished</font> - - - - - - - - - diff --git a/slsDetectorGui/include/qEnergyCalibration.h b/slsDetectorGui/include/qEnergyCalibration.h deleted file mode 100644 index e33ed3584..000000000 --- a/slsDetectorGui/include/qEnergyCalibration.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * qEnergyCalibration.h - * - * Created on: May 10, 2012 - * Author: l_maliakal_d - */ - -#ifndef QENERGY_CALIBRATION_H_ -#define QENERGY_CALIBRATION_H_ - -/** Form Header */ -#include "ui_form_energy_calibration.h" -/** Project Class Headers */ -class multiSlsDetector; - -/** - *@short sets up the advanced parameters - */ -class qEnergyCalibration:public QWizard, private Ui::EnergyCalibrationObject{ - Q_OBJECT - -public: - /** \short The constructor - * @param parent is the parent tab widget - * @param detector is the detector returned from the detector tab - */ - qEnergyCalibration(QWidget *parent,multiSlsDetector*& detector); - - /** Destructor - */ - ~qEnergyCalibration(); - - /** To refresh and update widgets - */ - void Refresh(); - - -private: - /** The sls detector object */ - multiSlsDetector *myDet; - - /** Sets up the widget - */ - void SetupWidgetWindow(); - - /** Sets up all the slots and signals - */ - void Initialization(); - - - -private slots: - - -}; - - - -#endif /* QENERGY_CALIBRATION_H_ */ diff --git a/slsDetectorGui/src/qEnergyCalibration.cpp b/slsDetectorGui/src/qEnergyCalibration.cpp deleted file mode 100644 index d543ccbba..000000000 --- a/slsDetectorGui/src/qEnergyCalibration.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/* - * qEnergyCalibration.cpp - * - * Created on: May 10, 2012 - * Author: l_maliakal_d - */ -#include "qEnergyCalibration.h" -#include "qDefs.h" -/** Project Class Headers */ -#include "slsDetector.h" -#include "multiSlsDetector.h" -/** C++ Include Headers */ -#include -using namespace std; - - - - -qEnergyCalibration::qEnergyCalibration(QWidget *parent,multiSlsDetector*& detector):QWizard(parent),myDet(detector){ - setupUi(this); - SetupWidgetWindow(); - Initialization(); -} - - - - -qEnergyCalibration::~qEnergyCalibration(){ - delete myDet; -} - - - - -void qEnergyCalibration::SetupWidgetWindow(){ - -} - - - -void qEnergyCalibration::Initialization(){ - -} - - - - - -//------------------------------------------------------------------------------------------------------------------------------------------------- - - -void qEnergyCalibration::Refresh(){ - -} - - -//------------------------------------------------------------------------------------------------------------------------------------------------- -