Engauge Digitizer  2
 All Classes Functions Variables Typedefs Enumerations Friends Pages
CreateDockableWidgets.cpp
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 
15 {
16 }
17 
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 }
Window that displays the geometry information, as a table, for the current curve. ...
void create(MainWindow &mw)
Create QMenu menu items.
Dockable text window containing checklist guide.
Window that displays curve fitting as applied to the currently selected curve.
Definition: FittingWindow.h:34
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition: MainWindow.h:91
CreateDockableWidgets()
Single constructor.