Engauge Digitizer 2
Loading...
Searching...
No Matches
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
8#include "Logger.h"
9#include "MainWindow.h"
10#include <QVBoxLayout>
11#include <QWidget>
12
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}
log4cpp::Category * mainCat
Definition Logger.cpp:14
void create(MainWindow &mw)
Create QGraphicsScene.
CreateCentralWidget()
Single constructor.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition MainWindow.h:92
#define LOG4CPP_INFO_S(logger)
Definition convenience.h:18