7 #ifndef FITTING_WINDOW_H 8 #define FITTING_WINDOW_H 10 #include "DocumentModelExportFormat.h" 11 #include "FittingCurveCoefficients.h" 12 #include "FittingPointsConvenient.h" 14 #include "WindowAbstractBase.h" 43 virtual void clear ();
48 const QString &curveSelected,
50 virtual QTableView *
view ()
const;
55 void slotCmbOrder(
int index);
60 void signalCurveFit(FittingCurveCoefficients,
double,
double,
bool,
bool);
68 void calculateCurveFitAndStatistics ();
70 void initializeOrder ();
71 int maxOrder ()
const;
73 void resizeTable (
int order);
75 QComboBox *m_cmbOrder;
79 QLineEdit *m_lblMeanSquareError;
80 QLineEdit *m_lblRootMeanSquare;
81 QLineEdit *m_lblRSquared;
83 QString m_curveSelected;
86 FittingPointsConvenient m_pointsConvenient;
89 QVector<double> m_coefficients;
95 #endif // FITTING_WINDOW_H
Dockable widget abstract base class.
virtual void update(const CmdMediator &cmdMediator, const MainWindowModel &modelMainWindow, const QString &curveSelected, const Transformation &transformation)
Populate the table with the specified Curve.
Model for DlgSettingsMainWindow.
void signalFittingWindowClosed()
Signal that this QDockWidget was just closed.
void signalCurveFit(FittingCurveCoefficients, double, double, bool, bool)
Signal containing coefficients from curve fit.
Matrix class that supports arbitrary NxN size.
virtual QTableView * view() const
QTableView-based class used by child class.
Container for one set of digitized Points.
Window that displays curve fitting as applied to the currently selected curve.
virtual void closeEvent(QCloseEvent *event)
Catch close event so corresponding menu item in MainWindow can be updated accordingly.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
virtual void clear()
Clear stale information.
virtual void doCopy()
Copy the current selection to the clipboard.