Engauge Digitizer 2
Loading...
Searching...
No Matches
CreateDockableWidgets Class Reference

Class to create QDockWidget items for MainWindow class. More...

#include <CreateDockableWidgets.h>

Inheritance diagram for CreateDockableWidgets:
Inheritance graph
Collaboration diagram for CreateDockableWidgets:
Collaboration graph

Public Member Functions

 CreateDockableWidgets ()
 Single constructor.
void create (MainWindow &mw)
 Create QMenu menu items.

Detailed Description

Class to create QDockWidget items for MainWindow class.

We derive from QObject and use Q_OBJECT so translations work

Definition at line 16 of file CreateDockableWidgets.h.

Constructor & Destructor Documentation

◆ CreateDockableWidgets()

CreateDockableWidgets::CreateDockableWidgets ( )

Single constructor.

Definition at line 14 of file CreateDockableWidgets.cpp.

15{
16}

Member Function Documentation

◆ create()

void CreateDockableWidgets::create ( MainWindow & mw)

Create QMenu menu items.

Definition at line 18 of file CreateDockableWidgets.cpp.

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
#define LOG4CPP_INFO_S(logger)
Definition convenience.h:18

The documentation for this class was generated from the following files: