kopia lustrzana https://github.com/f4exb/sdrangel
Update map QML/HTML.
rodzic
9506c93c11
commit
5d96a09520
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 3.6 KiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Plik diff jest za duży
Load Diff
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 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,
|
||||
|
|
Ładowanie…
Reference in New Issue