mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user