mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Support imperial measurements in dive planner / add dive
This was not as hard as I assumed it would be. I may still change the horizontal dimension to be the more logical seconds instead of minutes, but for now this achieves the main goal. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ff58fd7dca
commit
6ce5704435
3 changed files with 61 additions and 48 deletions
|
@ -11,7 +11,8 @@
|
|||
#include "dive.h"
|
||||
#include "qthelper.h"
|
||||
|
||||
QString get_depth_string(depth_t depth, bool showunit = false);
|
||||
QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true);
|
||||
QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true);
|
||||
QString get_depth_unit();
|
||||
QString get_weight_string(weight_t weight, bool showunit = false);
|
||||
QString get_weight_unit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue