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