2021-01-13 15:07:28 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
2024-02-27 10:40:06 -05:00
|
|
|
// Copyright (C) 2021-2024 Jon Beniston, M7RCE <jon@beniston.com> //
|
2023-11-18 07:12:18 -05:00
|
|
|
// Copyright (C) 2022 Edouard Griffiths, F4EXB <f4exb06@gmail.com> //
|
2021-01-13 15:07:28 -05:00
|
|
|
// //
|
|
|
|
// This program is free software; you can redistribute it and/or modify //
|
|
|
|
// it under the terms of the GNU General Public License as published by //
|
|
|
|
// the Free Software Foundation as version 3 of the License, or //
|
|
|
|
// (at your option) any later version. //
|
|
|
|
// //
|
|
|
|
// This program is distributed in the hope that it will be useful, //
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
|
|
// GNU General Public License V3 for more details. //
|
|
|
|
// //
|
|
|
|
// You should have received a copy of the GNU General Public License //
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef INCLUDE_FEATURE_MAPGUI_H_
|
|
|
|
#define INCLUDE_FEATURE_MAPGUI_H_
|
|
|
|
|
|
|
|
#include <QTimer>
|
2022-02-04 15:40:43 -05:00
|
|
|
#include <QQuickItem>
|
2023-08-06 04:08:53 -04:00
|
|
|
#include <QQuickWidget>
|
2024-02-27 10:40:06 -05:00
|
|
|
#include <QTextEdit>
|
2022-02-04 15:40:43 -05:00
|
|
|
#include <QJsonObject>
|
2024-04-05 05:41:24 -04:00
|
|
|
#include <QFileDialog>
|
2023-01-02 10:47:24 -05:00
|
|
|
#ifdef QT_WEBENGINE_FOUND
|
2022-02-04 15:40:43 -05:00
|
|
|
#include <QWebEngineFullScreenRequest>
|
2023-08-06 04:08:53 -04:00
|
|
|
#include <QWebEnginePage>
|
|
|
|
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
|
|
|
#include <QWebEngineLoadingInfo>
|
|
|
|
#endif
|
2023-01-02 10:47:24 -05:00
|
|
|
#endif
|
2022-02-04 15:40:43 -05:00
|
|
|
|
|
|
|
#include <math.h>
|
|
|
|
#include <limits>
|
2021-01-13 15:07:28 -05:00
|
|
|
|
|
|
|
#include "feature/featuregui.h"
|
|
|
|
#include "util/messagequeue.h"
|
2022-07-20 12:41:11 -04:00
|
|
|
#include "util/giro.h"
|
2021-01-22 09:54:22 -05:00
|
|
|
#include "util/azel.h"
|
2023-02-14 09:46:08 -05:00
|
|
|
#include "util/openaip.h"
|
|
|
|
#include "util/ourairportsdb.h"
|
2024-02-27 10:40:06 -05:00
|
|
|
#include "util/waypoints.h"
|
|
|
|
#include "util/rainviewer.h"
|
|
|
|
#include "util/nasaglobalimagery.h"
|
|
|
|
#include "util/kiwisdrlist.h"
|
|
|
|
#include "util/spyserverlist.h"
|
2024-09-22 05:44:30 -04:00
|
|
|
#include "util/sdrangelserverlist.h"
|
2022-01-08 23:27:12 -05:00
|
|
|
#include "settings/rollupstate.h"
|
2024-02-27 10:40:06 -05:00
|
|
|
#include "availablechannelorfeaturehandler.h"
|
2022-01-08 23:27:12 -05:00
|
|
|
|
2021-01-13 15:07:28 -05:00
|
|
|
#include "SWGMapItem.h"
|
2022-01-08 23:27:12 -05:00
|
|
|
|
|
|
|
#include "mapsettings.h"
|
2021-01-22 09:54:22 -05:00
|
|
|
#include "mapbeacondialog.h"
|
2021-12-03 13:23:14 -05:00
|
|
|
#include "mapibpbeacondialog.h"
|
2021-06-23 10:15:50 -04:00
|
|
|
#include "mapradiotimedialog.h"
|
2022-02-04 15:40:43 -05:00
|
|
|
#include "cesiuminterface.h"
|
2021-11-23 11:44:07 -05:00
|
|
|
#include "osmtemplateserver.h"
|
2024-02-27 10:40:06 -05:00
|
|
|
#include "maptileserver.h"
|
2022-02-04 15:40:43 -05:00
|
|
|
#include "webserver.h"
|
|
|
|
#include "mapmodel.h"
|
2021-01-13 15:07:28 -05:00
|
|
|
|
2024-04-20 05:51:29 -04:00
|
|
|
#include "maincore.h"
|
|
|
|
|
2021-01-13 15:07:28 -05:00
|
|
|
class PluginAPI;
|
|
|
|
class FeatureUISet;
|
|
|
|
class Map;
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class MapGUI;
|
|
|
|
}
|
|
|
|
|
|
|
|
class MapGUI;
|
2021-01-22 09:54:22 -05:00
|
|
|
struct Beacon;
|
2024-02-27 10:40:06 -05:00
|
|
|
class QSvgWidget;
|
2021-01-13 15:07:28 -05:00
|
|
|
|
2021-06-23 10:15:50 -04:00
|
|
|
struct RadioTimeTransmitter {
|
|
|
|
QString m_callsign;
|
|
|
|
int m_frequency; // In Hz
|
|
|
|
float m_latitude; // In degrees
|
|
|
|
float m_longitude; // In degrees
|
|
|
|
int m_power; // In kW
|
|
|
|
};
|
|
|
|
|
2022-07-20 12:41:11 -04:00
|
|
|
struct IonosondeStation {
|
|
|
|
QString m_name;
|
|
|
|
float m_latitude; // In degrees
|
|
|
|
float m_longitude; // In degrees
|
|
|
|
QString m_text;
|
|
|
|
QString m_label;
|
|
|
|
|
|
|
|
IonosondeStation(const GIRO::GIROStationData& data) :
|
|
|
|
m_name(data.m_station)
|
|
|
|
{
|
|
|
|
update(data);
|
|
|
|
}
|
|
|
|
|
|
|
|
void update(const GIRO::GIROStationData& data)
|
|
|
|
{
|
|
|
|
m_latitude = data.m_latitude;
|
|
|
|
m_longitude = data.m_longitude;
|
|
|
|
QStringList text;
|
|
|
|
QStringList label;
|
|
|
|
text.append("Ionosonde Station");
|
|
|
|
text.append(QString("Name: %1").arg(m_name.split(",")[0]));
|
|
|
|
if (!isnan(data.m_mufd))
|
|
|
|
{
|
|
|
|
text.append(QString("MUF: %1 MHz").arg(data.m_mufd));
|
|
|
|
label.append(QString("%1").arg((int)round(data.m_mufd)));
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
label.append("-");
|
|
|
|
}
|
|
|
|
if (!isnan(data.m_md)) {
|
|
|
|
text.append(QString("M(D): %1").arg(data.m_md));
|
|
|
|
}
|
|
|
|
if (!isnan(data.m_foF2))
|
|
|
|
{
|
|
|
|
text.append(QString("foF2: %1 MHz").arg(data.m_foF2));
|
|
|
|
label.append(QString("%1").arg((int)round(data.m_foF2)));
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
label.append("-");
|
|
|
|
}
|
|
|
|
if (!isnan(data.m_hmF2)) {
|
|
|
|
text.append(QString("hmF2: %1 km").arg(data.m_hmF2));
|
|
|
|
}
|
|
|
|
if (!isnan(data.m_foE)) {
|
|
|
|
text.append(QString("foE: %1 MHz").arg(data.m_foE));
|
|
|
|
}
|
|
|
|
if (!isnan(data.m_tec)) {
|
|
|
|
text.append(QString("TEC: %1").arg(data.m_tec));
|
|
|
|
}
|
|
|
|
if (data.m_confidence >= 0) {
|
|
|
|
text.append(QString("Confidence: %1").arg(data.m_confidence));
|
|
|
|
}
|
|
|
|
if (data.m_dateTime.isValid()) {
|
|
|
|
text.append(data.m_dateTime.toString());
|
|
|
|
}
|
|
|
|
m_text = text.join("\n");
|
|
|
|
m_label = label.join("/");
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2021-01-13 15:07:28 -05:00
|
|
|
class MapGUI : public FeatureGUI {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
static MapGUI* create(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feature);
|
|
|
|
virtual void destroy();
|
|
|
|
|
|
|
|
void resetToDefaults();
|
|
|
|
QByteArray serialize() const;
|
|
|
|
bool deserialize(const QByteArray& data);
|
|
|
|
virtual MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; }
|
2022-05-13 16:24:48 -04:00
|
|
|
virtual void setWorkspaceIndex(int index);
|
2022-04-05 10:26:57 -04:00
|
|
|
virtual int getWorkspaceIndex() const { return m_settings.m_workspaceIndex; }
|
|
|
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
|
|
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
2021-01-22 09:54:22 -05:00
|
|
|
AzEl *getAzEl() { return &m_azEl; }
|
|
|
|
Map *getMap() { return m_map; }
|
2021-02-26 15:30:59 -05:00
|
|
|
QQuickItem *getMapItem();
|
2021-01-22 09:54:22 -05:00
|
|
|
static QString getBeaconFilename();
|
|
|
|
QList<Beacon *> *getBeacons() { return m_beacons; }
|
|
|
|
void setBeacons(QList<Beacon *> *beacons);
|
2021-12-03 13:23:14 -05:00
|
|
|
void addIBPBeacons();
|
2021-06-23 10:15:50 -04:00
|
|
|
QList<RadioTimeTransmitter> getRadioTimeTransmitters() { return m_radioTimeTransmitters; }
|
|
|
|
void addRadioTimeTransmitters();
|
2024-09-22 05:44:30 -04:00
|
|
|
void addNAT();
|
2021-12-03 13:23:14 -05:00
|
|
|
void addRadar();
|
2022-07-20 12:41:11 -04:00
|
|
|
void addIonosonde();
|
2023-02-14 09:46:08 -05:00
|
|
|
void addBroadcast();
|
2021-11-23 11:44:07 -05:00
|
|
|
void addDAB();
|
2023-02-14 09:46:08 -05:00
|
|
|
void addNavAids();
|
|
|
|
void addAirspace(const Airspace *airspace, const QString& group, int cnt);
|
|
|
|
void addAirspace();
|
|
|
|
void addAirports();
|
2024-02-27 10:40:06 -05:00
|
|
|
void addWaypoints();
|
2023-03-03 12:14:56 -05:00
|
|
|
void addNavtex();
|
2023-05-15 11:47:50 -04:00
|
|
|
void addVLF();
|
2024-02-27 10:40:06 -05:00
|
|
|
void addKiwiSDR();
|
|
|
|
void addSpyServer();
|
2024-09-22 05:44:30 -04:00
|
|
|
void addSDRangelServer();
|
2021-01-22 09:54:22 -05:00
|
|
|
void find(const QString& target);
|
2022-02-04 15:40:43 -05:00
|
|
|
void track3D(const QString& target);
|
2021-11-23 11:44:07 -05:00
|
|
|
Q_INVOKABLE void supportedMapsChanged();
|
2023-02-14 09:46:08 -05:00
|
|
|
MapSettings::MapItemSettings *getItemSettings(const QString &group);
|
2022-02-04 15:40:43 -05:00
|
|
|
CesiumInterface *cesium() { return m_cesium; }
|
2021-01-13 15:07:28 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::MapGUI* ui;
|
|
|
|
PluginAPI* m_pluginAPI;
|
|
|
|
FeatureUISet* m_featureUISet;
|
|
|
|
MapSettings m_settings;
|
2022-11-27 14:00:43 -05:00
|
|
|
QList<QString> m_settingsKeys;
|
2022-01-08 23:27:12 -05:00
|
|
|
RollupState m_rollupState;
|
2021-01-13 15:07:28 -05:00
|
|
|
bool m_doApplySettings;
|
2024-02-27 10:40:06 -05:00
|
|
|
AvailableChannelOrFeatureList m_availableChannelOrFeatures;
|
2024-04-05 05:41:24 -04:00
|
|
|
QFileDialog m_fileDialog;
|
2021-01-13 15:07:28 -05:00
|
|
|
|
|
|
|
Map* m_map;
|
|
|
|
MessageQueue m_inputMessageQueue;
|
2023-02-14 09:46:08 -05:00
|
|
|
ObjectMapModel m_objectMapModel;
|
|
|
|
ObjectMapFilter m_objectMapFilter;
|
|
|
|
ImageMapModel m_imageMapModel;
|
|
|
|
ImageFilter m_imageMapFilter;
|
|
|
|
PolygonMapModel m_polygonMapModel;
|
|
|
|
PolygonFilter m_polygonMapFilter;
|
|
|
|
PolylineMapModel m_polylineMapModel;
|
|
|
|
PolylineFilter m_polylineMapFilter;
|
2021-01-22 09:54:22 -05:00
|
|
|
AzEl m_azEl; // Position of station
|
2022-03-21 06:14:35 -04:00
|
|
|
SWGSDRangel::SWGMapItem m_antennaMapItem;
|
2021-01-22 09:54:22 -05:00
|
|
|
QList<Beacon *> *m_beacons;
|
|
|
|
MapBeaconDialog m_beaconDialog;
|
2021-12-03 13:23:14 -05:00
|
|
|
MapIBPBeaconDialog m_ibpBeaconDialog;
|
2021-06-23 10:15:50 -04:00
|
|
|
MapRadioTimeDialog m_radioTimeDialog;
|
2021-11-23 11:44:07 -05:00
|
|
|
quint16 m_osmPort;
|
|
|
|
OSMTemplateServer *m_templateServer;
|
2024-02-27 10:40:06 -05:00
|
|
|
quint16 m_mapTileServerPort;
|
|
|
|
MapTileServer *m_mapTileServer;
|
2022-03-23 05:04:04 -04:00
|
|
|
QTimer m_redrawMapTimer;
|
2022-07-20 12:41:11 -04:00
|
|
|
GIRO *m_giro;
|
2024-04-05 05:41:24 -04:00
|
|
|
QDateTime m_giroDateTime;
|
|
|
|
QString m_giroRunId;
|
2022-07-20 12:41:11 -04:00
|
|
|
QHash<QString, IonosondeStation *> m_ionosondeStations;
|
2023-02-14 09:46:08 -05:00
|
|
|
QSharedPointer<const QList<NavAid *>> m_navAids;
|
|
|
|
QSharedPointer<const QList<Airspace *>> m_airspaces;
|
|
|
|
QSharedPointer<const QHash<int, AirportInformation *>> m_airportInfo;
|
2024-02-27 10:40:06 -05:00
|
|
|
QSharedPointer<const QHash<QString, Waypoint *>> m_waypoints;
|
2023-02-14 09:46:08 -05:00
|
|
|
QGeoCoordinate m_lastFullUpdatePosition;
|
2024-02-27 10:40:06 -05:00
|
|
|
KiwiSDRList m_kiwiSDRList;
|
|
|
|
SpyServerList m_spyServerList;
|
2024-09-22 05:44:30 -04:00
|
|
|
SDRangelServerList m_sdrangelServerList;
|
2021-01-13 15:07:28 -05:00
|
|
|
|
2022-02-04 15:40:43 -05:00
|
|
|
CesiumInterface *m_cesium;
|
|
|
|
WebServer *m_webServer;
|
|
|
|
quint16 m_webPort;
|
2024-02-27 10:40:06 -05:00
|
|
|
RainViewer *m_rainViewer;
|
|
|
|
NASAGlobalImagery m_nasaGlobalImagery;
|
|
|
|
QList<NASAGlobalImagery::DataSet> m_nasaDataSets;
|
|
|
|
QHash<QString, NASAGlobalImagery::DataSet> m_nasaDataSetsHash;
|
|
|
|
NASAGlobalImagery::MetaData m_nasaMetaData;
|
|
|
|
QAction *m_displaySeaMarks;
|
|
|
|
QAction *m_displayRailways;
|
|
|
|
QAction *m_displayRain;
|
|
|
|
QAction *m_displayClouds;
|
|
|
|
QAction *m_displayNASAGlobalImagery;
|
|
|
|
QAction *m_displayMUF;
|
|
|
|
QAction *m_displayfoF2;
|
|
|
|
|
|
|
|
QString m_radarPath;
|
|
|
|
QString m_satellitePath;
|
|
|
|
|
|
|
|
NASAGlobalImagery::Legend *m_legend;
|
|
|
|
QWidget *m_nasaWidget;
|
|
|
|
QSvgWidget *m_legendWidget;
|
|
|
|
QTableWidget *m_overviewWidget;
|
|
|
|
QTextEdit *m_descriptionWidget;
|
2022-02-04 15:40:43 -05:00
|
|
|
|
2024-09-22 05:44:30 -04:00
|
|
|
// Settings for opening a device
|
|
|
|
QString m_remoteDeviceAddress;
|
|
|
|
quint16 m_remoteDevicePort;
|
|
|
|
|
2021-01-13 15:07:28 -05:00
|
|
|
explicit MapGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feature, QWidget* parent = nullptr);
|
|
|
|
virtual ~MapGUI();
|
|
|
|
|
2022-03-29 14:12:15 -04:00
|
|
|
void update(const QObject *source, SWGSDRangel::SWGMapItem *swgMapItem, const QString &group);
|
2021-01-13 15:07:28 -05:00
|
|
|
void blockApplySettings(bool block);
|
|
|
|
void applySettings(bool force = false);
|
2022-02-04 15:40:43 -05:00
|
|
|
void applyMap2DSettings(bool reloadMap);
|
|
|
|
void applyMap3DSettings(bool reloadMap);
|
2021-11-23 11:44:07 -05:00
|
|
|
QString osmCachePath();
|
|
|
|
void clearOSMCache();
|
2023-06-07 06:33:34 -04:00
|
|
|
void clearWikiMediaOSMCache();
|
2021-01-13 15:07:28 -05:00
|
|
|
void displaySettings();
|
|
|
|
bool handleMessage(const Message& message);
|
2021-01-22 09:54:22 -05:00
|
|
|
void geoReply();
|
2022-02-04 15:40:43 -05:00
|
|
|
QString thunderforestAPIKey() const;
|
|
|
|
QString maptilerAPIKey() const;
|
|
|
|
QString cesiumIonAPIKey() const;
|
|
|
|
void redrawMap();
|
2022-04-04 04:23:52 -04:00
|
|
|
void makeUIConnections();
|
2024-02-27 10:40:06 -05:00
|
|
|
void createLayersMenu();
|
|
|
|
void displayToolbar();
|
|
|
|
void setEnableOverlay();
|
|
|
|
void applyNASAGlobalImagerySettings();
|
|
|
|
void createNASAGlobalImageryView();
|
|
|
|
void displayNASAMetaData();
|
2024-09-22 05:44:30 -04:00
|
|
|
bool openKiwiSDRInput();
|
|
|
|
bool openRemoteTCPInput();
|
2024-02-27 10:40:06 -05:00
|
|
|
void openKiwiSDR(const QString& url);
|
|
|
|
void openSpyServer(const QString& url);
|
2024-09-22 05:44:30 -04:00
|
|
|
void openSDRangelServer(const QString& url);
|
2024-02-27 10:40:06 -05:00
|
|
|
QString formatFrequency(qint64 frequency) const;
|
2024-04-05 05:41:24 -04:00
|
|
|
void updateGIRO(const QDateTime& mapDateTime);
|
2021-01-13 15:07:28 -05:00
|
|
|
|
2021-01-22 09:54:22 -05:00
|
|
|
static QString getDataDir();
|
2021-06-23 10:15:50 -04:00
|
|
|
static const QList<RadioTimeTransmitter> m_radioTimeTransmitters;
|
2024-09-22 05:44:30 -04:00
|
|
|
static const QList<RadioTimeTransmitter> m_natTransmitters;
|
2023-05-15 11:47:50 -04:00
|
|
|
static const QList<RadioTimeTransmitter> m_vlfTransmitters;
|
2021-01-22 09:54:22 -05:00
|
|
|
|
2024-02-27 10:40:06 -05:00
|
|
|
enum NASARow {
|
|
|
|
NASA_TITLE,
|
|
|
|
NASA_SUBTITLE,
|
|
|
|
NASA_DEFAULT_DATE,
|
|
|
|
NASA_START_DATE,
|
|
|
|
NASA_END_DATE,
|
|
|
|
NASA_PERIOD,
|
|
|
|
NASA_LAYER_GROUP,
|
|
|
|
NASA_ROWS
|
|
|
|
};
|
|
|
|
|
2021-01-13 15:07:28 -05:00
|
|
|
private slots:
|
2022-02-04 15:40:43 -05:00
|
|
|
void init3DMap();
|
2021-01-13 15:07:28 -05:00
|
|
|
void onMenuDialogCalled(const QPoint &p);
|
|
|
|
void onWidgetRolled(QWidget* widget, bool rollDown);
|
|
|
|
void handleInputMessages();
|
|
|
|
void on_displayNames_clicked(bool checked=false);
|
2021-02-26 15:30:59 -05:00
|
|
|
void on_displayAllGroundTracks_clicked(bool checked=false);
|
|
|
|
void on_displaySelectedGroundTracks_clicked(bool checked=false);
|
2024-02-27 10:40:06 -05:00
|
|
|
void on_displayRain_clicked(bool checked=false);
|
|
|
|
void on_displayClouds_clicked(bool checked=false);
|
|
|
|
void on_displaySeaMarks_clicked(bool checked=false);
|
|
|
|
void on_displayRailways_clicked(bool checked=false);
|
2022-07-20 12:41:11 -04:00
|
|
|
void on_displayMUF_clicked(bool checked=false);
|
|
|
|
void on_displayfoF2_clicked(bool checked=false);
|
2024-02-27 10:40:06 -05:00
|
|
|
void on_displayNASAGlobalImagery_clicked(bool checked=false);
|
|
|
|
void on_nasaGlobalImageryIdentifier_currentIndexChanged(int index);
|
|
|
|
void on_nasaGlobalImageryOpacity_valueChanged(int index);
|
|
|
|
void on_layersMenu_clicked();
|
2021-01-13 15:07:28 -05:00
|
|
|
void on_find_returnPressed();
|
2021-01-22 10:22:47 -05:00
|
|
|
void on_maidenhead_clicked();
|
2024-04-05 05:41:24 -04:00
|
|
|
void on_save_clicked();
|
2021-01-13 15:07:28 -05:00
|
|
|
void on_deleteAll_clicked();
|
2021-01-22 09:54:22 -05:00
|
|
|
void on_displaySettings_clicked();
|
|
|
|
void on_mapTypes_currentIndexChanged(int index);
|
|
|
|
void on_beacons_clicked();
|
2021-12-03 13:23:14 -05:00
|
|
|
void on_ibpBeacons_clicked();
|
2021-06-23 10:15:50 -04:00
|
|
|
void on_radiotime_clicked();
|
2022-02-04 15:40:43 -05:00
|
|
|
void receivedCesiumEvent(const QJsonObject &obj);
|
2023-01-02 10:47:24 -05:00
|
|
|
virtual void showEvent(QShowEvent *event) override;
|
|
|
|
virtual bool eventFilter(QObject *obj, QEvent *event) override;
|
2024-02-27 10:40:06 -05:00
|
|
|
void orientationChanged(Qt::ScreenOrientation orientation);
|
2023-01-02 10:47:24 -05:00
|
|
|
#ifdef QT_WEBENGINE_FOUND
|
2022-02-04 15:40:43 -05:00
|
|
|
void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest);
|
2023-08-06 04:08:53 -04:00
|
|
|
void renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus terminationStatus, int exitCode);
|
|
|
|
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
|
|
|
void loadingChanged(const QWebEngineLoadingInfo &loadingInfo);
|
2024-04-05 16:30:23 -04:00
|
|
|
void downloadRequested(QWebEngineDownloadRequest *download);
|
|
|
|
#else
|
2024-04-05 05:41:24 -04:00
|
|
|
void downloadRequested(QWebEngineDownloadItem *download);
|
2024-04-05 16:30:23 -04:00
|
|
|
#endif
|
2023-01-02 10:47:24 -05:00
|
|
|
#endif
|
2023-08-06 04:08:53 -04:00
|
|
|
void statusChanged(QQuickWidget::Status status);
|
2022-03-21 06:14:35 -04:00
|
|
|
void preferenceChanged(int elementType);
|
2024-04-05 05:41:24 -04:00
|
|
|
void giroIndexUpdated(const QList<GIRO::DataSet>& data);
|
2022-07-20 12:41:11 -04:00
|
|
|
void giroDataUpdated(const GIRO::GIROStationData& data);
|
|
|
|
void mufUpdated(const QJsonDocument& document);
|
|
|
|
void foF2Updated(const QJsonDocument& document);
|
2024-02-27 10:40:06 -05:00
|
|
|
void pathUpdated(const QString& radarPath, const QString& satellitePath);
|
|
|
|
void nasaGlobalImageryDataUpdated(const QList<NASAGlobalImagery::DataSet>& dataSets);
|
|
|
|
void nasaGlobalImageryMetaDataUpdated(const NASAGlobalImagery::MetaData& metaData);
|
|
|
|
void nasaGlobalImageryLegendAvailable(const QString& url, const QByteArray& data);
|
|
|
|
void nasaGlobalImageryHTMLAvailable(const QString& url, const QByteArray& data);
|
2023-02-14 09:46:08 -05:00
|
|
|
void navAidsUpdated();
|
|
|
|
void airspacesUpdated();
|
|
|
|
void airportsUpdated();
|
2024-02-27 10:40:06 -05:00
|
|
|
void waypointsUpdated();
|
|
|
|
void kiwiSDRUpdated(const QList<KiwiSDRList::KiwiSDR>& sdrs);
|
2024-09-22 05:44:30 -04:00
|
|
|
void kiwiSDRDeviceSetAdded(int index, DeviceAPI *device);
|
2024-02-27 10:40:06 -05:00
|
|
|
void spyServerUpdated(const QList<SpyServerList::SpyServer>& sdrs);
|
2024-09-22 05:44:30 -04:00
|
|
|
void spyServerDeviceSetAdded(int index, DeviceAPI *device);
|
|
|
|
void sdrangelServerUpdated(const QList<SDRangelServerList::SDRangelServer>& sdrs);
|
|
|
|
void sdrangelServerDeviceSetAdded(int index, DeviceAPI *device);
|
2024-02-27 10:40:06 -05:00
|
|
|
void linkClicked(const QString& url);
|
2022-02-04 15:40:43 -05:00
|
|
|
};
|
2021-01-13 15:07:28 -05:00
|
|
|
|
|
|
|
#endif // INCLUDE_FEATURE_MAPGUI_H_
|