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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-02-04 13:12:50 -08:00
parent 813ccb24f9
commit 05b53d6204
2 changed files with 24 additions and 0 deletions

View file

@ -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);

View file

@ -86,6 +86,13 @@
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="2" column="3">
<widget class="QLabel" name="durationLabel">
<property name="text">
<string>Duration</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
@ -163,6 +170,19 @@
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="depthLabel">
<property name="text">
<string>Depth</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLineEdit" name="depth"/>
</item>
<item row="3" column="3">
<widget class="QLineEdit" name="duration"/>
</item>
</layout>
</item>
<item>