mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
preferences 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
70bec60983
commit
25114a4e84
2 changed files with 43 additions and 43 deletions
|
@ -378,7 +378,7 @@ void PreferencesDialog::buttonClicked(QAbstractButton *button)
|
||||||
void PreferencesDialog::on_chooseFile_clicked()
|
void PreferencesDialog::on_chooseFile_clicked()
|
||||||
{
|
{
|
||||||
QFileInfo fi(system_default_filename());
|
QFileInfo fi(system_default_filename());
|
||||||
QString choosenFileName = QFileDialog::getOpenFileName(this, tr("Open Default Log File"), fi.absolutePath(), tr("Subsurface XML files (*.ssrf *.xml *.XML)"));
|
QString choosenFileName = QFileDialog::getOpenFileName(this, tr("Open default log file"), fi.absolutePath(), tr("Subsurface XML files (*.ssrf *.xml *.XML)"));
|
||||||
|
|
||||||
if (!choosenFileName.isEmpty())
|
if (!choosenFileName.isEmpty())
|
||||||
ui.defaultfilename->setText(choosenFileName);
|
ui.defaultfilename->setText(choosenFileName);
|
||||||
|
@ -392,7 +392,7 @@ void PreferencesDialog::on_resetSettings_clicked()
|
||||||
response.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel);
|
response.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel);
|
||||||
response.setDefaultButton(QMessageBox::Cancel);
|
response.setDefaultButton(QMessageBox::Cancel);
|
||||||
response.setWindowTitle(tr("Warning"));
|
response.setWindowTitle(tr("Warning"));
|
||||||
response.setText(tr("If you click OK, all settings of Subsurface are reset to their default values. This will be applied immediately."));
|
response.setText(tr("If you click OK, all settings of Subsurface will be reset to their default values. This will be applied immediately."));
|
||||||
response.setWindowModality(Qt::WindowModal);
|
response.setWindowModality(Qt::WindowModal);
|
||||||
|
|
||||||
int result = response.exec();
|
int result = response.exec();
|
||||||
|
|
|
@ -148,7 +148,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox_2">
|
<widget class="QGroupBox" name="groupBox_2">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Lists and Tables</string>
|
<string>Lists and tables</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QFormLayout" name="formLayout_2">
|
<layout class="QFormLayout" name="formLayout_2">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="label_9">
|
<widget class="QLabel" name="label_9">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Default Dive file</string>
|
<string>Default dive log file</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -204,7 +204,7 @@
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QLabel" name="label_10">
|
<widget class="QLabel" name="label_10">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Display Invalid</string>
|
<string>Display invalid</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -221,13 +221,13 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox_6">
|
<widget class="QGroupBox" name="groupBox_6">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Default Cylinder</string>
|
<string>Default cylinder</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QFormLayout" name="formLayout_6">
|
<layout class="QFormLayout" name="formLayout_6">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="label_11">
|
<widget class="QLabel" name="label_11">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Use Default Cylinder</string>
|
<string>Use default cylinder</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -277,13 +277,13 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox_8">
|
<widget class="QGroupBox" name="groupBox_8">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Subsurface Webservice</string>
|
<string>Subsurface web service</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_16">
|
<widget class="QLabel" name="label_16">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Default User ID</string>
|
<string>Default user ID</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -293,7 +293,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="save_uid_local">
|
<widget class="QCheckBox" name="save_uid_local">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Save User ID locally?</string>
|
<string>Save user ID locally?</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -535,7 +535,7 @@
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="label13">
|
<widget class="QLabel" name="label13">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Ascent/Descent speed denominator</string>
|
<string>Ascent/descent speed denominator</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -595,7 +595,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>threshold when showing pO₂</string>
|
<string>Threshold when showing pO₂</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -616,7 +616,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>threshold when showing pN₂</string>
|
<string>Threshold when showing pN₂</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -637,7 +637,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>threshold when showing pHe</string>
|
<string>Threshold when showing pHe</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -658,7 +658,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>max pO₂ when showing MOD</string>
|
<string>Max pO₂ when showing MOD</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -679,7 +679,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>draw dive computer reported ceiling red</string>
|
<string>Draw dive computer reported ceiling red</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -701,7 +701,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="show_average_depth">
|
<widget class="QCheckBox" name="show_average_depth">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>show average depth</string>
|
<string>Show average depth</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -769,7 +769,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="languageSystemDefault">
|
<widget class="QCheckBox" name="languageSystemDefault">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>System Default</string>
|
<string>System default</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -873,17 +873,17 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="1">
|
<item row="2" column="1">
|
||||||
<widget class="QCheckBox" name="proxyAuthRequired">
|
<widget class="QCheckBox" name="proxyAuthRequired">
|
||||||
<property name="layoutDirection">
|
<property name="layoutDirection">
|
||||||
<enum>Qt::LeftToRight</enum>
|
<enum>Qt::LeftToRight</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Requires authentication</string>
|
<string>Requires authentication</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1">
|
<item row="3" column="1">
|
||||||
<widget class="QLineEdit" name="proxyUsername">
|
<widget class="QLineEdit" name="proxyUsername">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
@ -926,20 +926,20 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="0">
|
<item row="5" column="0">
|
||||||
<spacer name="verticalSpacer_3">
|
<spacer name="verticalSpacer_3">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" stdset="0">
|
<property name="sizeHint" stdset="0">
|
||||||
<size>
|
<size>
|
||||||
<width>20</width>
|
<width>20</width>
|
||||||
<height>40</height>
|
<height>40</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue