Visual cue for filter

.. by highlighting chart title too if a filter is
   being applied.

This is important to warn users that the data being plotted
is adjusted to the search/filter (either globally or in the
chart settings).
This commit is contained in:
Mark Liversedge
2013-04-26 12:44:51 +01:00
parent c79d18fd03
commit fdf2149087
17 changed files with 78 additions and 12 deletions

View File

@@ -36,7 +36,7 @@
#include <QXmlSimpleReader>
CriticalPowerWindow::CriticalPowerWindow(const QDir &home, MainWindow *parent, bool rangemode) :
GcChartWindow(parent), _dateRange("{00000000-0000-0000-0000-000000000001}"), home(home), mainWindow(parent), currentRide(NULL), rangemode(rangemode), stale(true), useCustom(false), useToToday(false)
GcChartWindow(parent), _dateRange("{00000000-0000-0000-0000-000000000001}"), home(home), mainWindow(parent), currentRide(NULL), rangemode(rangemode), isfiltered(false), stale(true), useCustom(false), useToToday(false)
{
setInstanceName("Critical Power Window");
@@ -239,6 +239,7 @@ CriticalPowerWindow::forceReplot()
// rideSelected is easiest way
if (amVisible()) rideSelected();
}
repaint();
}
void