gaussianplot.h
Go to the documentation of this file.00001 /***************************************************************************/ 00014 #ifndef GAUSSIANPLOT_H 00015 #define GAUSSIANPLOT_H 00016 00017 #include "setigraph.h" 00018 #include "setidefs.h" 00019 00033 class GaussianPlot : public SetiGraph 00034 { 00035 Q_OBJECT 00036 00037 public: 00044 GaussianPlot(QWidget* parent=0, const char* name=0); 00055 GaussianPlot(SetiLoc* loc, QWidget* parent=0, const char* name=0); 00057 ~GaussianPlot(); 00058 00059 public slots: 00065 void showNewGaussianData(GaussianScore score); 00066 00067 protected: // methods 00069 void calculateFitData(); 00077 virtual void paintWidget(QPaintDevice* pd); 00084 void init(); 00085 00086 protected: // attributes 00088 QArray<double> fitData; 00090 GaussianScore gaussian; 00092 bool dataLoaded; 00093 }; 00094 00095 #endif

