From 05b53d6204a638147727441a904f0661127142f2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 4 Feb 2017 13:12:50 -0800 Subject: Add depth and duration fields to maintab And hide them for now. This doesn't change anything visible, it's just putting in place the pieces for later use. Signed-off-by: Dirk Hohndel --- desktop-widgets/maintab.cpp | 4 ++++ desktop-widgets/maintab.ui | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/desktop-widgets/maintab.cpp b/desktop-widgets/maintab.cpp index 4766bf050..8b0b48363 100644 --- a/desktop-widgets/maintab.cpp +++ b/desktop-widgets/maintab.cpp @@ -120,6 +120,10 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), ui.diveEquipmentMessage->hide(); ui.diveInfoMessage->hide(); ui.diveStatisticsMessage->hide(); + ui.depth->hide(); + ui.depthLabel->hide(); + ui.duration->hide(); + ui.durationLabel->hide(); setMinimumHeight(0); setMinimumWidth(0); diff --git a/desktop-widgets/maintab.ui b/desktop-widgets/maintab.ui index bfd67bf40..4a6ed9807 100644 --- a/desktop-widgets/maintab.ui +++ b/desktop-widgets/maintab.ui @@ -86,6 +86,13 @@ 0 + + + + Duration + + + @@ -163,6 +170,19 @@ + + + + Depth + + + + + + + + + -- cgit v1.2.3-70-g09d2