mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Update map QML/HTML.
This commit is contained in:
parent
9506c93c11
commit
5d96a09520
BIN
plugins/feature/map/map/antennakiwi.png
Normal file
BIN
plugins/feature/map/map/antennakiwi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
BIN
plugins/feature/map/map/antennaspyserver.png
Normal file
BIN
plugins/feature/map/map/antennaspyserver.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
@ -303,22 +303,18 @@ Item {
|
||||
height: text.height + 5
|
||||
radius: 5
|
||||
visible: mapTextVisible
|
||||
Text {
|
||||
id: text
|
||||
anchors.centerIn: parent
|
||||
text: mapText
|
||||
textFormat: TextEdit.RichText
|
||||
}
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
//propagateComposedEvents: true // so links in Text work
|
||||
onClicked: {
|
||||
if (mouse.button === Qt.LeftButton) {
|
||||
selected = !selected
|
||||
if (selected) {
|
||||
mapModel.moveToFront(mapModelFiltered.mapRowToSource(index))
|
||||
}
|
||||
//mouse.accepted = false // propagate to text
|
||||
} else if (mouse.button === Qt.RightButton) {
|
||||
menuItems.clear()
|
||||
menus.clear()
|
||||
@ -406,6 +402,17 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Have Text after MouseArea, so links can be clicked
|
||||
Text {
|
||||
id: text
|
||||
anchors.centerIn: parent
|
||||
text: mapText
|
||||
textFormat: TextEdit.RichText
|
||||
onLinkActivated: {
|
||||
console.log("Link", link);
|
||||
mapModel.link(link);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
BIN
plugins/feature/map/map/waypoint.png
Normal file
BIN
plugins/feature/map/map/waypoint.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
@ -9,7 +9,7 @@ On top of this, it can plot data from other plugins, such as:
|
||||
* Aircraft from the ADS-B Demodulator,
|
||||
* Ships from the AIS Demodulator,
|
||||
* Satellites from the Satellite Tracker,
|
||||
* Weather imagery from APT Demodulator,
|
||||
* Satellite imagery from APT Demodulator,
|
||||
* The Sun, Moon and Stars from the Star Tracker,
|
||||
* Weather balloons from the Radiosonde feature,
|
||||
* RF Heat Maps from the Heap Map channel,
|
||||
@ -28,6 +28,7 @@ As well as internet data sources:
|
||||
* Navtex transmitters,
|
||||
* VLF transmitters,
|
||||
* KiwiSDRs,
|
||||
* Spy Servers,
|
||||
* Weather radar,
|
||||
* Satellite infra-red data (clouds),
|
||||
* Sea marks,
|
||||
|
Loading…
Reference in New Issue
Block a user