Engauge Digitizer
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Create
CreateHelpWindow.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 "
CreateHelpWindow.h
"
8
#include "
HelpWindow.h
"
9
#include "
Logger.h
"
10
#include "
MainWindow.h
"
11
#include <QAction>
12
13
CreateHelpWindow::CreateHelpWindow
()
14
{
15
}
16
17
void
CreateHelpWindow::create
(
MainWindow
&
18
#
if
!defined(OSX_DEBUG) && !defined(OSX_RELEASE)
19
mw
20
#endif
21
)
22
{
23
LOG4CPP_INFO_S
((*
mainCat
)) <<
"CreateHelpWindow::create"
;
24
25
#if !defined(OSX_DEBUG) && !defined(OSX_RELEASE)
26
mw.m_helpWindow =
new
HelpWindow
(&mw);
27
mw.m_helpWindow->hide ();
28
mw.addDockWidget (Qt::RightDockWidgetArea,
29
mw.m_helpWindow);
// Dock area is required by addDockWidget but immediately overridden in next line
30
mw.m_helpWindow->setFloating (
true
);
31
32
connect (mw.m_actionHelpHelp, SIGNAL (triggered ()), mw.m_helpWindow, SLOT (show ()));
33
#endif
34
}
35
HelpWindow
Dockable help window.
Definition:
HelpWindow.h:16
MainWindow.h
CreateHelpWindow.h
LOG4CPP_INFO_S
#define LOG4CPP_INFO_S(logger)
Definition:
convenience.h:18
CreateHelpWindow::create
void create(MainWindow &mw)
Create HelpWindow.
Definition:
CreateHelpWindow.cpp:17
HelpWindow.h
Logger.h
mainCat
log4cpp::Category * mainCat
Definition:
Logger.cpp:14
CreateHelpWindow::CreateHelpWindow
CreateHelpWindow()
Single constructor.
Definition:
CreateHelpWindow.cpp:13
MainWindow
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition:
MainWindow.h:91
Generated on Thu Dec 19 2019 13:20:02 for Engauge Digitizer by
1.8.5