mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add tissue saturation plot to tooltip
This adds a graphical representation of tissue loadings at the current moment during the dive to the tooltip box. The layout is inspired by the Sherwater Petrel.Add tissue saturation plot to tooltip Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3fc9c1e005
commit
15a99f8789
5 changed files with 35 additions and 9 deletions
|
@ -360,9 +360,9 @@ void ProfileWidget2::setupItemSizes()
|
|||
itemPos.heartBeat.expanded.setP2(QPointF(0, 15));
|
||||
|
||||
itemPos.percentage.pos.on.setX(3);
|
||||
itemPos.percentage.pos.on.setY(85); // was 80
|
||||
itemPos.percentage.pos.on.setY(85);
|
||||
itemPos.percentage.expanded.setP1(QPointF(0, 0));
|
||||
itemPos.percentage.expanded.setP2(QPointF(0, 15)); // was 20
|
||||
itemPos.percentage.expanded.setP2(QPointF(0, 15));
|
||||
|
||||
itemPos.dcLabel.on.setX(3);
|
||||
itemPos.dcLabel.on.setY(100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue