Add IntervalHover to Histogram Chart

.. when mousing over the intervals list we
   now plot the hovered interval in gray.
This commit is contained in:
Mark Liversedge
2014-03-27 13:05:53 +00:00
parent 907382c756
commit cd35e0d4ee
4 changed files with 455 additions and 367 deletions

View File

@@ -297,6 +297,7 @@ HistogramWindow::HistogramWindow(Context *context, bool rangemode) : GcChartWind
dateSetting->hide();
connect(this, SIGNAL(rideItemChanged(RideItem*)), this, SLOT(rideSelected()));
connect(context, SIGNAL(intervalSelected()), this, SLOT(intervalSelected()));
connect(context, SIGNAL(intervalHover(RideFileInterval)), powerHist, SLOT(intervalHover(RideFileInterval)));
// comparing things
connect(context, SIGNAL(compareIntervalsStateChanged(bool)), this, SLOT(compareChanged()));