From 7a4abd7477dc2a4f8e52f7bb00c19890c6ec2ca2 Mon Sep 17 00:00:00 2001 From: Willem Ferguson Date: Sun, 10 Nov 2019 13:09:19 -0800 Subject: Reorganise the Information tab of the Info panel 1) Reorganise the existing widgets in the Information tab 2) Move divemode widget and visibility widget from Notes tab to Information tab 3) Translate water density to a word indicating water type 4) Reorganise the Notes tab to compensate for the moving the divemode and visibility widgets to the Information tab 5) Remove the problems in showing a QGroupBox in Qt Windows. I do this by removing the CSS specifying border characteristics Signed-off-by: willemferguson Signed-off-by: Dirk Hohndel --- desktop-widgets/tab-widgets/TabDiveInformation.ui | 409 +++++++++++++++++----- 1 file changed, 321 insertions(+), 88 deletions(-) (limited to 'desktop-widgets/tab-widgets/TabDiveInformation.ui') diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.ui b/desktop-widgets/tab-widgets/TabDiveInformation.ui index b35ddf01d..41be1bd8a 100644 --- a/desktop-widgets/tab-widgets/TabDiveInformation.ui +++ b/desktop-widgets/tab-widgets/TabDiveInformation.ui @@ -14,6 +14,9 @@ Information + + + @@ -48,35 +51,65 @@ 0 - 6 + 4 0 + + + + + DIVE + + + + - + + + DIVE + + + + + - Date + Dive mode + + + Qt::AlignHCenter + + + + + + + + Qt::AlignBottom - - - - - - - Qt::AlignCenter - + - + + Interval + + Qt::AlignHCenter + + + + 1 + 0 + + @@ -84,78 +117,124 @@ - Qt::AlignCenter + Qt::AlignHCenter - - + + - Gases used + Duration - + + Qt::AlignHCenter + + + + 1 + 0 + + + - + - Qt::AlignCenter + Qt::AlignHCenter - - + + - Gas consumed + Max. depth - + + Qt::AlignHCenter + + + + 1 + 0 + + + - + - Qt::AlignCenter + Qt::AlignHCenter - - + + + - SAC + Avg. depth - + + Qt::AlignHCenter + + + + 1 + 0 + + + - + - Qt::AlignCenter + Qt::AlignHCenter + - + + + GAS + + + + + + - CNS + Gas name - + + Qt::AlignHCenter + + + + 1 + 0 + + + - + @@ -167,14 +246,23 @@ - - + + - OTU + Gas consumed - + + Qt::AlignHCenter + + + + 0 + 0 + + + - + @@ -186,14 +274,23 @@ - - + + - Max. depth + SAC - + + Qt::AlignHCenter + + + + 0 + 0 + + + - + @@ -205,14 +302,23 @@ - - + + - Avg. depth + CNS - + + Qt::AlignHCenter + + + + 0 + 1 + + + - + @@ -224,42 +330,63 @@ - - - + + - Atm. pressure + OTU Qt::AlignHCenter - - - 0 - 0 - - - + + + 0 + 0 + + + - - - false + + + + + + + 0 + 0 + + + + Qt::AlignCenter - - - - - + + + + ENVIRONMENT + + + + + Air temp. + + Qt::AlignHCenter + + + + 0 + 0 + + @@ -267,18 +394,28 @@ - Qt::AlignCenter + Qt::AlignHCenter - + + Water temp. + + Qt::AlignHCenter + + + + 0 + 0 + + @@ -286,49 +423,139 @@ - Qt::AlignCenter + Qt::AlignHCenter - - + + + + + 4 + + + + - Dive time + Water type/Density - + + Qt::AlignHCenter + + + + 1 + 0 + + + + - - - - + + + EN13319 + + + + + + Qt::AlignCenter + - - + + + - Water type + Atm. pressure/Altitude + + + Qt::AlignHCenter - + + + 1 + 0 + + + - - - Qt::AlignCenter + + + false + + + + - + + + + + + + + Visibility + + + Qt::AlignHCenter + + + + 0 + 0 + + + + + 0 + + + + + + 0 + 0 + + + + Qt::StrongFocus + + + + + + + Bad + + + + + + + Good + + + + + + + + Qt::Vertical @@ -336,6 +563,12 @@ QSizePolicy::Expanding + + + 0 + 0 + + 20 -- cgit v1.2.3-70-g09d2