Engauge Digitizer
2
Create
CreateCentralWidget.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 "
CreateCentralWidget.h
"
8
#include "
Logger.h
"
9
#include "
MainWindow.h
"
10
#include <QVBoxLayout>
11
#include <QWidget>
12
13
CreateCentralWidget::CreateCentralWidget
()
14
{
15
}
16
17
void
CreateCentralWidget::create
(
MainWindow
&mw)
18
{
19
LOG4CPP_INFO_S
((*
mainCat
)) <<
"CreateCentralWidget::create"
;
20
21
QWidget *widget =
new
QWidget;
22
mw.setCentralWidget (widget);
23
mw.m_layout =
new
QVBoxLayout;
24
widget->setLayout (mw.m_layout);
25
}
CreateCentralWidget.h
CreateCentralWidget::create
void create(MainWindow &mw)
Create QGraphicsScene.
Definition:
CreateCentralWidget.cpp:17
MainWindow.h
LOG4CPP_INFO_S
#define LOG4CPP_INFO_S(logger)
Definition:
convenience.h:18
CreateCentralWidget::CreateCentralWidget
CreateCentralWidget()
Single constructor.
Definition:
CreateCentralWidget.cpp:13
Logger.h
mainCat
log4cpp::Category * mainCat
Definition:
Logger.cpp:14
MainWindow
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition:
MainWindow.h:91
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.14