QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QmlComponentInfo.cc
Go to the documentation of this file.
1
#include "
QmlComponentInfo.h
"
2
#include "
QGCLoggingCategory.h
"
3
4
QGC_LOGGING_CATEGORY
(QmlComponentInfoLog,
"API.QmlComponentInfo"
);
5
6
QmlComponentInfo::QmlComponentInfo
(
const
QString &
title
, QUrl
url
, QUrl
icon
, QObject *parent,
bool
requiresVehicle
)
7
: QObject(parent)
8
,
_title
(
title
)
9
,
_url
(
url
)
10
,
_icon
(
icon
)
11
,
_requiresVehicle
(
requiresVehicle
)
12
{
13
// qCDebug(QmlComponentInfoLog) << Q_FUNC_INFO << this;
14
}
15
16
QmlComponentInfo::~QmlComponentInfo
()
17
{
18
// qCDebug(QmlComponentInfoLog) << Q_FUNC_INFO << this;
19
}
QGCLoggingCategory.h
QGC_LOGGING_CATEGORY
#define QGC_LOGGING_CATEGORY(name, categoryStr)
Definition
QGCLoggingCategory.h:11
QmlComponentInfo.h
QmlComponentInfo::QmlComponentInfo
QmlComponentInfo(const QString &title, QUrl url, QUrl icon=QUrl(), QObject *parent=nullptr, bool requiresVehicle=false)
Definition
QmlComponentInfo.cc:6
QmlComponentInfo::~QmlComponentInfo
~QmlComponentInfo()
Definition
QmlComponentInfo.cc:16
QmlComponentInfo::requiresVehicle
bool requiresVehicle() const
Definition
QmlComponentInfo.h:23
QmlComponentInfo::_requiresVehicle
const bool _requiresVehicle
Page requires connected vehicle.
Definition
QmlComponentInfo.h:29
QmlComponentInfo::_icon
const QUrl _icon
Icon for page.
Definition
QmlComponentInfo.h:28
QmlComponentInfo::url
QUrl url() const
Definition
QmlComponentInfo.h:21
QmlComponentInfo::_url
const QUrl _url
Qml source code.
Definition
QmlComponentInfo.h:27
QmlComponentInfo::_title
const QString _title
Title for page.
Definition
QmlComponentInfo.h:26
QmlComponentInfo::title
const QString & title() const
Definition
QmlComponentInfo.h:20
QmlComponentInfo::icon
QUrl icon() const
Definition
QmlComponentInfo.h:22
src
API
QmlComponentInfo.cc
Generated by
1.15.0