ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
import QtQuick 2.12
|
|
|
|
import QtQuick.Window 2.12
|
2022-02-04 11:57:45 -05:00
|
|
|
import QtQuick.Controls 2.12
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
import QtLocation 5.12
|
|
|
|
import QtPositioning 5.12
|
2021-11-12 12:19:03 -05:00
|
|
|
import QtGraphicalEffects 1.12
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: qmlMap
|
|
|
|
property int aircraftZoomLevel: 11
|
2023-02-16 07:20:31 -05:00
|
|
|
property int aircraftMinZoomLevel: 11
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
property int airportZoomLevel: 11
|
2021-11-12 11:51:23 -05:00
|
|
|
property string mapProvider: "osm"
|
|
|
|
property variant mapPtr
|
|
|
|
property string requestedMapType
|
|
|
|
property bool lightIcons
|
|
|
|
property variant guiPtr
|
2023-02-16 06:00:30 -05:00
|
|
|
property bool smoothing
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
|
2021-11-12 11:51:23 -05:00
|
|
|
function createMap(pluginParameters, requestedMap, gui) {
|
|
|
|
requestedMapType = requestedMap
|
|
|
|
guiPtr = gui
|
|
|
|
|
|
|
|
var paramString = ""
|
|
|
|
for (var prop in pluginParameters) {
|
|
|
|
var parameter = 'PluginParameter { name: "' + prop + '"; value: "' + pluginParameters[prop] + '"}'
|
|
|
|
paramString = paramString + parameter
|
|
|
|
}
|
|
|
|
var pluginString = 'import QtLocation 5.12; Plugin{ name:"' + mapProvider + '"; ' + paramString + '}'
|
|
|
|
var plugin = Qt.createQmlObject (pluginString, qmlMap)
|
|
|
|
|
|
|
|
if (mapPtr) {
|
2021-11-13 03:49:53 -05:00
|
|
|
// Objects aren't destroyed immediately, so don't call findChild("map")
|
2021-11-12 11:51:23 -05:00
|
|
|
mapPtr.destroy()
|
|
|
|
mapPtr = null
|
|
|
|
}
|
|
|
|
mapPtr = actualMapComponent.createObject(page)
|
2021-11-13 03:49:53 -05:00
|
|
|
mapPtr.plugin = plugin
|
2021-11-12 11:51:23 -05:00
|
|
|
mapPtr.forceActiveFocus()
|
2021-11-13 03:49:53 -05:00
|
|
|
return mapPtr
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
}
|
|
|
|
|
2021-11-12 11:51:23 -05:00
|
|
|
Item {
|
|
|
|
id: page
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
anchors.fill: parent
|
2021-11-12 11:51:23 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
Component {
|
|
|
|
id: actualMapComponent
|
|
|
|
|
|
|
|
Map {
|
|
|
|
id: map
|
2021-11-13 03:49:53 -05:00
|
|
|
objectName: "map"
|
2021-11-12 11:51:23 -05:00
|
|
|
anchors.fill: parent
|
|
|
|
center: QtPositioning.coordinate(51.5, 0.125) // London
|
|
|
|
zoomLevel: 10
|
2022-12-20 06:14:32 -05:00
|
|
|
gesture.enabled: true
|
|
|
|
gesture.acceptedGestures: MapGestureArea.PinchGesture | MapGestureArea.PanGesture
|
2021-11-12 11:51:23 -05:00
|
|
|
|
|
|
|
// Needs to come first, otherwise MouseAreas in the MapItemViews don't get clicked event first
|
|
|
|
// Setting z doesn't seem to work
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
onClicked: {
|
|
|
|
// Unhighlight current aircraft
|
|
|
|
guiPtr.clearHighlighted()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
MapStation {
|
|
|
|
id: station
|
|
|
|
objectName: "station"
|
|
|
|
stationName: "Home"
|
|
|
|
}
|
|
|
|
|
|
|
|
MapItemView {
|
|
|
|
model: airspaceModel
|
|
|
|
delegate: airspaceComponent
|
|
|
|
}
|
|
|
|
|
|
|
|
MapItemView {
|
|
|
|
model: navAidModel
|
|
|
|
delegate: navAidComponent
|
|
|
|
}
|
|
|
|
|
|
|
|
MapItemView {
|
|
|
|
model: airspaceModel
|
|
|
|
delegate: airspaceNameComponent
|
|
|
|
}
|
|
|
|
|
|
|
|
MapItemView {
|
|
|
|
model: airportModel
|
|
|
|
delegate: airportComponent
|
|
|
|
}
|
|
|
|
|
|
|
|
// This needs to be before aircraftComponent MapItemView, so it's drawn underneath
|
|
|
|
MapItemView {
|
|
|
|
model: aircraftModel
|
|
|
|
delegate: aircraftPathComponent
|
|
|
|
}
|
|
|
|
|
|
|
|
MapItemView {
|
|
|
|
model: aircraftModel
|
|
|
|
delegate: aircraftComponent
|
|
|
|
}
|
|
|
|
|
|
|
|
onZoomLevelChanged: {
|
2023-02-16 07:20:31 -05:00
|
|
|
if (zoomLevel > aircraftMinZoomLevel) {
|
|
|
|
aircraftZoomLevel = zoomLevel
|
|
|
|
} else {
|
|
|
|
aircraftZoomLevel = aircraftMinZoomLevel
|
|
|
|
}
|
2021-11-12 11:51:23 -05:00
|
|
|
if (zoomLevel > 11) {
|
|
|
|
station.zoomLevel = zoomLevel
|
|
|
|
airportZoomLevel = zoomLevel
|
|
|
|
} else {
|
|
|
|
station.zoomLevel = 11
|
|
|
|
airportZoomLevel = 11
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
onSupportedMapTypesChanged : {
|
|
|
|
for (var i = 0; i < supportedMapTypes.length; i++) {
|
|
|
|
if (requestedMapType == supportedMapTypes[i].name) {
|
|
|
|
activeMapType = supportedMapTypes[i]
|
|
|
|
}
|
|
|
|
}
|
2022-06-06 08:50:37 -04:00
|
|
|
lightIcons = (requestedMapType == "Night Transit Map") || (requestedMapType == "mapbox://styles/mapbox/dark-v9")
|
2021-11-12 11:51:23 -05:00
|
|
|
}
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
|
|
|
|
}
|
2021-11-12 11:51:23 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
Component {
|
|
|
|
id: navAidComponent
|
|
|
|
MapQuickItem {
|
|
|
|
id: navAid
|
|
|
|
anchorPoint.x: image.width/2
|
|
|
|
anchorPoint.y: image.height/2
|
|
|
|
coordinate: position
|
|
|
|
zoomLevel: airportZoomLevel
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
|
2021-11-12 11:51:23 -05:00
|
|
|
sourceItem: Grid {
|
|
|
|
columns: 1
|
|
|
|
Grid {
|
|
|
|
horizontalItemAlignment: Grid.AlignHCenter
|
|
|
|
columnSpacing: 5
|
2023-02-16 06:00:30 -05:00
|
|
|
layer.enabled: smoothing
|
|
|
|
layer.smooth: smoothing
|
2021-11-12 11:51:23 -05:00
|
|
|
Image {
|
|
|
|
id: image
|
|
|
|
source: navAidImage
|
|
|
|
visible: !lightIcons
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
onClicked: (mouse) => {
|
|
|
|
selected = !selected
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ColorOverlay {
|
|
|
|
cached: true
|
|
|
|
width: image.width
|
|
|
|
height: image.height
|
|
|
|
source: image
|
|
|
|
color: "#c0ffffff"
|
|
|
|
visible: lightIcons
|
|
|
|
}
|
|
|
|
Rectangle {
|
|
|
|
id: bubble
|
|
|
|
color: bubbleColour
|
|
|
|
border.width: 1
|
|
|
|
width: text.width + 5
|
|
|
|
height: text.height + 5
|
|
|
|
radius: 5
|
|
|
|
Text {
|
|
|
|
id: text
|
|
|
|
anchors.centerIn: parent
|
|
|
|
text: navAidData
|
|
|
|
}
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
hoverEnabled: true
|
|
|
|
onClicked: (mouse) => {
|
|
|
|
selected = !selected
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
}
|
2021-11-12 11:51:23 -05:00
|
|
|
}
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
|
2021-11-12 11:51:23 -05:00
|
|
|
Component {
|
|
|
|
id: airspaceComponent
|
|
|
|
MapPolygon {
|
|
|
|
border.width: 1
|
|
|
|
border.color: airspaceBorderColor
|
|
|
|
color: airspaceFillColor
|
|
|
|
path: airspacePolygon
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
}
|
2021-11-12 11:51:23 -05:00
|
|
|
}
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
|
2021-11-12 11:51:23 -05:00
|
|
|
Component {
|
|
|
|
id: airspaceNameComponent
|
|
|
|
MapQuickItem {
|
|
|
|
coordinate: position
|
|
|
|
anchorPoint.x: airspaceText.width/2
|
|
|
|
anchorPoint.y: airspaceText.height/2
|
|
|
|
zoomLevel: airportZoomLevel
|
|
|
|
sourceItem: Grid {
|
|
|
|
columns: 1
|
|
|
|
Grid {
|
2023-02-16 06:00:30 -05:00
|
|
|
layer.enabled: smoothing
|
|
|
|
layer.smooth: smoothing
|
2021-11-12 11:51:23 -05:00
|
|
|
horizontalItemAlignment: Grid.AlignHCenter
|
|
|
|
Text {
|
|
|
|
id: airspaceText
|
|
|
|
text: details
|
|
|
|
}
|
|
|
|
}
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Component {
|
|
|
|
id: aircraftPathComponent
|
|
|
|
MapPolyline {
|
|
|
|
line.width: 2
|
|
|
|
line.color: 'gray'
|
|
|
|
path: aircraftPath
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Component {
|
|
|
|
id: aircraftComponent
|
|
|
|
MapQuickItem {
|
|
|
|
id: aircraft
|
|
|
|
anchorPoint.x: image.width/2
|
|
|
|
anchorPoint.y: image.height/2
|
|
|
|
coordinate: position
|
|
|
|
zoomLevel: aircraftZoomLevel
|
|
|
|
|
|
|
|
sourceItem: Grid {
|
|
|
|
columns: 1
|
|
|
|
Grid {
|
2023-02-16 06:00:30 -05:00
|
|
|
layer.enabled: smoothing
|
|
|
|
layer.smooth: smoothing
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
horizontalItemAlignment: Grid.AlignHCenter
|
|
|
|
Image {
|
|
|
|
id: image
|
|
|
|
rotation: heading
|
|
|
|
source: aircraftImage
|
2021-11-12 11:51:23 -05:00
|
|
|
visible: !lightIcons
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
2022-02-04 11:57:45 -05:00
|
|
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
2021-11-12 11:51:23 -05:00
|
|
|
onClicked: {
|
2022-02-04 11:57:45 -05:00
|
|
|
if (mouse.button === Qt.LeftButton) {
|
|
|
|
highlighted = true
|
|
|
|
} else if (mouse.button === Qt.RightButton) {
|
|
|
|
contextMenu.popup()
|
|
|
|
}
|
2021-11-12 11:51:23 -05:00
|
|
|
}
|
|
|
|
onDoubleClicked: {
|
|
|
|
target = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ColorOverlay {
|
|
|
|
cached: true
|
|
|
|
width: image.width
|
|
|
|
height: image.height
|
|
|
|
rotation: heading
|
|
|
|
source: image
|
|
|
|
color: "#c0ffffff"
|
|
|
|
visible: lightIcons
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
onClicked: {
|
|
|
|
highlighted = true
|
|
|
|
}
|
|
|
|
onDoubleClicked: {
|
|
|
|
target = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Rectangle {
|
|
|
|
id: bubble
|
|
|
|
color: bubbleColour
|
|
|
|
border.width: 1
|
|
|
|
width: text.width * 1.1
|
|
|
|
height: text.height * 1.1
|
|
|
|
radius: 5
|
|
|
|
Text {
|
|
|
|
id: text
|
|
|
|
anchors.centerIn: parent
|
|
|
|
text: adsbData
|
2022-02-04 11:57:45 -05:00
|
|
|
textFormat: TextEdit.RichText
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
}
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
2022-02-04 11:57:45 -05:00
|
|
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
onClicked: {
|
2022-02-04 11:57:45 -05:00
|
|
|
if (mouse.button === Qt.LeftButton) {
|
|
|
|
showAll = !showAll
|
|
|
|
} else if (mouse.button === Qt.RightButton) {
|
|
|
|
contextMenu.popup()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Menu {
|
|
|
|
id: contextMenu
|
|
|
|
MenuItem {
|
|
|
|
text: "Set as target"
|
|
|
|
onTriggered: target = true
|
|
|
|
}
|
|
|
|
MenuItem {
|
|
|
|
text: "Find on feature map"
|
|
|
|
onTriggered: aircraftModel.findOnMap(index)
|
|
|
|
}
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Component {
|
|
|
|
id: airportComponent
|
|
|
|
MapQuickItem {
|
|
|
|
id: aircraft
|
|
|
|
anchorPoint.x: image.width/2
|
|
|
|
anchorPoint.y: image.height/2
|
|
|
|
coordinate: position
|
|
|
|
zoomLevel: airportZoomLevel
|
|
|
|
|
|
|
|
sourceItem: Grid {
|
|
|
|
columns: 1
|
|
|
|
Grid {
|
|
|
|
horizontalItemAlignment: Grid.AlignHCenter
|
2023-02-16 06:00:30 -05:00
|
|
|
layer.enabled: smoothing
|
|
|
|
layer.smooth: smoothing
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
Image {
|
|
|
|
id: image
|
|
|
|
source: airportImage
|
2021-11-12 11:51:23 -05:00
|
|
|
visible: !lightIcons
|
|
|
|
}
|
|
|
|
ColorOverlay {
|
|
|
|
cached: true
|
|
|
|
width: image.width
|
|
|
|
height: image.height
|
|
|
|
source: image
|
|
|
|
color: "#c0ffffff"
|
|
|
|
visible: lightIcons
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
}
|
|
|
|
Rectangle {
|
|
|
|
id: bubble
|
|
|
|
color: bubbleColour
|
|
|
|
border.width: 1
|
|
|
|
width: text.width + 5
|
|
|
|
height: text.height + 5
|
|
|
|
radius: 5
|
|
|
|
Text {
|
|
|
|
id: text
|
|
|
|
anchors.centerIn: parent
|
|
|
|
text: airportData
|
|
|
|
}
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
onClicked: (mouse) => {
|
|
|
|
if (showFreq) {
|
|
|
|
var freqIdx = Math.floor((mouse.y-5)/((height-10)/airportDataRows))
|
|
|
|
if (freqIdx == 0) {
|
|
|
|
showFreq = false
|
|
|
|
}
|
|
|
|
} else {
|
2020-11-10 08:40:57 -05:00
|
|
|
showFreq = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
onDoubleClicked: (mouse) => {
|
|
|
|
if (showFreq) {
|
|
|
|
var freqIdx = Math.floor((mouse.y-5)/((height-10)/airportDataRows))
|
|
|
|
if (freqIdx != 0) {
|
|
|
|
selectedFreq = freqIdx - 1
|
|
|
|
}
|
ADS-B Demodulator updates.
Add OpenSky Network aircraft database support, for information about
aircraft model, owner, registration.
Add airline logos and country & military flags for display in the table.
Add OurAirports airport database support, to allow airports and ATC
frequencies to be displayed on the map.
Allow ATC frequency to be tuned by clicking on the map.
Add support for displaying flight paths on the map.
Allow columns in table to be rearranged and hidden.
Allow rows in table to be sorted by clicking on header.
Allow switching units from ft, kn, ft/min to m, kph, m/s
Allow aircraft timeout to be set by the user.
Allow font used for the table to be set by the user.
Add optional display of demodulator statistics.
Support multithreading in demodulator to reduce FIFO overflows.
Add support for demodulating all Mode-S frames and feeding them.
Add support for feeding in Beast hex format.
Allow option of correlating against full preamble or partial preamble.
Supporting highlighting of an aircraft in the table by selecting it on
the map.
Use difference of zeros and ones correlation, rather than absolute
threshold, to better account for varying conditions and make the
threshold easier to set.
Enable anti-aliasing for text on the map.
Improve CRC performance by 5x-10x.
Add HttpDownloadManager class to support downloading of files from the
web to disk.
2020-11-06 07:18:55 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|