MRPT
1.9.9
about_box_qt.cpp
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| https://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6
| See: https://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See: https://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
10
#include "
gui-precomp.h
"
// Precompiled headers
11
12
#include <
mrpt/core/exceptions.h
>
13
#include <
mrpt/gui/about_box.h
>
14
15
#if MRPT_HAS_Qt5
16
#include "
CAboutBoxQt.h
"
17
#endif
18
19
void
mrpt::gui::show_mrpt_about_box_Qt
(
20
const
std::string
& appName,
const
std::string
& additionalInfo,
21
const
bool
showStandardInfo)
22
{
23
#if MRPT_HAS_Qt5
24
CAboutBoxQt
dlg(appName, additionalInfo, showStandardInfo);
25
dlg.exec();
26
#else
27
THROW_EXCEPTION
(
"MRPT compiled without Qt support"
);
28
#endif
29
}
THROW_EXCEPTION
#define THROW_EXCEPTION(msg)
Definition:
exceptions.h:67
mrpt::gui::show_mrpt_about_box_Qt
void show_mrpt_about_box_Qt(const std::string &appName, const std::string &additionalInfo=std::string(), const bool showStandardInfo=true)
Definition:
about_box_qt.cpp:19
gui-precomp.h
exceptions.h
CAboutBoxQt
Definition:
CAboutBoxQt.h:17
string
GLsizei const GLchar ** string
Definition:
glext.h:4116
CAboutBoxQt.h
about_box.h
Page generated by
Doxygen 1.8.14
for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019