|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <QGCMapPalette.h>
Inheritance diagram for QGCMapPalette:
Collaboration diagram for QGCMapPalette:Signals | |
| void | paletteChanged (void) |
| void | lightColorsChanged (bool lightColors) |
QGCMapPalette is a variant of QGCPalette which is used to hold colors used for display over the map control. Since the coloring of a satellite map differs greatly from the coloring of a street map you need to be able to switch between sets of color based on map type.
Usage:
1.0
FlightMap {
id: map
anchors.fill: parent
QGCMapPalette { id: mapPal: lightColors: map.isSatelliteMap }
QGCLabel {
text: "Text over map"
color: mapPal.text
}
}
Definition at line 29 of file QGCMapPalette.h.
|
signal |
|
signal |