Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef EXPDECAYDIALOG_H
00030 #define EXPDECAYDIALOG_H
00031
00032 #include <QDialog>
00033
00034 class QPushButton;
00035 class QComboBox;
00036 class QLabel;
00037 class Graph;
00038 class ColorButton;
00039 class Fit;
00040 class DoubleSpinBox;
00041
00043 class ExpDecayDialog : public QDialog
00044 {
00045 Q_OBJECT
00046
00047 public:
00048 ExpDecayDialog( int type, QWidget* parent = 0, Qt::WFlags fl = 0 );
00049
00050 public slots:
00051 void fit();
00052 void setGraph(Graph *g);
00053
00054 private slots:
00055 void activateCurve(const QString& curveName);
00056 void changeDataRange();
00057
00058 signals:
00059 void options(const QString&,double,double,double,double,int);
00060 void options(const QString&, double,double,double,int);
00061 void options3(const QString&,double,double,double,double,double,int);
00062
00063 private:
00064 void closeEvent (QCloseEvent *);
00065
00066 Fit *fitter;
00067 Graph *graph;
00068 int slopes;
00069
00070 QPushButton* buttonFit;
00071 QPushButton* buttonCancel;
00072 QComboBox* boxName;
00073 DoubleSpinBox* boxAmplitude;
00074 DoubleSpinBox* boxFirst;
00075 DoubleSpinBox* boxSecond;
00076 DoubleSpinBox* boxThird;
00077 DoubleSpinBox* boxStart;
00078 DoubleSpinBox* boxYOffset;
00079 QLabel* thirdLabel, *dampingLabel;
00080 ColorButton* boxColor;
00081 };
00082
00083 #endif