More Charts honouring Colors Preferences

.. Further updates to the charts to honour the background
   color preferences:

        * Google Maps
        * Ride Summary
        * Scatter
        * Details (Metadata)
        * LTM Data View
        * Editor

.. still a few left to do and not entirely happy with how
   things look on the editor but we can fix this up over
   time.
This commit is contained in:
Mark Liversedge
2014-03-11 17:58:41 +00:00
parent 6a43f0ded6
commit 134b976d5f
21 changed files with 196 additions and 97 deletions

View File

@@ -60,8 +60,10 @@ GoogleMapControl::GoogleMapControl(Context *context) : GcChartWindow(context), c
connect(context, SIGNAL(intervalsChanged()), webBridge, SLOT(intervalsChanged()));
connect(context, SIGNAL(intervalSelected()), webBridge, SLOT(intervalsChanged()));
connect(context, SIGNAL(intervalZoom(IntervalItem*)), this, SLOT(zoomInterval(IntervalItem*)));
connect(context, SIGNAL(configChanged()), this, SLOT(configChanged()));
first = true;
configChanged();
}
GoogleMapControl::~GoogleMapControl()
@@ -69,6 +71,12 @@ GoogleMapControl::~GoogleMapControl()
delete webBridge;
}
void
GoogleMapControl::configChanged()
{
setProperty("color", GColor(CPLOTBACKGROUND));
}
void
GoogleMapControl::rideSelected()
{