Isis 3 Developer Reference
PlotWindowBestFitDialog.h
Go to the documentation of this file.
1 #ifndef PlotWindowBestFitDialog_h
2 #define PlotWindowBestFitDialog_h
3 
4 #include <QDialog>
5 
6 #include <QPointer>
7 
9 #include "PlotWindow.h"
10 
11 class QwtPlotSpectrogram;
12 
13 class QCheckBox;
14 class QComboBox;
15 class QLabel;
16 class QLineEdit;
17 class QPushButton;
18 class QWidget;
19 
20 namespace Isis {
31  Q_OBJECT
32 
33  public:
34  PlotWindowBestFitDialog(PlotWindow *windowWithCurves, QWidget *parent);
35  virtual ~PlotWindowBestFitDialog();
36 
37  public slots:
38  void createBestFitLine();
39  void readCurvesFromWindow();
40 
41  private slots:
42  void refreshWidgetStates();
43 
44  private:
45  CubePlotCurve *selectedCurve();
46  QwtPlotSpectrogram *selectedSpectrogram();
47 
54 
61  PlotWindowBestFitDialog &operator=(
62  const PlotWindowBestFitDialog &other);
63 
64  private:
66  QPointer<QComboBox> m_curvesCombo;
68  QPointer<QLabel> m_equationLabel;
70  QPointer<QLabel> m_correlationLabel;
72  QPointer<QLabel> m_determinationLabel;
78  QPointer<QPushButton> m_okayButton;
79 
81  QPointer<PlotWindow> m_plotWindowWithCurves;
82 
84  QScopedPointer<MultivariateStatistics> m_curveMultivariateStats;
85  };
86 }
87 
88 #endif
PlotWindowBestFitDialog(PlotWindow *windowWithCurves, QWidget *parent)
Create a PlotWindowBestFitDialog.
Definition: PlotWindowBestFitDialog.cpp:33
void createBestFitLine()
This is called when the user wants the best fit line.
Definition: PlotWindowBestFitDialog.cpp:112
Definition: PlotWindow.h:88
virtual ~PlotWindowBestFitDialog()
Definition: PlotWindowBestFitDialog.cpp:101
Definition: PlotWindowBestFitDialog.h:30
This is a plot curve with information relating it to a particular cube or region of a cube...
Definition: CubePlotCurve.h:68
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void readCurvesFromWindow()
This populates the curve selection combo with all of the available information inside of the PlotWind...
Definition: PlotWindowBestFitDialog.cpp:203