Isis 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
11class QwtPlotSpectrogram;
12
13class QCheckBox;
14class QComboBox;
15class QLabel;
16class QLineEdit;
17class QPushButton;
18class QWidget;
19
20namespace Isis {
31 Q_OBJECT
32
33 public:
34 PlotWindowBestFitDialog(PlotWindow *windowWithCurves, QWidget *parent);
36
37 public slots:
38 void createBestFitLine();
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
This is a plot curve with information relating it to a particular cube or region of a cube.
Definition CubePlotCurve.h:53
Definition PlotWindowBestFitDialog.h:30
PlotWindowBestFitDialog(PlotWindow *windowWithCurves, QWidget *parent)
Create a PlotWindowBestFitDialog.
Definition PlotWindowBestFitDialog.cpp:32
void createBestFitLine()
This is called when the user wants the best fit line.
Definition PlotWindowBestFitDialog.cpp:111
virtual ~PlotWindowBestFitDialog()
Definition PlotWindowBestFitDialog.cpp:100
void readCurvesFromWindow()
This populates the curve selection combo with all of the available information inside of the PlotWind...
Definition PlotWindowBestFitDialog.cpp:202
Definition PlotWindow.h:88
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16