gepetto-viewer
4.12.0
An user-friendly Graphical Interface
plugin.hh
Go to the documentation of this file.
1
// Copyright (c) 2018 CNRS
2
// Authors: Joseph Mirabel
3
//
4
//
5
// This file is part of gepetto-viewer
6
// gepetto-viewer is free software: you can redistribute it
7
// and/or modify it under the terms of the GNU Lesser General Public
8
// License as published by the Free Software Foundation, either version
9
// 3 of the License, or (at your option) any later version.
10
//
11
// gepetto-viewer is distributed in the hope that it will be
12
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
// General Lesser Public License for more details. You should have
15
// received a copy of the GNU Lesser General Public License along with
16
// gepetto-viewer If not, see
17
// <http://www.gnu.org/licenses/>.
18
19
#include <QObject>
20
#include <QtGlobal>
21
22
#include <
gepetto/gui/plugin-interface.hh
>
23
24
namespace
PyQCustomPlot
{
37
class
Plugin
:
public
QObject,
public
gepetto::gui::PluginInterface
{
38
Q_OBJECT
39
Q_INTERFACES (
gepetto::gui::PluginInterface
)
40
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
41
Q_PLUGIN_METADATA (IID
"gepetto-viewer.pyqcustomplot"
)
42
#endif
43
44
public
:
45
QString
name
()
const
{
return
QString(
"PyQCustomPlot"
); }
46
48
void
init
();
49
};
52
}
// namespace PyQCustomPlot
PyQCustomPlot::Plugin::name
QString name() const
Definition:
plugin.hh:45
PyQCustomPlot::Plugin
Definition:
plugin.hh:37
gepetto::gui::PluginInterface
Definition:
plugin-interface.hh:33
PyQCustomPlot
Definition:
plugin.hh:24
PyQCustomPlot::Plugin::init
void init()
Calls registerQCustomPlot.
plugin-interface.hh
plugins
pyqcustomplot
plugin.hh
Generated by
1.8.13