Engauge Digitizer 2
|
Window that displays curve fitting as applied to the currently selected curve. More...
#include <FittingWindow.h>
Signals | |
void | signalCurveFit (FittingCurveCoefficients, double, double, bool, bool) |
Signal containing coefficients from curve fit. | |
void | signalFittingWindowClosed () |
Signal that this QDockWidget was just closed. |
Public Member Functions | |
FittingWindow (MainWindow *mainWindow) | |
Single constructor. Parent is needed or else this widget cannot be redocked after being undocked. | |
virtual | ~FittingWindow () |
virtual void | clear () |
Clear stale information. | |
virtual void | closeEvent (QCloseEvent *event) |
Catch close event so corresponding menu item in MainWindow can be updated accordingly. | |
virtual void | doCopy () |
Copy the current selection to the clipboard. | |
virtual void | update (const CmdMediator &cmdMediator, const MainWindowModel &modelMainWindow, const QString &curveSelected, const Transformation &transformation) |
Populate the table with the specified Curve. | |
virtual QTableView * | view () const |
QTableView-based class used by child class. | |
Public Member Functions inherited from WindowAbstractBase | |
WindowAbstractBase (QWidget *parent) | |
Single constructor. Parent is needed or else this widget cannot be redocked after being undocked. | |
virtual | ~WindowAbstractBase () |
void | getTableStatus (bool &tableIsActive, bool &tableIsCopyable) const |
Give table status so MainWindow can determine if table can be copied. |
Window that displays curve fitting as applied to the currently selected curve.
The strategy used assumes no changes to the DIG file format will be made for the original implementation. Since settings cannot be saved for the Document or Curves, this keeps the implementation simple
Definition at line 34 of file FittingWindow.h.
FittingWindow::FittingWindow | ( | MainWindow * | mainWindow | ) |
Single constructor. Parent is needed or else this widget cannot be redocked after being undocked.
Definition at line 34 of file FittingWindow.cpp.
|
virtual |
Definition at line 57 of file FittingWindow.cpp.
|
virtual |
Clear stale information.
Implements WindowAbstractBase.
Definition at line 102 of file FittingWindow.cpp.
|
virtual |
Catch close event so corresponding menu item in MainWindow can be updated accordingly.
Implements WindowAbstractBase.
Definition at line 111 of file FittingWindow.cpp.
|
virtual |
Copy the current selection to the clipboard.
Implements WindowAbstractBase.
Definition at line 178 of file FittingWindow.cpp.
|
signal |
Signal containing coefficients from curve fit.
|
signal |
Signal that this QDockWidget was just closed.
|
virtual |
Populate the table with the specified Curve.
Implements WindowAbstractBase.
Definition at line 255 of file FittingWindow.cpp.
|
virtual |
QTableView-based class used by child class.
Implements WindowAbstractBase.
Definition at line 311 of file FittingWindow.cpp.