Engauge Digitizer
2
Create
CreateDockableWidgets.cpp
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2018 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#include "
ChecklistGuide.h
"
8
#include "
CreateDockableWidgets.h
"
9
#include "
FittingWindow.h
"
10
#include "
GeometryWindow.h
"
11
#include "
Logger.h
"
12
#include "
MainWindow.h
"
13
14
CreateDockableWidgets::CreateDockableWidgets
()
15
{
16
}
17
18
void
CreateDockableWidgets::create
(
MainWindow
&mw)
19
{
20
LOG4CPP_INFO_S
((*
mainCat
)) <<
"CreateDockableWidgets::create"
;
21
22
// Checklist guide starts out hidden. It will be positioned in settingsRead
23
mw.m_dockChecklistGuide =
new
ChecklistGuide
(&mw);
24
connect (mw.m_dockChecklistGuide, SIGNAL (signalChecklistClosed()), &mw, SLOT (slotChecklistClosed()));
25
26
// Fitting window starts out hidden since there is nothing to show initially. It will be positioned in settingsRead
27
mw.m_dockFittingWindow =
new
FittingWindow
(&mw);
28
connect (mw.m_dockFittingWindow, SIGNAL (signalFittingWindowClosed()),
29
&mw, SLOT (slotFittingWindowClosed()));
30
connect (mw.m_dockFittingWindow, SIGNAL (signalCurveFit(
FittingCurveCoefficients
,
double
,
double
,
bool
,
bool
)),
31
&mw, SLOT (slotFittingWindowCurveFit(
FittingCurveCoefficients
,
double
,
double
,
bool
,
bool
)));
32
33
// Geometry window starts out hidden since there is nothing to show initially. It will be positioned in settingsRead
34
mw.m_dockGeometryWindow =
new
GeometryWindow
(&mw);
35
connect (mw.m_dockGeometryWindow, SIGNAL (signalGeometryWindowClosed()),
36
&mw, SLOT (slotGeometryWindowClosed()));
37
38
}
MainWindow.h
LOG4CPP_INFO_S
#define LOG4CPP_INFO_S(logger)
Definition:
convenience.h:18
GeometryWindow
Window that displays the geometry information, as a table, for the current curve. ...
Definition:
GeometryWindow.h:28
CreateDockableWidgets::create
void create(MainWindow &mw)
Create QMenu menu items.
Definition:
CreateDockableWidgets.cpp:18
ChecklistGuide
Dockable text window containing checklist guide.
Definition:
ChecklistGuide.h:16
GeometryWindow.h
CreateDockableWidgets.h
ChecklistGuide.h
Logger.h
mainCat
log4cpp::Category * mainCat
Definition:
Logger.cpp:14
FittingCurveCoefficients
QVector< double > FittingCurveCoefficients
Coefficients x0, x1, ... in y = a0 + a1 * x + a2 * x^2 + ...
Definition:
FittingCurveCoefficients.h:13
FittingWindow
Window that displays curve fitting as applied to the currently selected curve.
Definition:
FittingWindow.h:34
FittingWindow.h
MainWindow
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition:
MainWindow.h:91
CreateDockableWidgets::CreateDockableWidgets
CreateDockableWidgets()
Single constructor.
Definition:
CreateDockableWidgets.cpp:14
Generated on Sat Dec 7 2019 13:43:37 for Engauge Digitizer by
1.8.14