Engauge Digitizer  2
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 
14 {
15 }
16 
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 }
void create(MainWindow &mw)
Create QGraphicsScene.
#define LOG4CPP_INFO_S(logger)
Definition: convenience.h:18
CreateCentralWidget()
Single constructor.
log4cpp::Category * mainCat
Definition: Logger.cpp:14
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition: MainWindow.h:91