QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCMapPalette Class Reference

#include <QGCMapPalette.h>

+ Inheritance diagram for QGCMapPalette:
+ Collaboration diagram for QGCMapPalette:

Signals

void paletteChanged (void)
 
void lightColorsChanged (bool lightColors)
 

Detailed Description

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.

Member Function Documentation

◆ lightColorsChanged

void QGCMapPalette::lightColorsChanged ( bool  lightColors)
signal

◆ paletteChanged

void QGCMapPalette::paletteChanged ( void  )
signal

The documentation for this class was generated from the following files: