mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
maintab capitalisation consistency
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
85a98636c1
commit
5c5168cf17
2 changed files with 18 additions and 18 deletions
|
@ -384,7 +384,7 @@ void MainTab::updateDiveInfo(bool clear)
|
|||
ui.dateEdit->setDate(localTime.date());
|
||||
ui.timeEdit->setTime(localTime.time());
|
||||
if (MainWindow::instance() && MainWindow::instance()->dive_list()->selectedTrips().count() == 1) {
|
||||
setTabText(0, tr("Trip Notes"));
|
||||
setTabText(0, tr("Trip notes"));
|
||||
// only use trip relevant fields
|
||||
ui.coordinates->setVisible(false);
|
||||
ui.CoordinatedLabel->setVisible(false);
|
||||
|
@ -406,14 +406,14 @@ void MainTab::updateDiveInfo(bool clear)
|
|||
ui.watertemp->setVisible(false);
|
||||
// rename the remaining fields and fill data from selected trip
|
||||
dive_trip_t *currentTrip = *MainWindow::instance()->dive_list()->selectedTrips().begin();
|
||||
ui.LocationLabel->setText(tr("Trip Location"));
|
||||
ui.LocationLabel->setText(tr("Trip location"));
|
||||
ui.location->setText(currentTrip->location);
|
||||
ui.NotesLabel->setText(tr("Trip Notes"));
|
||||
ui.NotesLabel->setText(tr("Trip notes"));
|
||||
ui.notes->setText(currentTrip->notes);
|
||||
clearEquipment();
|
||||
ui.equipmentTab->setEnabled(false);
|
||||
} else {
|
||||
setTabText(0, tr("Dive Notes"));
|
||||
setTabText(0, tr("Dive notes"));
|
||||
// make all the fields visible writeable
|
||||
ui.coordinates->setVisible(true);
|
||||
ui.CoordinatedLabel->setVisible(true);
|
||||
|
@ -498,8 +498,8 @@ void MainTab::updateDiveInfo(bool clear)
|
|||
// the overall average depth is really confusing when listed between the
|
||||
// deepest and shallowest dive - let's just not set it
|
||||
// ui.depthLimits->setAverage(get_depth_string(stats_selection.avg_depth, true));
|
||||
ui.depthLimits->overrideMaxToolTipText(tr("Deepest Dive"));
|
||||
ui.depthLimits->overrideMinToolTipText(tr("Shallowest Dive"));
|
||||
ui.depthLimits->overrideMaxToolTipText(tr("Deepest dive"));
|
||||
ui.depthLimits->overrideMinToolTipText(tr("Shallowest dive"));
|
||||
ui.sacLimits->setMaximum(get_volume_string(stats_selection.max_sac, true).append(tr("/min")));
|
||||
ui.sacLimits->setMinimum(get_volume_string(stats_selection.min_sac, true).append(tr("/min")));
|
||||
ui.sacLimits->setAverage(get_volume_string(stats_selection.avg_sac, true).append(tr("/min")));
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
</property>
|
||||
<widget class="QWidget" name="notesTab">
|
||||
<attribute name="title">
|
||||
<string>Dive Notes</string>
|
||||
<string>Dive notes</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="2" column="1">
|
||||
|
@ -388,7 +388,7 @@
|
|||
</widget>
|
||||
<widget class="QWidget" name="infoTab">
|
||||
<attribute name="title">
|
||||
<string>Dive Info</string>
|
||||
<string>Dive info</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
|
@ -471,7 +471,7 @@
|
|||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_3">
|
||||
<property name="title">
|
||||
<string>Gases Used</string>
|
||||
<string>Gases used</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
|
@ -490,7 +490,7 @@
|
|||
<item row="1" column="1">
|
||||
<widget class="QGroupBox" name="groupBox_4">
|
||||
<property name="title">
|
||||
<string>Gas Consumed</string>
|
||||
<string>Gas consumed</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||
<item>
|
||||
|
@ -528,7 +528,7 @@
|
|||
<item row="2" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_6">
|
||||
<property name="title">
|
||||
<string>Max. Depth</string>
|
||||
<string>Max. depth</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||||
<item>
|
||||
|
@ -547,7 +547,7 @@
|
|||
<item row="2" column="1">
|
||||
<widget class="QGroupBox" name="groupBox_7">
|
||||
<property name="title">
|
||||
<string>Ave. Depth</string>
|
||||
<string>Ave. depth</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||
<item>
|
||||
|
@ -585,7 +585,7 @@
|
|||
<item row="3" column="0">
|
||||
<widget class="QGroupBox" name="groupBox_10">
|
||||
<property name="title">
|
||||
<string>Air Pressure</string>
|
||||
<string>Air pressure</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
||||
<item>
|
||||
|
@ -604,7 +604,7 @@
|
|||
<item row="3" column="1">
|
||||
<widget class="QGroupBox" name="groupBox_9">
|
||||
<property name="title">
|
||||
<string>Air Temperature</string>
|
||||
<string>Air temperature</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
||||
<item>
|
||||
|
@ -623,7 +623,7 @@
|
|||
<item row="3" column="2">
|
||||
<widget class="QGroupBox" name="groupBox_8">
|
||||
<property name="title">
|
||||
<string>Water Temperature</string>
|
||||
<string>Water temperature</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
||||
<item>
|
||||
|
@ -642,7 +642,7 @@
|
|||
<item row="0" column="1">
|
||||
<widget class="QGroupBox" name="groupBox_11">
|
||||
<property name="title">
|
||||
<string>Dive Time</string>
|
||||
<string>Dive time</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_12">
|
||||
<item>
|
||||
|
@ -813,7 +813,7 @@
|
|||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_11b">
|
||||
<property name="title">
|
||||
<string>Total Time</string>
|
||||
<string>Total time</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_11b">
|
||||
<item>
|
||||
|
@ -871,7 +871,7 @@
|
|||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_13">
|
||||
<property name="title">
|
||||
<string>Gas Consumption</string>
|
||||
<string>Gas consumption</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_15b">
|
||||
<item>
|
||||
|
|
Loading…
Add table
Reference in a new issue