mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 07:12:46 +01:00
configure_system: Implement highlighted overrides
This commit is contained in:
parent
6316a3d8d9
commit
a350ae6be6
3 changed files with 544 additions and 539 deletions
|
@ -36,6 +36,9 @@ struct Trackers {
|
||||||
CheckState use_asynchronous_shaders;
|
CheckState use_asynchronous_shaders;
|
||||||
CheckState use_fast_gpu_time;
|
CheckState use_fast_gpu_time;
|
||||||
CheckState force_30fps_mode;
|
CheckState force_30fps_mode;
|
||||||
|
|
||||||
|
CheckState use_rng_seed;
|
||||||
|
CheckState use_custom_rtc;
|
||||||
} extern trackers;
|
} extern trackers;
|
||||||
|
|
||||||
// Global-aware apply and set functions
|
// Global-aware apply and set functions
|
||||||
|
|
|
@ -67,21 +67,21 @@ void ConfigureSystem::SetConfiguration() {
|
||||||
const auto rtc_time = Settings::values.custom_rtc.GetValue().value_or(
|
const auto rtc_time = Settings::values.custom_rtc.GetValue().value_or(
|
||||||
std::chrono::seconds(QDateTime::currentSecsSinceEpoch()));
|
std::chrono::seconds(QDateTime::currentSecsSinceEpoch()));
|
||||||
|
|
||||||
|
ui->rng_seed_checkbox->setChecked(Settings::values.rng_seed.GetValue().has_value());
|
||||||
|
ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.GetValue().has_value() &&
|
||||||
|
Settings::values.rng_seed.UsingGlobal());
|
||||||
|
ui->rng_seed_edit->setText(rng_seed);
|
||||||
|
|
||||||
|
ui->custom_rtc_checkbox->setChecked(Settings::values.custom_rtc.GetValue().has_value());
|
||||||
|
ui->custom_rtc_edit->setEnabled(Settings::values.custom_rtc.GetValue().has_value() &&
|
||||||
|
Settings::values.rng_seed.UsingGlobal());
|
||||||
|
ui->custom_rtc_edit->setDateTime(QDateTime::fromSecsSinceEpoch(rtc_time.count()));
|
||||||
|
|
||||||
if (Settings::configuring_global) {
|
if (Settings::configuring_global) {
|
||||||
ui->combo_language->setCurrentIndex(Settings::values.language_index.GetValue());
|
ui->combo_language->setCurrentIndex(Settings::values.language_index.GetValue());
|
||||||
ui->combo_region->setCurrentIndex(Settings::values.region_index.GetValue());
|
ui->combo_region->setCurrentIndex(Settings::values.region_index.GetValue());
|
||||||
ui->combo_time_zone->setCurrentIndex(Settings::values.time_zone_index.GetValue());
|
ui->combo_time_zone->setCurrentIndex(Settings::values.time_zone_index.GetValue());
|
||||||
ui->combo_sound->setCurrentIndex(Settings::values.sound_index.GetValue());
|
ui->combo_sound->setCurrentIndex(Settings::values.sound_index.GetValue());
|
||||||
|
|
||||||
ui->rng_seed_checkbox->setChecked(Settings::values.rng_seed.GetValue().has_value());
|
|
||||||
ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.GetValue().has_value() &&
|
|
||||||
Settings::values.rng_seed.UsingGlobal());
|
|
||||||
ui->rng_seed_edit->setText(rng_seed);
|
|
||||||
|
|
||||||
ui->custom_rtc_checkbox->setChecked(Settings::values.custom_rtc.GetValue().has_value());
|
|
||||||
ui->custom_rtc_edit->setEnabled(Settings::values.custom_rtc.GetValue().has_value() &&
|
|
||||||
Settings::values.rng_seed.UsingGlobal());
|
|
||||||
ui->custom_rtc_edit->setDateTime(QDateTime::fromSecsSinceEpoch(rtc_time.count()));
|
|
||||||
} else {
|
} else {
|
||||||
ConfigurationShared::SetPerGameSetting(ui->combo_language,
|
ConfigurationShared::SetPerGameSetting(ui->combo_language,
|
||||||
&Settings::values.language_index);
|
&Settings::values.language_index);
|
||||||
|
@ -89,28 +89,6 @@ void ConfigureSystem::SetConfiguration() {
|
||||||
ConfigurationShared::SetPerGameSetting(ui->combo_time_zone,
|
ConfigurationShared::SetPerGameSetting(ui->combo_time_zone,
|
||||||
&Settings::values.time_zone_index);
|
&Settings::values.time_zone_index);
|
||||||
ConfigurationShared::SetPerGameSetting(ui->combo_sound, &Settings::values.sound_index);
|
ConfigurationShared::SetPerGameSetting(ui->combo_sound, &Settings::values.sound_index);
|
||||||
|
|
||||||
if (Settings::values.rng_seed.UsingGlobal()) {
|
|
||||||
ui->rng_seed_checkbox->setCheckState(Qt::PartiallyChecked);
|
|
||||||
} else {
|
|
||||||
ui->rng_seed_checkbox->setCheckState(
|
|
||||||
Settings::values.rng_seed.GetValue().has_value() ? Qt::Checked : Qt::Unchecked);
|
|
||||||
ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.GetValue().has_value());
|
|
||||||
if (Settings::values.rng_seed.GetValue().has_value()) {
|
|
||||||
ui->rng_seed_edit->setText(rng_seed);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Settings::values.custom_rtc.UsingGlobal()) {
|
|
||||||
ui->custom_rtc_checkbox->setCheckState(Qt::PartiallyChecked);
|
|
||||||
} else {
|
|
||||||
ui->custom_rtc_checkbox->setCheckState(
|
|
||||||
Settings::values.custom_rtc.GetValue().has_value() ? Qt::Checked : Qt::Unchecked);
|
|
||||||
ui->custom_rtc_edit->setEnabled(Settings::values.custom_rtc.GetValue().has_value());
|
|
||||||
if (Settings::values.custom_rtc.GetValue().has_value()) {
|
|
||||||
ui->custom_rtc_edit->setDateTime(QDateTime::fromSecsSinceEpoch(rtc_time.count()));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,37 +139,42 @@ void ConfigureSystem::ApplyConfiguration() {
|
||||||
ui->combo_time_zone);
|
ui->combo_time_zone);
|
||||||
ConfigurationShared::ApplyPerGameSetting(&Settings::values.sound_index, ui->combo_sound);
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.sound_index, ui->combo_sound);
|
||||||
|
|
||||||
switch (ui->rng_seed_checkbox->checkState()) {
|
switch (ConfigurationShared::trackers.use_rng_seed) {
|
||||||
case Qt::Checked:
|
case ConfigurationShared::CheckState::On:
|
||||||
|
case ConfigurationShared::CheckState::Off:
|
||||||
Settings::values.rng_seed.SetGlobal(false);
|
Settings::values.rng_seed.SetGlobal(false);
|
||||||
Settings::values.rng_seed.SetValue(ui->rng_seed_edit->text().toULongLong(nullptr, 16));
|
if (ui->rng_seed_checkbox->isChecked()) {
|
||||||
|
Settings::values.rng_seed.SetValue(
|
||||||
|
ui->rng_seed_edit->text().toULongLong(nullptr, 16));
|
||||||
|
} else {
|
||||||
|
Settings::values.rng_seed.SetValue(std::nullopt);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Qt::Unchecked:
|
case ConfigurationShared::CheckState::Global:
|
||||||
Settings::values.rng_seed.SetGlobal(false);
|
|
||||||
Settings::values.rng_seed.SetValue(std::nullopt);
|
|
||||||
break;
|
|
||||||
case Qt::PartiallyChecked:
|
|
||||||
Settings::values.rng_seed.SetGlobal(false);
|
Settings::values.rng_seed.SetGlobal(false);
|
||||||
Settings::values.rng_seed.SetValue(std::nullopt);
|
Settings::values.rng_seed.SetValue(std::nullopt);
|
||||||
Settings::values.rng_seed.SetGlobal(true);
|
Settings::values.rng_seed.SetGlobal(true);
|
||||||
break;
|
break;
|
||||||
|
case ConfigurationShared::CheckState::Count:;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (ui->custom_rtc_checkbox->checkState()) {
|
switch (ConfigurationShared::trackers.use_custom_rtc) {
|
||||||
case Qt::Checked:
|
case ConfigurationShared::CheckState::On:
|
||||||
|
case ConfigurationShared::CheckState::Off:
|
||||||
Settings::values.custom_rtc.SetGlobal(false);
|
Settings::values.custom_rtc.SetGlobal(false);
|
||||||
Settings::values.custom_rtc.SetValue(
|
if (ui->custom_rtc_checkbox->isChecked()) {
|
||||||
std::chrono::seconds(ui->custom_rtc_edit->dateTime().toSecsSinceEpoch()));
|
Settings::values.custom_rtc.SetValue(
|
||||||
|
std::chrono::seconds(ui->custom_rtc_edit->dateTime().toSecsSinceEpoch()));
|
||||||
|
} else {
|
||||||
|
Settings::values.custom_rtc.SetValue(std::nullopt);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Qt::Unchecked:
|
case ConfigurationShared::CheckState::Global:
|
||||||
Settings::values.custom_rtc.SetGlobal(false);
|
|
||||||
Settings::values.custom_rtc.SetValue(std::nullopt);
|
|
||||||
break;
|
|
||||||
case Qt::PartiallyChecked:
|
|
||||||
Settings::values.custom_rtc.SetGlobal(false);
|
Settings::values.custom_rtc.SetGlobal(false);
|
||||||
Settings::values.custom_rtc.SetValue(std::nullopt);
|
Settings::values.custom_rtc.SetValue(std::nullopt);
|
||||||
Settings::values.custom_rtc.SetGlobal(true);
|
Settings::values.custom_rtc.SetGlobal(true);
|
||||||
break;
|
break;
|
||||||
|
case ConfigurationShared::CheckState::Count:;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -229,10 +212,25 @@ void ConfigureSystem::SetupPerGameUI() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ConfigurationShared::InsertGlobalItem(ui->combo_language);
|
ConfigurationShared::SetColoredComboBox(ui->combo_language, ui->label_language,
|
||||||
ConfigurationShared::InsertGlobalItem(ui->combo_region);
|
"label_language",
|
||||||
ConfigurationShared::InsertGlobalItem(ui->combo_time_zone);
|
Settings::values.language_index.GetValue(true));
|
||||||
ConfigurationShared::InsertGlobalItem(ui->combo_sound);
|
ConfigurationShared::SetColoredComboBox(ui->combo_region, ui->label_region, "label_region",
|
||||||
ui->rng_seed_checkbox->setTristate(true);
|
Settings::values.region_index.GetValue(true));
|
||||||
ui->custom_rtc_checkbox->setTristate(true);
|
ConfigurationShared::SetColoredComboBox(ui->combo_time_zone, ui->label_timezone,
|
||||||
|
"label_timezone",
|
||||||
|
Settings::values.time_zone_index.GetValue(true));
|
||||||
|
ConfigurationShared::SetColoredComboBox(ui->combo_sound, ui->label_sound, "label_sound",
|
||||||
|
Settings::values.sound_index.GetValue(true));
|
||||||
|
|
||||||
|
ConfigurationShared::SetColoredTristate(ui->rng_seed_checkbox, "rng_seed_checkbox",
|
||||||
|
Settings::values.rng_seed.UsingGlobal(),
|
||||||
|
Settings::values.rng_seed.GetValue().has_value(),
|
||||||
|
Settings::values.rng_seed.GetValue(true).has_value(),
|
||||||
|
ConfigurationShared::trackers.use_rng_seed);
|
||||||
|
ConfigurationShared::SetColoredTristate(ui->custom_rtc_checkbox, "custom_rtc_checkbox",
|
||||||
|
Settings::values.custom_rtc.UsingGlobal(),
|
||||||
|
Settings::values.custom_rtc.GetValue().has_value(),
|
||||||
|
Settings::values.custom_rtc.GetValue(true).has_value(),
|
||||||
|
ConfigurationShared::trackers.use_custom_rtc);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,490 +21,494 @@
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>System Settings</string>
|
<string>System Settings</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<item row="3" column="0">
|
<item>
|
||||||
<widget class="QLabel" name="label_sound">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<property name="text">
|
<item row="1" column="0">
|
||||||
<string>Sound output mode</string>
|
<widget class="QLabel" name="label_region">
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>Region:</string>
|
||||||
</item>
|
</property>
|
||||||
<item row="4" column="0">
|
</widget>
|
||||||
<widget class="QLabel" name="label_console_id">
|
</item>
|
||||||
<property name="text">
|
<item row="2" column="1">
|
||||||
<string>Console ID:</string>
|
<widget class="QComboBox" name="combo_time_zone">
|
||||||
</property>
|
<item>
|
||||||
</widget>
|
<property name="text">
|
||||||
</item>
|
<string>Auto</string>
|
||||||
<item row="0" column="1">
|
</property>
|
||||||
<widget class="QComboBox" name="combo_language">
|
</item>
|
||||||
<property name="toolTip">
|
<item>
|
||||||
<string>Note: this can be overridden when region setting is auto-select</string>
|
<property name="text">
|
||||||
</property>
|
<string>Default</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Japanese (日本語)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>CET</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>English</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>CST6CDT</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>French (français)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Cuba</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>German (Deutsch)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>EET</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Italian (italiano)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Egypt</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Spanish (español)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Eire</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Chinese</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>EST</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Korean (한국어)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>EST5EDT</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Dutch (Nederlands)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>GB</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Portuguese (português)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>GB-Eire</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Russian (Русский)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>GMT</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Taiwanese</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>GMT+0</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>British English</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>GMT-0</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Canadian French</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>GMT0</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Latin American Spanish</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Greenwich</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Simplified Chinese</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Hongkong</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Traditional Chinese (正體中文)</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>HST</string>
|
||||||
</widget>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item>
|
||||||
<widget class="QLabel" name="label_region">
|
<property name="text">
|
||||||
<property name="text">
|
<string>Iceland</string>
|
||||||
<string>Region:</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item row="1" column="1">
|
<string>Iran</string>
|
||||||
<widget class="QComboBox" name="combo_region">
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item>
|
||||||
<string>Japan</string>
|
<property name="text">
|
||||||
</property>
|
<string>Israel</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item>
|
||||||
<string>USA</string>
|
<property name="text">
|
||||||
</property>
|
<string>Jamaica</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item>
|
||||||
<string>Europe</string>
|
<property name="text">
|
||||||
</property>
|
<string>Japan</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item>
|
||||||
<string>Australia</string>
|
<property name="text">
|
||||||
</property>
|
<string>Kwajalein</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item>
|
||||||
<string>China</string>
|
<property name="text">
|
||||||
</property>
|
<string>Libya</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item>
|
||||||
<string>Korea</string>
|
<property name="text">
|
||||||
</property>
|
<string>MET</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item>
|
||||||
<string>Taiwan</string>
|
<property name="text">
|
||||||
</property>
|
<string>MST</string>
|
||||||
</item>
|
</property>
|
||||||
</widget>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item row="2" column="0">
|
<property name="text">
|
||||||
<widget class="QLabel" name="label_timezone">
|
<string>MST7MDT</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Time Zone:</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</widget>
|
<property name="text">
|
||||||
</item>
|
<string>Navajo</string>
|
||||||
<item row="2" column="1">
|
</property>
|
||||||
<widget class="QComboBox" name="combo_time_zone">
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Auto</string>
|
<string>NZ</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Default</string>
|
<string>NZ-CHAT</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>CET</string>
|
<string>Poland</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>CST6CDT</string>
|
<string>Portugal</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Cuba</string>
|
<string>PRC</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>EET</string>
|
<string>PST8PDT</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Egypt</string>
|
<string>ROC</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Eire</string>
|
<string>ROK</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>EST</string>
|
<string>Singapore</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>EST5EDT</string>
|
<string>Turkey</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>GB</string>
|
<string>UCT</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>GB-Eire</string>
|
<string>Universal</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>GMT</string>
|
<string>UTC</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>GMT+0</string>
|
<string>W-SU</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>GMT-0</string>
|
<string>WET</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>GMT0</string>
|
<string>Zulu</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
</widget>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Greenwich</string>
|
<item row="1" column="1">
|
||||||
</property>
|
<widget class="QComboBox" name="combo_region">
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>Japan</string>
|
||||||
<string>Hongkong</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>USA</string>
|
||||||
<string>HST</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>Europe</string>
|
||||||
<string>Iceland</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>Australia</string>
|
||||||
<string>Iran</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>China</string>
|
||||||
<string>Israel</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>Korea</string>
|
||||||
<string>Jamaica</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<property name="text">
|
||||||
<property name="text">
|
<string>Taiwan</string>
|
||||||
<string>Japan</string>
|
</property>
|
||||||
</property>
|
</item>
|
||||||
</item>
|
</widget>
|
||||||
<item>
|
</item>
|
||||||
<property name="text">
|
<item row="2" column="0">
|
||||||
<string>Kwajalein</string>
|
<widget class="QLabel" name="label_timezone">
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Time Zone:</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</widget>
|
||||||
<string>Libya</string>
|
</item>
|
||||||
</property>
|
<item row="0" column="1">
|
||||||
</item>
|
<widget class="QComboBox" name="combo_language">
|
||||||
<item>
|
<property name="toolTip">
|
||||||
<property name="text">
|
<string>Note: this can be overridden when region setting is auto-select</string>
|
||||||
<string>MET</string>
|
</property>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Japanese (日本語)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>MST</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>English</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>MST7MDT</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>French (français)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Navajo</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>German (Deutsch)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>NZ</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Italian (italiano)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>NZ-CHAT</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Spanish (español)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Poland</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Chinese</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Portugal</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Korean (한국어)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>PRC</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Dutch (Nederlands)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>PST8PDT</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Portuguese (português)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>ROC</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Russian (Русский)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>ROK</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Taiwanese</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Singapore</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>British English</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Turkey</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Canadian French</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>UCT</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Latin American Spanish</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Universal</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Simplified Chinese</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>UTC</string>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Traditional Chinese (正體中文)</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>W-SU</string>
|
</item>
|
||||||
</property>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="5" column="0">
|
||||||
<property name="text">
|
<widget class="QCheckBox" name="custom_rtc_checkbox">
|
||||||
<string>WET</string>
|
<property name="text">
|
||||||
</property>
|
<string>Custom RTC</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
</widget>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Zulu</string>
|
<item row="0" column="0">
|
||||||
</property>
|
<widget class="QLabel" name="label_language">
|
||||||
</item>
|
<property name="text">
|
||||||
</widget>
|
<string>Language</string>
|
||||||
</item>
|
</property>
|
||||||
<item row="6" column="0">
|
</widget>
|
||||||
<widget class="QCheckBox" name="rng_seed_checkbox">
|
</item>
|
||||||
<property name="text">
|
<item row="6" column="0">
|
||||||
<string>RNG Seed</string>
|
<widget class="QCheckBox" name="rng_seed_checkbox">
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>RNG Seed</string>
|
||||||
</item>
|
</property>
|
||||||
<item row="3" column="1">
|
</widget>
|
||||||
<widget class="QComboBox" name="combo_sound">
|
</item>
|
||||||
<item>
|
<item row="3" column="1">
|
||||||
<property name="text">
|
<widget class="QComboBox" name="combo_sound">
|
||||||
<string>Mono</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Mono</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Stereo</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Stereo</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
</item>
|
||||||
<string>Surround</string>
|
<item>
|
||||||
</property>
|
<property name="text">
|
||||||
</item>
|
<string>Surround</string>
|
||||||
</widget>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
</widget>
|
||||||
<widget class="QLabel" name="label_language">
|
</item>
|
||||||
<property name="text">
|
<item row="4" column="0">
|
||||||
<string>Language</string>
|
<widget class="QLabel" name="label_console_id">
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>Console ID:</string>
|
||||||
</item>
|
</property>
|
||||||
<item row="4" column="1">
|
</widget>
|
||||||
<widget class="QPushButton" name="button_regenerate_console_id">
|
</item>
|
||||||
<property name="sizePolicy">
|
<item row="3" column="0">
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
<widget class="QLabel" name="label_sound">
|
||||||
<horstretch>0</horstretch>
|
<property name="text">
|
||||||
<verstretch>0</verstretch>
|
<string>Sound output mode</string>
|
||||||
</sizepolicy>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
<property name="layoutDirection">
|
</item>
|
||||||
<enum>Qt::RightToLeft</enum>
|
<item row="5" column="1">
|
||||||
</property>
|
<widget class="QDateTimeEdit" name="custom_rtc_edit">
|
||||||
<property name="text">
|
<property name="minimumDate">
|
||||||
<string>Regenerate</string>
|
<date>
|
||||||
</property>
|
<year>1970</year>
|
||||||
</widget>
|
<month>1</month>
|
||||||
</item>
|
<day>1</day>
|
||||||
<item row="5" column="0">
|
</date>
|
||||||
<widget class="QCheckBox" name="custom_rtc_checkbox">
|
</property>
|
||||||
<property name="text">
|
<property name="displayFormat">
|
||||||
<string>Custom RTC</string>
|
<string>d MMM yyyy h:mm:ss AP</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="1">
|
<item row="6" column="1">
|
||||||
<widget class="QDateTimeEdit" name="custom_rtc_edit">
|
<widget class="QLineEdit" name="rng_seed_edit">
|
||||||
<property name="minimumDate">
|
<property name="sizePolicy">
|
||||||
<date>
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||||
<year>1970</year>
|
<horstretch>0</horstretch>
|
||||||
<month>1</month>
|
<verstretch>0</verstretch>
|
||||||
<day>1</day>
|
</sizepolicy>
|
||||||
</date>
|
</property>
|
||||||
</property>
|
<property name="font">
|
||||||
<property name="displayFormat">
|
<font>
|
||||||
<string>d MMM yyyy h:mm:ss AP</string>
|
<family>Lucida Console</family>
|
||||||
</property>
|
</font>
|
||||||
</widget>
|
</property>
|
||||||
</item>
|
<property name="inputMask">
|
||||||
<item row="6" column="1">
|
<string notr="true">HHHHHHHH</string>
|
||||||
<widget class="QLineEdit" name="rng_seed_edit">
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="maxLength">
|
||||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
<number>8</number>
|
||||||
<horstretch>0</horstretch>
|
</property>
|
||||||
<verstretch>0</verstretch>
|
</widget>
|
||||||
</sizepolicy>
|
</item>
|
||||||
</property>
|
<item row="4" column="1">
|
||||||
<property name="font">
|
<widget class="QPushButton" name="button_regenerate_console_id">
|
||||||
<font>
|
<property name="sizePolicy">
|
||||||
<family>Lucida Console</family>
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||||
</font>
|
<horstretch>0</horstretch>
|
||||||
</property>
|
<verstretch>0</verstretch>
|
||||||
<property name="inputMask">
|
</sizepolicy>
|
||||||
<string notr="true">HHHHHHHH</string>
|
</property>
|
||||||
</property>
|
<property name="layoutDirection">
|
||||||
<property name="maxLength">
|
<enum>Qt::RightToLeft</enum>
|
||||||
<number>8</number>
|
</property>
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>Regenerate</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
Loading…
Reference in a new issue