47 static constexpr int kDefaultMessageDialogButtons = 0x00000400;
72#ifndef QGC_NO_SERIAL_LINK
77 Q_PROPERTY(
bool singleFirmwareSupport
READ singleFirmwareSupport CONSTANT)
78 Q_PROPERTY(
bool singleVehicleSupport
READ singleVehicleSupport CONSTANT)
79 Q_PROPERTY(
bool px4ProFirmwareSupported
READ px4ProFirmwareSupported CONSTANT)
80 Q_PROPERTY(
int apmFirmwareSupported
READ apmFirmwareSupported CONSTANT)
100 Q_PROPERTY(
bool hasMAVLinkInspector
READ hasMAVLinkInspector CONSTANT)
116 Q_INVOKABLE void startPX4MockLink (
bool sendStatusText,
bool enableCamera,
bool enableGimbal);
117 Q_INVOKABLE void startGenericMockLink (
bool sendStatusText,
bool enableCamera,
bool enableGimbal);
118 Q_INVOKABLE void startAPMArduCopterMockLink (
bool sendStatusText,
bool enableCamera,
bool enableGimbal);
119 Q_INVOKABLE void startAPMArduPlaneMockLink (
bool sendStatusText,
bool enableCamera,
bool enableGimbal);
120 Q_INVOKABLE void startAPMArduSubMockLink (
bool sendStatusText,
bool enableCamera,
bool enableGimbal);
121 Q_INVOKABLE void startAPMArduRoverMockLink (
bool sendStatusText,
bool enableCamera,
bool enableGimbal);
157 int buttons = kDefaultMessageDialogButtons,
172#ifndef QGC_NO_SERIAL_LINK
188#if defined(QGC_NO_ARDUPILOT_DIALECT)
189 bool hasAPMSupport () {
return false; }
194#if defined(QGC_DISABLE_MAVLINK_INSPECTOR)
195 bool hasMAVLinkInspector () {
return false; }
200 QString elevationProviderName ();
201 QString elevationProviderNotice ();
203 bool singleFirmwareSupport ();
204 bool singleVehicleSupport ();
205 bool px4ProFirmwareSupported ();
206 bool apmFirmwareSupported ();
209 void setFlightMapZoom (
double zoom);
211 QString parameterFileExtension (
void)
const;
212 QString telemetryFileExtension (
void)
const;
216#ifdef QGC_DAILY_BUILD
217 static bool qgcDailyBuild() {
return true; }
240#ifndef QGC_NO_SERIAL_LINK
244 double _flightMapInitialZoom = 17.0;
251 QTimer _flightMapPositionSettledTimer;
253 static constexpr const char* kQmlGlobalKeyName =
"QGCQml";
255 static constexpr const char* _flightMapPositionSettingsGroup =
"FlightMapPosition";
256 static constexpr const char* _flightMapPositionLatitudeSettingsKey =
"Latitude";
257 static constexpr const char* _flightMapPositionLongitudeSettingsKey =
"Longitude";
258 static constexpr const char* _flightMapZoomSettingsKey =
"FlightMapZoom";