mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05: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 addAirports();
|
||||
void addNavtex();
|
||||
void addVLF();
|
||||
void find(const QString& target);
|
||||
void track3D(const QString& target);
|
||||
Q_INVOKABLE void supportedMapsChanged();
|
||||
@ -228,6 +229,7 @@ private:
|
||||
|
||||
static QString getDataDir();
|
||||
static const QList<RadioTimeTransmitter> m_radioTimeTransmitters;
|
||||
static const QList<RadioTimeTransmitter> m_vlfTransmitters;
|
||||
|
||||
private slots:
|
||||
void init3DMap();
|
||||
|
@ -62,6 +62,8 @@ public:
|
||||
void allUpdated();
|
||||
|
||||
MapItem *findMapItem(const QObject *source, const QString& name);
|
||||
MapItem *findMapItem(const QString& name);
|
||||
QModelIndex findMapItemIndex(const QString& name);
|
||||
|
||||
QHash<int, QByteArray> roleNames() 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 moveToBack(int oldRow);
|
||||
|
||||
ObjectMapItem *findMapItem(const QString& name);
|
||||
QModelIndex findMapItemIndex(const QString& name);
|
||||
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
bool setData(const QModelIndex &index, const QVariant& value, int role = Qt::EditRole) override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user