Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / pathactioneditor / pathactioneditorgadget.cpp
blob0d78b536c3c2636736a2fae7ebc23501da2a8aba
1 /**
2 ******************************************************************************
3 * @file pathactioneditorgadget.cpp
4 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2012.
5 * @addtogroup PathAction Editor GCS Plugins
6 * @{
7 * @addtogroup PathActionEditorGadgetPlugin PathAction Editor Gadget Plugin
8 * @{
9 * @brief A gadget to edit a list of pathactions
10 *****************************************************************************/
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.
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.
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, write to the Free Software Foundation, Inc.,
24 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #include "pathactioneditorgadget.h"
27 #include "pathactioneditorgadgetwidget.h"
29 #include "extensionsystem/pluginmanager.h"
30 #include "uavobjectmanager.h"
31 #include "uavobject.h"
32 #include <QDebug>
34 PathActionEditorGadget::PathActionEditorGadget(QString classId, PathActionEditorGadgetWidget *widget, QWidget *parent) :
35 IUAVGadget(classId, parent),
36 m_widget(widget)
39 PathActionEditorGadget::~PathActionEditorGadget()
41 delete m_widget;
44 void PathActionEditorGadget::loadConfiguration(IUAVGadgetConfiguration *config)
46 Q_UNUSED(config);