mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
813ccb24f9
commit
05b53d6204
2 changed files with 24 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue