Engauge Digitizer 2
Loading...
Searching...
No Matches
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"
9#include "FittingWindow.h"
10#include "GeometryWindow.h"
11#include "Logger.h"
12#include "MainWindow.h"
13
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}
QVector< double > FittingCurveCoefficients
Coefficients x0, x1, ... in y = a0 + a1 * x + a2 * x^2 + ...
log4cpp::Category * mainCat
Definition Logger.cpp:14
Dockable text window containing checklist guide.
void create(MainWindow &mw)
Create QMenu menu items.
CreateDockableWidgets()
Single constructor.
Window that displays curve fitting as applied to the currently selected curve.
Window that displays the geometry information, as a table, for the current curve.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition MainWindow.h:95
#define LOG4CPP_INFO_S(logger)
Definition convenience.h:18