dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
pathplannergadgetfactory.cpp
Go to the documentation of this file.
1
11
/*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 3 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful, but
18
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20
* for more details.
21
*
22
* You should have received a copy of the GNU General Public License along
23
* with this program; if not, see <http://www.gnu.org/licenses/>
24
*/
25
#include "
pathplannergadgetfactory.h
"
26
#include "
pathplannergadgetwidget.h
"
27
#include "
pathplannergadget.h
"
28
#include <
coreplugin/iuavgadget.h
>
29
30
PathPlannerGadgetFactory::PathPlannerGadgetFactory
(QObject *parent)
31
: IUAVGadgetFactory(QString(
"PathPlannerGadget"
), tr(
"Path Planner"
), parent)
32
{
33
}
34
35
PathPlannerGadgetFactory::~PathPlannerGadgetFactory
()
36
{
37
}
38
39
IUAVGadget *
PathPlannerGadgetFactory::createGadget
(QWidget *parent)
40
{
41
PathPlannerGadgetWidget
*gadgetWidget =
new
PathPlannerGadgetWidget
(parent);
42
return
new
PathPlannerGadget
(QString(
"PathPlannerGadget"
), gadgetWidget, parent);
43
}
pathplannergadgetwidget.h
PathPlannerGadgetFactory::~PathPlannerGadgetFactory
~PathPlannerGadgetFactory()
Definition:
pathplannergadgetfactory.cpp:35
PathPlannerGadget
Definition:
pathplannergadget.h:40
pathplannergadget.h
iuavgadget.h
PathPlannerGadgetWidget
Definition:
pathplannergadgetwidget.h:37
PathPlannerGadgetFactory::PathPlannerGadgetFactory
PathPlannerGadgetFactory(QObject *parent=nullptr)
Definition:
pathplannergadgetfactory.cpp:30
pathplannergadgetfactory.h
PathPlannerGadgetFactory::createGadget
IUAVGadget * createGadget(QWidget *parent)
Definition:
pathplannergadgetfactory.cpp:39
ground
gcs
src
plugins
pathplanner
pathplannergadgetfactory.cpp
Generated by
1.8.6