1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Changed 1/min to more convenient bpm/rpm

Closes #135
This commit is contained in:
Martin Tůma 2018-09-09 15:27:44 +02:00
parent b4a06057f8
commit 384d20b1a5
4 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ CadenceGraph::CadenceGraph(QWidget *parent) : GraphTab(parent)
{
_showTracks = true;
GraphView::setYUnits(tr("1/min"));
GraphView::setYUnits(tr("rpm"));
setYLabel(tr("Cadence"));
setSliderPrecision(1);

View File

@ -18,9 +18,9 @@ QString CadenceGraphItem::toolTip() const
ToolTip tt;
tt.insert(tr("Maximum"), QString::number(max(), 'f', 1)
+ UNIT_SPACE + tr("1/min"));
+ UNIT_SPACE + tr("rpm"));
tt.insert(tr("Average"), QString::number(avg(), 'f', 1)
+ UNIT_SPACE + tr("1/min"));
+ UNIT_SPACE + tr("rpm"));
return tt.toString();
}

View File

@ -7,7 +7,7 @@ HeartRateGraph::HeartRateGraph(QWidget *parent) : GraphTab(parent)
{
_showTracks = true;
GraphView::setYUnits(tr("1/min"));
GraphView::setYUnits(tr("bpm"));
setYLabel(tr("Heart rate"));
setSliderPrecision(0);

View File

@ -18,9 +18,9 @@ QString HeartRateGraphItem::toolTip() const
ToolTip tt;
tt.insert(tr("Maximum"), QString::number(max(), 'f', 0)
+ UNIT_SPACE + tr("1/min"));
+ UNIT_SPACE + tr("bpm"));
tt.insert(tr("Average"), QString::number(avg(), 'f', 0)
+ UNIT_SPACE + tr("1/min"));
+ UNIT_SPACE + tr("bpm"));
return tt.toString();
}