Engauge Digitizer
2
Loading...
Searching...
No Matches
Create
CreateScene.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 "
CreateScene.h
"
8
#include "
GraphicsScene.h
"
9
#include "
GraphicsView.h
"
10
#include "
Logger.h
"
11
#include "
MainWindow.h
"
12
#include <QVBoxLayout>
13
14
CreateScene::CreateScene
()
15
{
16
}
17
18
void
CreateScene::create
(
MainWindow
&mw)
19
{
20
LOG4CPP_INFO_S
((*
mainCat
)) <<
"CreateScene::create"
;
21
22
mw.m_scene =
new
GraphicsScene
(&mw);
23
mw.m_view =
new
GraphicsView
(mw.m_scene, mw);
24
mw.m_layout->addWidget (mw.m_view);
25
}
26
CreateScene.h
GraphicsScene.h
GraphicsView.h
mainCat
log4cpp::Category * mainCat
Definition
Logger.cpp:14
Logger.h
MainWindow.h
CreateScene::create
void create(MainWindow &mw)
Create QGraphicsScene.
Definition
CreateScene.cpp:18
CreateScene::CreateScene
CreateScene()
Single constructor.
Definition
CreateScene.cpp:14
GraphicsScene
Add point and line handling to generic QGraphicsScene.
Definition
GraphicsScene.h:37
GraphicsView
QGraphicsView class with event handling added. Typically the events are sent to the active digitizing...
Definition
GraphicsView.h:21
MainWindow
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition
MainWindow.h:92
LOG4CPP_INFO_S
#define LOG4CPP_INFO_S(logger)
Definition
convenience.h:18
Generated on Wed Aug 3 2022 00:00:00 for Engauge Digitizer by
1.10.0