From b06d1e9a1d8c229b5a2ab24984dff4e005648fb5 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Wed, 21 Dec 2011 17:48:27 +0000 Subject: [PATCH] Rolling Average Power/Cadence/HR tweaks The slider in the controls should only be shown for HR/Power/Cadence. Additionally, it is more of a 'smoothing' (rolling) average, so the text has been changed to reflect that. This is to avoid confusion with the other series entitled Average Power. Average Cadence and Average heart rate - which are averages for the entire ride. --- src/DialWindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/DialWindow.cpp b/src/DialWindow.cpp index 83ad4a7f4..d61760064 100644 --- a/src/DialWindow.cpp +++ b/src/DialWindow.cpp @@ -47,7 +47,7 @@ DialWindow::DialWindow(MainWindow *mainWindow) : controlsLayout->addRow(seriesLabel, seriesSelector); // average selection - averageLabel= new QLabel(tr("Average"), this); + averageLabel= new QLabel(tr("Smooth (secs)"), this); averageLabel->hide(); averageLabel->setAutoFillBackground(true); @@ -424,6 +424,10 @@ void DialWindow::seriesChanged() averageLabel->show(); averageEdit->show(); averageSlider->show(); + } else { + averageLabel->hide(); + averageEdit->hide(); + averageSlider->hide(); } // the series selector changed so update the colors