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
pfdqmlgadgetwidget.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful, but
8
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
10
* for more details.
11
*
12
* You should have received a copy of the GNU General Public License along
13
* with this program; if not, see <http://www.gnu.org/licenses/>
14
*/
15
16
#ifndef PFDQMLGADGETWIDGET_H_
17
#define PFDQMLGADGETWIDGET_H_
18
19
#include "
pfdqmlgadgetconfiguration.h
"
20
#include <QtQuick/QQuickView>
21
22
class
UAVObjectManager
;
23
24
class
PfdQmlGadgetWidget
:
public
QQuickView
25
{
26
Q_OBJECT
27
28
public
:
29
PfdQmlGadgetWidget
(QWindow *parent =
nullptr
);
30
~PfdQmlGadgetWidget
();
31
void
setQmlFile
(QString fn);
32
33
public
slots:
34
void
setSettingsMap
(
const
QVariantMap &settings);
35
36
protected
:
37
void
mouseReleaseEvent
(QMouseEvent *event);
38
39
private
:
40
QStringList objectsToExport;
41
QString m_qmlFileName;
42
43
UAVObjectManager
*m_objManager;
44
void
exportUAVOInstance(
const
QString &objectName,
int
instId);
45
void
resetUAVOExport(
const
QString &objectName,
int
instId);
46
};
47
48
#endif
/* PFDQMLGADGETWIDGET_H_ */
PfdQmlGadgetWidget::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event)
Definition:
pfdqmlgadgetwidget.cpp:122
pfdqmlgadgetconfiguration.h
PfdQmlGadgetWidget::setSettingsMap
void setSettingsMap(const QVariantMap &settings)
Definition:
pfdqmlgadgetwidget.cpp:117
PfdQmlGadgetWidget::~PfdQmlGadgetWidget
~PfdQmlGadgetWidget()
Definition:
pfdqmlgadgetwidget.cpp:64
PfdQmlGadgetWidget::PfdQmlGadgetWidget
PfdQmlGadgetWidget(QWindow *parent=nullptr)
Definition:
pfdqmlgadgetwidget.cpp:31
PfdQmlGadgetWidget::setQmlFile
void setQmlFile(QString fn)
Definition:
pfdqmlgadgetwidget.cpp:96
UAVObjectManager
Definition:
uavobjectmanager.h:46
PfdQmlGadgetWidget
Definition:
pfdqmlgadgetwidget.h:24
ground
gcs
src
plugins
pfdqml
pfdqmlgadgetwidget.h
Generated by
1.8.6