mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Implement the rest of the heartbeat.
The only thing that was missing was the size of the vertical axis. I'm setting a small line on the bottom of the temperature axis, since both have blue color, this will not make people think one is the other. TODO: change the color to red. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fd1a62568b
commit
508cbc82b8
1 changed files with 3 additions and 0 deletions
|
@ -263,6 +263,8 @@ void ProfileWidget2::setupItemSizes()
|
|||
|
||||
itemPos.heartBeat.pos.on.setX(3);
|
||||
itemPos.heartBeat.pos.on.setY(60);
|
||||
itemPos.heartBeat.expanded.setP1(QPointF(0,0));
|
||||
itemPos.heartBeat.expanded.setP2(QPointF(0,20));
|
||||
|
||||
itemPos.dcLabel.on.setX(3);
|
||||
itemPos.dcLabel.on.setY(100);
|
||||
|
@ -547,6 +549,7 @@ void ProfileWidget2::setProfileState()
|
|||
cylinderPressureAxis->setPos(itemPos.cylinder.pos.on);
|
||||
temperatureAxis->setPos(itemPos.temperature.pos.on);
|
||||
heartBeatAxis->setPos(itemPos.heartBeat.pos.on);
|
||||
heartBeatAxis->setLine(itemPos.heartBeat.expanded);
|
||||
meanDepth->setVisible(true);
|
||||
|
||||
diveComputerText->setVisible(true);
|
||||
|
|
Loading…
Add table
Reference in a new issue