mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-07-19 09:15:35 -04:00
Map: Add DSC and VLF transmitters. Fix removal of polylines from 3D map. Add find support for polylines and polygoins
This commit is contained in:
parent
a111c1f1a0
commit
b1cf8408f4
@ -161,6 +161,7 @@ public:
|
|||||||
void addAirspace();
|
void addAirspace();
|
||||||
void addAirports();
|
void addAirports();
|
||||||
void addNavtex();
|
void addNavtex();
|
||||||
|
void addVLF();
|
||||||
void find(const QString& target);
|
void find(const QString& target);
|
||||||
void track3D(const QString& target);
|
void track3D(const QString& target);
|
||||||
Q_INVOKABLE void supportedMapsChanged();
|
Q_INVOKABLE void supportedMapsChanged();
|
||||||
@ -228,6 +229,7 @@ private:
|
|||||||
|
|
||||||
static QString getDataDir();
|
static QString getDataDir();
|
||||||
static const QList<RadioTimeTransmitter> m_radioTimeTransmitters;
|
static const QList<RadioTimeTransmitter> m_radioTimeTransmitters;
|
||||||
|
static const QList<RadioTimeTransmitter> m_vlfTransmitters;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void init3DMap();
|
void init3DMap();
|
||||||
|
@ -62,6 +62,8 @@ public:
|
|||||||
void allUpdated();
|
void allUpdated();
|
||||||
|
|
||||||
MapItem *findMapItem(const QObject *source, const QString& name);
|
MapItem *findMapItem(const QObject *source, const QString& name);
|
||||||
|
MapItem *findMapItem(const QString& name);
|
||||||
|
QModelIndex findMapItemIndex(const QString& name);
|
||||||
|
|
||||||
QHash<int, QByteArray> roleNames() const override;
|
QHash<int, QByteArray> roleNames() const override;
|
||||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||||
@ -235,9 +237,6 @@ public:
|
|||||||
Q_INVOKABLE void moveToFront(int oldRow);
|
Q_INVOKABLE void moveToFront(int oldRow);
|
||||||
Q_INVOKABLE void moveToBack(int oldRow);
|
Q_INVOKABLE void moveToBack(int oldRow);
|
||||||
|
|
||||||
ObjectMapItem *findMapItem(const QString& name);
|
|
||||||
QModelIndex findMapItemIndex(const QString& name);
|
|
||||||
|
|
||||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||||
bool setData(const QModelIndex &index, const QVariant& value, int role = Qt::EditRole) override;
|
bool setData(const QModelIndex &index, const QVariant& value, int role = Qt::EditRole) override;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user