mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-08 17:46:03 -05:00
1a9b6d1763
Add GS232 Rotator Controller feature plugin. Add altitude and station name to My Positon. Use QtDeploy to ensure all required Qt libraries are included (Should fix OpenGL issues)
39 lines
977 B
QML
39 lines
977 B
QML
import QtQuick 2.4
|
|
import QtLocation 5.6
|
|
import QtPositioning 5.6
|
|
|
|
MapQuickItem {
|
|
id: station
|
|
property string stationName // Name of the station, E.g. Home
|
|
|
|
coordinate: QtPositioning.coordinate(51.5, 0.125) // Location of the antenna (QTH) - London
|
|
zoomLevel: 11
|
|
|
|
anchorPoint.x: image.width/2
|
|
anchorPoint.y: image.height/2
|
|
|
|
sourceItem: Grid {
|
|
columns: 1
|
|
Grid {
|
|
horizontalItemAlignment: Grid.AlignHCenter
|
|
Image {
|
|
id: image
|
|
source: "map_antenna.png"
|
|
}
|
|
Rectangle {
|
|
id: bubble
|
|
color: "lightblue"
|
|
border.width: 1
|
|
width: text.width * 1.3
|
|
height: text.height * 1.3
|
|
radius: 5
|
|
Text {
|
|
id: text
|
|
anchors.centerIn: parent
|
|
text: stationName
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|