diff options
| author | 2020-07-13 23:01:18 -0400 | |
|---|---|---|
| committer | 2020-07-19 13:26:55 -0400 | |
| commit | a350ae6be688f5fbc98dcb8657287e7116d084c3 (patch) | |
| tree | 030bd0cbf7f3b12465308ed53712d538251d409b /src | |
| parent | configuration_shared: Add default combobox setup function (diff) | |
| download | yuzu-a350ae6be688f5fbc98dcb8657287e7116d084c3.tar.gz yuzu-a350ae6be688f5fbc98dcb8657287e7116d084c3.tar.xz yuzu-a350ae6be688f5fbc98dcb8657287e7116d084c3.zip | |
configure_system: Implement highlighted overrides
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configuration_shared.h | 3 | ||||
| -rw-r--r-- | src/yuzu/configuration/configure_system.cpp | 108 | ||||
| -rw-r--r-- | src/yuzu/configuration/configure_system.ui | 972 |
3 files changed, 544 insertions, 539 deletions
diff --git a/src/yuzu/configuration/configuration_shared.h b/src/yuzu/configuration/configuration_shared.h index b5d6ea8c8..d3e86c3cf 100644 --- a/src/yuzu/configuration/configuration_shared.h +++ b/src/yuzu/configuration/configuration_shared.h | |||
| @@ -36,6 +36,9 @@ struct Trackers { | |||
| 36 | CheckState use_asynchronous_shaders; | 36 | CheckState use_asynchronous_shaders; |
| 37 | CheckState use_fast_gpu_time; | 37 | CheckState use_fast_gpu_time; |
| 38 | CheckState force_30fps_mode; | 38 | CheckState force_30fps_mode; |
| 39 | |||
| 40 | CheckState use_rng_seed; | ||
| 41 | CheckState use_custom_rtc; | ||
| 39 | } extern trackers; | 42 | } extern trackers; |
| 40 | 43 | ||
| 41 | // Global-aware apply and set functions | 44 | // Global-aware apply and set functions |
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp index 68e02738b..dffe357c7 100644 --- a/src/yuzu/configuration/configure_system.cpp +++ b/src/yuzu/configuration/configure_system.cpp | |||
| @@ -67,21 +67,21 @@ void ConfigureSystem::SetConfiguration() { | |||
| 67 | const auto rtc_time = Settings::values.custom_rtc.GetValue().value_or( | 67 | const auto rtc_time = Settings::values.custom_rtc.GetValue().value_or( |
| 68 | std::chrono::seconds(QDateTime::currentSecsSinceEpoch())); | 68 | std::chrono::seconds(QDateTime::currentSecsSinceEpoch())); |
| 69 | 69 | ||
| 70 | ui->rng_seed_checkbox->setChecked(Settings::values.rng_seed.GetValue().has_value()); | ||
| 71 | ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.GetValue().has_value() && | ||
| 72 | Settings::values.rng_seed.UsingGlobal()); | ||
| 73 | ui->rng_seed_edit->setText(rng_seed); | ||
| 74 | |||
| 75 | ui->custom_rtc_checkbox->setChecked(Settings::values.custom_rtc.GetValue().has_value()); | ||
| 76 | ui->custom_rtc_edit->setEnabled(Settings::values.custom_rtc.GetValue().has_value() && | ||
| 77 | Settings::values.rng_seed.UsingGlobal()); | ||
| 78 | ui->custom_rtc_edit->setDateTime(QDateTime::fromSecsSinceEpoch(rtc_time.count())); | ||
| 79 | |||
| 70 | if (Settings::configuring_global) { | 80 | if (Settings::configuring_global) { |
| 71 | ui->combo_language->setCurrentIndex(Settings::values.language_index.GetValue()); | 81 | ui->combo_language->setCurrentIndex(Settings::values.language_index.GetValue()); |
| 72 | ui->combo_region->setCurrentIndex(Settings::values.region_index.GetValue()); | 82 | ui->combo_region->setCurrentIndex(Settings::values.region_index.GetValue()); |
| 73 | ui->combo_time_zone->setCurrentIndex(Settings::values.time_zone_index.GetValue()); | 83 | ui->combo_time_zone->setCurrentIndex(Settings::values.time_zone_index.GetValue()); |
| 74 | ui->combo_sound->setCurrentIndex(Settings::values.sound_index.GetValue()); | 84 | ui->combo_sound->setCurrentIndex(Settings::values.sound_index.GetValue()); |
| 75 | |||
| 76 | ui->rng_seed_checkbox->setChecked(Settings::values.rng_seed.GetValue().has_value()); | ||
| 77 | ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.GetValue().has_value() && | ||
| 78 | Settings::values.rng_seed.UsingGlobal()); | ||
| 79 | ui->rng_seed_edit->setText(rng_seed); | ||
| 80 | |||
| 81 | ui->custom_rtc_checkbox->setChecked(Settings::values.custom_rtc.GetValue().has_value()); | ||
| 82 | ui->custom_rtc_edit->setEnabled(Settings::values.custom_rtc.GetValue().has_value() && | ||
| 83 | Settings::values.rng_seed.UsingGlobal()); | ||
| 84 | ui->custom_rtc_edit->setDateTime(QDateTime::fromSecsSinceEpoch(rtc_time.count())); | ||
| 85 | } else { | 85 | } else { |
| 86 | ConfigurationShared::SetPerGameSetting(ui->combo_language, | 86 | ConfigurationShared::SetPerGameSetting(ui->combo_language, |
| 87 | &Settings::values.language_index); | 87 | &Settings::values.language_index); |
| @@ -89,28 +89,6 @@ void ConfigureSystem::SetConfiguration() { | |||
| 89 | ConfigurationShared::SetPerGameSetting(ui->combo_time_zone, | 89 | ConfigurationShared::SetPerGameSetting(ui->combo_time_zone, |
| 90 | &Settings::values.time_zone_index); | 90 | &Settings::values.time_zone_index); |
| 91 | ConfigurationShared::SetPerGameSetting(ui->combo_sound, &Settings::values.sound_index); | 91 | ConfigurationShared::SetPerGameSetting(ui->combo_sound, &Settings::values.sound_index); |
| 92 | |||
| 93 | if (Settings::values.rng_seed.UsingGlobal()) { | ||
| 94 | ui->rng_seed_checkbox->setCheckState(Qt::PartiallyChecked); | ||
| 95 | } else { | ||
| 96 | ui->rng_seed_checkbox->setCheckState( | ||
| 97 | Settings::values.rng_seed.GetValue().has_value() ? Qt::Checked : Qt::Unchecked); | ||
| 98 | ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.GetValue().has_value()); | ||
| 99 | if (Settings::values.rng_seed.GetValue().has_value()) { | ||
| 100 | ui->rng_seed_edit->setText(rng_seed); | ||
| 101 | } | ||
| 102 | } | ||
| 103 | |||
| 104 | if (Settings::values.custom_rtc.UsingGlobal()) { | ||
| 105 | ui->custom_rtc_checkbox->setCheckState(Qt::PartiallyChecked); | ||
| 106 | } else { | ||
| 107 | ui->custom_rtc_checkbox->setCheckState( | ||
| 108 | Settings::values.custom_rtc.GetValue().has_value() ? Qt::Checked : Qt::Unchecked); | ||
| 109 | ui->custom_rtc_edit->setEnabled(Settings::values.custom_rtc.GetValue().has_value()); | ||
| 110 | if (Settings::values.custom_rtc.GetValue().has_value()) { | ||
| 111 | ui->custom_rtc_edit->setDateTime(QDateTime::fromSecsSinceEpoch(rtc_time.count())); | ||
| 112 | } | ||
| 113 | } | ||
| 114 | } | 92 | } |
| 115 | } | 93 | } |
| 116 | 94 | ||
| @@ -161,37 +139,42 @@ void ConfigureSystem::ApplyConfiguration() { | |||
| 161 | ui->combo_time_zone); | 139 | ui->combo_time_zone); |
| 162 | ConfigurationShared::ApplyPerGameSetting(&Settings::values.sound_index, ui->combo_sound); | 140 | ConfigurationShared::ApplyPerGameSetting(&Settings::values.sound_index, ui->combo_sound); |
| 163 | 141 | ||
| 164 | switch (ui->rng_seed_checkbox->checkState()) { | 142 | switch (ConfigurationShared::trackers.use_rng_seed) { |
| 165 | case Qt::Checked: | 143 | case ConfigurationShared::CheckState::On: |
| 144 | case ConfigurationShared::CheckState::Off: | ||
| 166 | Settings::values.rng_seed.SetGlobal(false); | 145 | Settings::values.rng_seed.SetGlobal(false); |
| 167 | Settings::values.rng_seed.SetValue(ui->rng_seed_edit->text().toULongLong(nullptr, 16)); | 146 | if (ui->rng_seed_checkbox->isChecked()) { |
| 168 | break; | 147 | Settings::values.rng_seed.SetValue( |
| 169 | case Qt::Unchecked: | 148 | ui->rng_seed_edit->text().toULongLong(nullptr, 16)); |
| 170 | Settings::values.rng_seed.SetGlobal(false); | 149 | } else { |
| 171 | Settings::values.rng_seed.SetValue(std::nullopt); | 150 | Settings::values.rng_seed.SetValue(std::nullopt); |
| 151 | } | ||
| 172 | break; | 152 | break; |
| 173 | case Qt::PartiallyChecked: | 153 | case ConfigurationShared::CheckState::Global: |
| 174 | Settings::values.rng_seed.SetGlobal(false); | 154 | Settings::values.rng_seed.SetGlobal(false); |
| 175 | Settings::values.rng_seed.SetValue(std::nullopt); | 155 | Settings::values.rng_seed.SetValue(std::nullopt); |
| 176 | Settings::values.rng_seed.SetGlobal(true); | 156 | Settings::values.rng_seed.SetGlobal(true); |
| 177 | break; | 157 | break; |
| 158 | case ConfigurationShared::CheckState::Count:; | ||
| 178 | } | 159 | } |
| 179 | 160 | ||
| 180 | switch (ui->custom_rtc_checkbox->checkState()) { | 161 | switch (ConfigurationShared::trackers.use_custom_rtc) { |
| 181 | case Qt::Checked: | 162 | case ConfigurationShared::CheckState::On: |
| 182 | Settings::values.custom_rtc.SetGlobal(false); | 163 | case ConfigurationShared::CheckState::Off: |
| 183 | Settings::values.custom_rtc.SetValue( | ||
| 184 | std::chrono::seconds(ui->custom_rtc_edit->dateTime().toSecsSinceEpoch())); | ||
| 185 | break; | ||
| 186 | case Qt::Unchecked: | ||
| 187 | Settings::values.custom_rtc.SetGlobal(false); | 164 | Settings::values.custom_rtc.SetGlobal(false); |
| 188 | Settings::values.custom_rtc.SetValue(std::nullopt); | 165 | if (ui->custom_rtc_checkbox->isChecked()) { |
| 166 | Settings::values.custom_rtc.SetValue( | ||
| 167 | std::chrono::seconds(ui->custom_rtc_edit->dateTime().toSecsSinceEpoch())); | ||
| 168 | } else { | ||
| 169 | Settings::values.custom_rtc.SetValue(std::nullopt); | ||
| 170 | } | ||
| 189 | break; | 171 | break; |
| 190 | case Qt::PartiallyChecked: | 172 | case ConfigurationShared::CheckState::Global: |
| 191 | Settings::values.custom_rtc.SetGlobal(false); | 173 | Settings::values.custom_rtc.SetGlobal(false); |
| 192 | Settings::values.custom_rtc.SetValue(std::nullopt); | 174 | Settings::values.custom_rtc.SetValue(std::nullopt); |
| 193 | Settings::values.custom_rtc.SetGlobal(true); | 175 | Settings::values.custom_rtc.SetGlobal(true); |
| 194 | break; | 176 | break; |
| 177 | case ConfigurationShared::CheckState::Count:; | ||
| 195 | } | 178 | } |
| 196 | } | 179 | } |
| 197 | 180 | ||
| @@ -229,10 +212,25 @@ void ConfigureSystem::SetupPerGameUI() { | |||
| 229 | return; | 212 | return; |
| 230 | } | 213 | } |
| 231 | 214 | ||
| 232 | ConfigurationShared::InsertGlobalItem(ui->combo_language); | 215 | ConfigurationShared::SetColoredComboBox(ui->combo_language, ui->label_language, |
| 233 | ConfigurationShared::InsertGlobalItem(ui->combo_region); | 216 | "label_language", |
| 234 | ConfigurationShared::InsertGlobalItem(ui->combo_time_zone); | 217 | Settings::values.language_index.GetValue(true)); |
| 235 | ConfigurationShared::InsertGlobalItem(ui->combo_sound); | 218 | ConfigurationShared::SetColoredComboBox(ui->combo_region, ui->label_region, "label_region", |
| 236 | ui->rng_seed_checkbox->setTristate(true); | 219 | Settings::values.region_index.GetValue(true)); |
| 237 | ui->custom_rtc_checkbox->setTristate(true); | 220 | ConfigurationShared::SetColoredComboBox(ui->combo_time_zone, ui->label_timezone, |
| 221 | "label_timezone", | ||
| 222 | Settings::values.time_zone_index.GetValue(true)); | ||
| 223 | ConfigurationShared::SetColoredComboBox(ui->combo_sound, ui->label_sound, "label_sound", | ||
| 224 | Settings::values.sound_index.GetValue(true)); | ||
| 225 | |||
| 226 | ConfigurationShared::SetColoredTristate(ui->rng_seed_checkbox, "rng_seed_checkbox", | ||
| 227 | Settings::values.rng_seed.UsingGlobal(), | ||
| 228 | Settings::values.rng_seed.GetValue().has_value(), | ||
| 229 | Settings::values.rng_seed.GetValue(true).has_value(), | ||
| 230 | ConfigurationShared::trackers.use_rng_seed); | ||
| 231 | ConfigurationShared::SetColoredTristate(ui->custom_rtc_checkbox, "custom_rtc_checkbox", | ||
| 232 | Settings::values.custom_rtc.UsingGlobal(), | ||
| 233 | Settings::values.custom_rtc.GetValue().has_value(), | ||
| 234 | Settings::values.custom_rtc.GetValue(true).has_value(), | ||
| 235 | ConfigurationShared::trackers.use_custom_rtc); | ||
| 238 | } | 236 | } |
diff --git a/src/yuzu/configuration/configure_system.ui b/src/yuzu/configuration/configure_system.ui index 9c8cca6dc..53b95658b 100644 --- a/src/yuzu/configuration/configure_system.ui +++ b/src/yuzu/configuration/configure_system.ui | |||
| @@ -21,490 +21,494 @@ | |||
| 21 | <property name="title"> | 21 | <property name="title"> |
| 22 | <string>System Settings</string> | 22 | <string>System Settings</string> |
| 23 | </property> | 23 | </property> |
| 24 | <layout class="QGridLayout" name="gridLayout"> | 24 | <layout class="QVBoxLayout" name="verticalLayout_2"> |
| 25 | <item row="3" column="0"> | 25 | <item> |
| 26 | <widget class="QLabel" name="label_sound"> | 26 | <layout class="QGridLayout" name="gridLayout_2"> |
| 27 | <property name="text"> | 27 | <item row="1" column="0"> |
| 28 | <string>Sound output mode</string> | 28 | <widget class="QLabel" name="label_region"> |
| 29 | </property> | 29 | <property name="text"> |
| 30 | </widget> | 30 | <string>Region:</string> |
| 31 | </item> | 31 | </property> |
| 32 | <item row="4" column="0"> | 32 | </widget> |
| 33 | <widget class="QLabel" name="label_console_id"> | 33 | </item> |
| 34 | <property name="text"> | 34 | <item row="2" column="1"> |
| 35 | <string>Console ID:</string> | 35 | <widget class="QComboBox" name="combo_time_zone"> |
| 36 | </property> | 36 | <item> |
| 37 | </widget> | 37 | <property name="text"> |
| 38 | </item> | 38 | <string>Auto</string> |
| 39 | <item row="0" column="1"> | 39 | </property> |
| 40 | <widget class="QComboBox" name="combo_language"> | 40 | </item> |
| 41 | <property name="toolTip"> | 41 | <item> |
| 42 | <string>Note: this can be overridden when region setting is auto-select</string> | 42 | <property name="text"> |
| 43 | </property> | 43 | <string>Default</string> |
| 44 | <item> | 44 | </property> |
| 45 | <property name="text"> | 45 | </item> |
| 46 | <string>Japanese (日本語)</string> | 46 | <item> |
| 47 | </property> | 47 | <property name="text"> |
| 48 | </item> | 48 | <string>CET</string> |
| 49 | <item> | 49 | </property> |
| 50 | <property name="text"> | 50 | </item> |
| 51 | <string>English</string> | 51 | <item> |
| 52 | </property> | 52 | <property name="text"> |
| 53 | </item> | 53 | <string>CST6CDT</string> |
| 54 | <item> | 54 | </property> |
| 55 | <property name="text"> | 55 | </item> |
| 56 | <string>French (français)</string> | 56 | <item> |
| 57 | </property> | 57 | <property name="text"> |
| 58 | </item> | 58 | <string>Cuba</string> |
| 59 | <item> | 59 | </property> |
| 60 | <property name="text"> | 60 | </item> |
| 61 | <string>German (Deutsch)</string> | 61 | <item> |
| 62 | </property> | 62 | <property name="text"> |
| 63 | </item> | 63 | <string>EET</string> |
| 64 | <item> | 64 | </property> |
| 65 | <property name="text"> | 65 | </item> |
| 66 | <string>Italian (italiano)</string> | 66 | <item> |
| 67 | </property> | 67 | <property name="text"> |
| 68 | </item> | 68 | <string>Egypt</string> |
| 69 | <item> | 69 | </property> |
| 70 | <property name="text"> | 70 | </item> |
| 71 | <string>Spanish (español)</string> | 71 | <item> |
| 72 | </property> | 72 | <property name="text"> |
| 73 | </item> | 73 | <string>Eire</string> |
| 74 | <item> | 74 | </property> |
| 75 | <property name="text"> | 75 | </item> |
| 76 | <string>Chinese</string> | 76 | <item> |
| 77 | </property> | 77 | <property name="text"> |
| 78 | </item> | 78 | <string>EST</string> |
| 79 | <item> | 79 | </property> |
| 80 | <property name="text"> | 80 | </item> |
| 81 | <string>Korean (한국어)</string> | 81 | <item> |
| 82 | </property> | 82 | <property name="text"> |
| 83 | </item> | 83 | <string>EST5EDT</string> |
| 84 | <item> | 84 | </property> |
| 85 | <property name="text"> | 85 | </item> |
| 86 | <string>Dutch (Nederlands)</string> | 86 | <item> |
| 87 | </property> | 87 | <property name="text"> |
| 88 | </item> | 88 | <string>GB</string> |
| 89 | <item> | 89 | </property> |
| 90 | <property name="text"> | 90 | </item> |
| 91 | <string>Portuguese (português)</string> | 91 | <item> |
| 92 | </property> | 92 | <property name="text"> |
| 93 | </item> | 93 | <string>GB-Eire</string> |
| 94 | <item> | 94 | </property> |
| 95 | <property name="text"> | 95 | </item> |
| 96 | <string>Russian (Русский)</string> | 96 | <item> |
| 97 | </property> | 97 | <property name="text"> |
| 98 | </item> | 98 | <string>GMT</string> |
| 99 | <item> | 99 | </property> |
| 100 | <property name="text"> | 100 | </item> |
| 101 | <string>Taiwanese</string> | 101 | <item> |
| 102 | </property> | 102 | <property name="text"> |
| 103 | </item> | 103 | <string>GMT+0</string> |
| 104 | <item> | 104 | </property> |
| 105 | <property name="text"> | 105 | </item> |
| 106 | <string>British English</string> | 106 | <item> |
| 107 | </property> | 107 | <property name="text"> |
| 108 | </item> | 108 | <string>GMT-0</string> |
| 109 | <item> | 109 | </property> |
| 110 | <property name="text"> | 110 | </item> |
| 111 | <string>Canadian French</string> | 111 | <item> |
| 112 | </property> | 112 | <property name="text"> |
| 113 | </item> | 113 | <string>GMT0</string> |
| 114 | <item> | 114 | </property> |
| 115 | <property name="text"> | 115 | </item> |
| 116 | <string>Latin American Spanish</string> | 116 | <item> |
| 117 | </property> | 117 | <property name="text"> |
| 118 | </item> | 118 | <string>Greenwich</string> |
| 119 | <item> | 119 | </property> |
| 120 | <property name="text"> | 120 | </item> |
| 121 | <string>Simplified Chinese</string> | 121 | <item> |
| 122 | </property> | 122 | <property name="text"> |
| 123 | </item> | 123 | <string>Hongkong</string> |
| 124 | <item> | 124 | </property> |
| 125 | <property name="text"> | 125 | </item> |
| 126 | <string>Traditional Chinese (正體中文)</string> | 126 | <item> |
| 127 | </property> | 127 | <property name="text"> |
| 128 | </item> | 128 | <string>HST</string> |
| 129 | </widget> | 129 | </property> |
| 130 | </item> | 130 | </item> |
| 131 | <item row="1" column="0"> | 131 | <item> |
| 132 | <widget class="QLabel" name="label_region"> | 132 | <property name="text"> |
| 133 | <property name="text"> | 133 | <string>Iceland</string> |
| 134 | <string>Region:</string> | 134 | </property> |
| 135 | </property> | 135 | </item> |
| 136 | </widget> | 136 | <item> |
| 137 | </item> | 137 | <property name="text"> |
| 138 | <item row="1" column="1"> | 138 | <string>Iran</string> |
| 139 | <widget class="QComboBox" name="combo_region"> | 139 | </property> |
| 140 | <item> | 140 | </item> |
| 141 | <property name="text"> | 141 | <item> |
| 142 | <string>Japan</string> | 142 | <property name="text"> |
| 143 | </property> | 143 | <string>Israel</string> |
| 144 | </item> | 144 | </property> |
| 145 | <item> | 145 | </item> |
| 146 | <property name="text"> | 146 | <item> |
| 147 | <string>USA</string> | 147 | <property name="text"> |
| 148 | </property> | 148 | <string>Jamaica</string> |
| 149 | </item> | 149 | </property> |
| 150 | <item> | 150 | </item> |
| 151 | <property name="text"> | 151 | <item> |
| 152 | <string>Europe</string> | 152 | <property name="text"> |
| 153 | </property> | 153 | <string>Japan</string> |
| 154 | </item> | 154 | </property> |
| 155 | <item> | 155 | </item> |
| 156 | <property name="text"> | 156 | <item> |
| 157 | <string>Australia</string> | 157 | <property name="text"> |
| 158 | </property> | 158 | <string>Kwajalein</string> |
| 159 | </item> | 159 | </property> |
| 160 | <item> | 160 | </item> |
| 161 | <property name="text"> | 161 | <item> |
| 162 | <string>China</string> | 162 | <property name="text"> |
| 163 | </property> | 163 | <string>Libya</string> |
| 164 | </item> | 164 | </property> |
| 165 | <item> | 165 | </item> |
| 166 | <property name="text"> | 166 | <item> |
| 167 | <string>Korea</string> | 167 | <property name="text"> |
| 168 | </property> | 168 | <string>MET</string> |
| 169 | </item> | 169 | </property> |
| 170 | <item> | 170 | </item> |
| 171 | <property name="text"> | 171 | <item> |
| 172 | <string>Taiwan</string> | 172 | <property name="text"> |
| 173 | </property> | 173 | <string>MST</string> |
| 174 | </item> | 174 | </property> |
| 175 | </widget> | 175 | </item> |
| 176 | </item> | 176 | <item> |
| 177 | <item row="2" column="0"> | 177 | <property name="text"> |
| 178 | <widget class="QLabel" name="label_timezone"> | 178 | <string>MST7MDT</string> |
| 179 | <property name="text"> | 179 | </property> |
| 180 | <string>Time Zone:</string> | 180 | </item> |
| 181 | </property> | 181 | <item> |
| 182 | </widget> | 182 | <property name="text"> |
| 183 | </item> | 183 | <string>Navajo</string> |
| 184 | <item row="2" column="1"> | 184 | </property> |
| 185 | <widget class="QComboBox" name="combo_time_zone"> | 185 | </item> |
| 186 | <item> | 186 | <item> |
| 187 | <property name="text"> | 187 | <property name="text"> |
| 188 | <string>Auto</string> | 188 | <string>NZ</string> |
| 189 | </property> | 189 | </property> |
| 190 | </item> | 190 | </item> |
| 191 | <item> | 191 | <item> |
| 192 | <property name="text"> | 192 | <property name="text"> |
| 193 | <string>Default</string> | 193 | <string>NZ-CHAT</string> |
| 194 | </property> | 194 | </property> |
| 195 | </item> | 195 | </item> |
| 196 | <item> | 196 | <item> |
| 197 | <property name="text"> | 197 | <property name="text"> |
| 198 | <string>CET</string> | 198 | <string>Poland</string> |
| 199 | </property> | 199 | </property> |
| 200 | </item> | 200 | </item> |
| 201 | <item> | 201 | <item> |
| 202 | <property name="text"> | 202 | <property name="text"> |
| 203 | <string>CST6CDT</string> | 203 | <string>Portugal</string> |
| 204 | </property> | 204 | </property> |
| 205 | </item> | 205 | </item> |
| 206 | <item> | 206 | <item> |
| 207 | <property name="text"> | 207 | <property name="text"> |
| 208 | <string>Cuba</string> | 208 | <string>PRC</string> |
| 209 | </property> | 209 | </property> |
| 210 | </item> | 210 | </item> |
| 211 | <item> | 211 | <item> |
| 212 | <property name="text"> | 212 | <property name="text"> |
| 213 | <string>EET</string> | 213 | <string>PST8PDT</string> |
| 214 | </property> | 214 | </property> |
| 215 | </item> | 215 | </item> |
| 216 | <item> | 216 | <item> |
| 217 | <property name="text"> | 217 | <property name="text"> |
| 218 | <string>Egypt</string> | 218 | <string>ROC</string> |
| 219 | </property> | 219 | </property> |
| 220 | </item> | 220 | </item> |
| 221 | <item> | 221 | <item> |
| 222 | <property name="text"> | 222 | <property name="text"> |
| 223 | <string>Eire</string> | 223 | <string>ROK</string> |
| 224 | </property> | 224 | </property> |
| 225 | </item> | 225 | </item> |
| 226 | <item> | 226 | <item> |
| 227 | <property name="text"> | 227 | <property name="text"> |
| 228 | <string>EST</string> | 228 | <string>Singapore</string> |
| 229 | </property> | 229 | </property> |
| 230 | </item> | 230 | </item> |
| 231 | <item> | 231 | <item> |
| 232 | <property name="text"> | 232 | <property name="text"> |
| 233 | <string>EST5EDT</string> | 233 | <string>Turkey</string> |
| 234 | </property> | 234 | </property> |
| 235 | </item> | 235 | </item> |
| 236 | <item> | 236 | <item> |
| 237 | <property name="text"> | 237 | <property name="text"> |
| 238 | <string>GB</string> | 238 | <string>UCT</string> |
| 239 | </property> | 239 | </property> |
| 240 | </item> | 240 | </item> |
| 241 | <item> | 241 | <item> |
| 242 | <property name="text"> | 242 | <property name="text"> |
| 243 | <string>GB-Eire</string> | 243 | <string>Universal</string> |
| 244 | </property> | 244 | </property> |
| 245 | </item> | 245 | </item> |
| 246 | <item> | 246 | <item> |
| 247 | <property name="text"> | 247 | <property name="text"> |
| 248 | <string>GMT</string> | 248 | <string>UTC</string> |
| 249 | </property> | 249 | </property> |
| 250 | </item> | 250 | </item> |
| 251 | <item> | 251 | <item> |
| 252 | <property name="text"> | 252 | <property name="text"> |
| 253 | <string>GMT+0</string> | 253 | <string>W-SU</string> |
| 254 | </property> | 254 | </property> |
| 255 | </item> | 255 | </item> |
| 256 | <item> | 256 | <item> |
| 257 | <property name="text"> | 257 | <property name="text"> |
| 258 | <string>GMT-0</string> | 258 | <string>WET</string> |
| 259 | </property> | 259 | </property> |
| 260 | </item> | 260 | </item> |
| 261 | <item> | 261 | <item> |
| 262 | <property name="text"> | 262 | <property name="text"> |
| 263 | <string>GMT0</string> | 263 | <string>Zulu</string> |
| 264 | </property> | 264 | </property> |
| 265 | </item> | 265 | </item> |
| 266 | <item> | 266 | </widget> |
| 267 | <property name="text"> | 267 | </item> |
| 268 | <string>Greenwich</string> | 268 | <item row="1" column="1"> |
| 269 | </property> | 269 | <widget class="QComboBox" name="combo_region"> |
| 270 | </item> | 270 | <item> |
| 271 | <item> | 271 | <property name="text"> |
| 272 | <property name="text"> | 272 | <string>Japan</string> |
| 273 | <string>Hongkong</string> | 273 | </property> |
| 274 | </property> | 274 | </item> |
| 275 | </item> | 275 | <item> |
| 276 | <item> | 276 | <property name="text"> |
| 277 | <property name="text"> | 277 | <string>USA</string> |
| 278 | <string>HST</string> | 278 | </property> |
| 279 | </property> | 279 | </item> |
| 280 | </item> | 280 | <item> |
| 281 | <item> | 281 | <property name="text"> |
| 282 | <property name="text"> | 282 | <string>Europe</string> |
| 283 | <string>Iceland</string> | 283 | </property> |
| 284 | </property> | 284 | </item> |
| 285 | </item> | 285 | <item> |
| 286 | <item> | 286 | <property name="text"> |
| 287 | <property name="text"> | 287 | <string>Australia</string> |
| 288 | <string>Iran</string> | 288 | </property> |
| 289 | </property> | 289 | </item> |
| 290 | </item> | 290 | <item> |
| 291 | <item> | 291 | <property name="text"> |
| 292 | <property name="text"> | 292 | <string>China</string> |
| 293 | <string>Israel</string> | 293 | </property> |
| 294 | </property> | 294 | </item> |
| 295 | </item> | 295 | <item> |
| 296 | <item> | 296 | <property name="text"> |
| 297 | <property name="text"> | 297 | <string>Korea</string> |
| 298 | <string>Jamaica</string> | 298 | </property> |
| 299 | </property> | 299 | </item> |
| 300 | </item> | 300 | <item> |
| 301 | <item> | 301 | <property name="text"> |
| 302 | <property name="text"> | 302 | <string>Taiwan</string> |
| 303 | <string>Japan</string> | 303 | </property> |
| 304 | </property> | 304 | </item> |
| 305 | </item> | 305 | </widget> |
| 306 | <item> | 306 | </item> |
| 307 | <property name="text"> | 307 | <item row="2" column="0"> |
| 308 | <string>Kwajalein</string> | 308 | <widget class="QLabel" name="label_timezone"> |
| 309 | </property> | 309 | <property name="text"> |
| 310 | </item> | 310 | <string>Time Zone:</string> |
| 311 | <item> | 311 | </property> |
| 312 | <property name="text"> | 312 | </widget> |
| 313 | <string>Libya</string> | 313 | </item> |
| 314 | </property> | 314 | <item row="0" column="1"> |
| 315 | </item> | 315 | <widget class="QComboBox" name="combo_language"> |
| 316 | <item> | 316 | <property name="toolTip"> |
| 317 | <property name="text"> | 317 | <string>Note: this can be overridden when region setting is auto-select</string> |
| 318 | <string>MET</string> | 318 | </property> |
| 319 | </property> | 319 | <item> |
| 320 | </item> | 320 | <property name="text"> |
| 321 | <item> | 321 | <string>Japanese (日本語)</string> |
| 322 | <property name="text"> | 322 | </property> |
| 323 | <string>MST</string> | 323 | </item> |
| 324 | </property> | 324 | <item> |
| 325 | </item> | 325 | <property name="text"> |
| 326 | <item> | 326 | <string>English</string> |
| 327 | <property name="text"> | 327 | </property> |
| 328 | <string>MST7MDT</string> | 328 | </item> |
| 329 | </property> | 329 | <item> |
| 330 | </item> | 330 | <property name="text"> |
| 331 | <item> | 331 | <string>French (français)</string> |
| 332 | <property name="text"> | 332 | </property> |
| 333 | <string>Navajo</string> | 333 | </item> |
| 334 | </property> | 334 | <item> |
| 335 | </item> | 335 | <property name="text"> |
| 336 | <item> | 336 | <string>German (Deutsch)</string> |
| 337 | <property name="text"> | 337 | </property> |
| 338 | <string>NZ</string> | 338 | </item> |
| 339 | </property> | 339 | <item> |
| 340 | </item> | 340 | <property name="text"> |
| 341 | <item> | 341 | <string>Italian (italiano)</string> |
| 342 | <property name="text"> | 342 | </property> |
| 343 | <string>NZ-CHAT</string> | 343 | </item> |
| 344 | </property> | 344 | <item> |
| 345 | </item> | 345 | <property name="text"> |
| 346 | <item> | 346 | <string>Spanish (español)</string> |
| 347 | <property name="text"> | 347 | </property> |
| 348 | <string>Poland</string> | 348 | </item> |
| 349 | </property> | 349 | <item> |
| 350 | </item> | 350 | <property name="text"> |
| 351 | <item> | 351 | <string>Chinese</string> |
| 352 | <property name="text"> | 352 | </property> |
| 353 | <string>Portugal</string> | 353 | </item> |
| 354 | </property> | 354 | <item> |
| 355 | </item> | 355 | <property name="text"> |
| 356 | <item> | 356 | <string>Korean (한국어)</string> |
| 357 | <property name="text"> | 357 | </property> |
| 358 | <string>PRC</string> | 358 | </item> |
| 359 | </property> | 359 | <item> |
| 360 | </item> | 360 | <property name="text"> |
| 361 | <item> | 361 | <string>Dutch (Nederlands)</string> |
| 362 | <property name="text"> | 362 | </property> |
| 363 | <string>PST8PDT</string> | 363 | </item> |
| 364 | </property> | 364 | <item> |
| 365 | </item> | 365 | <property name="text"> |
| 366 | <item> | 366 | <string>Portuguese (português)</string> |
| 367 | <property name="text"> | 367 | </property> |
| 368 | <string>ROC</string> | 368 | </item> |
| 369 | </property> | 369 | <item> |
| 370 | </item> | 370 | <property name="text"> |
| 371 | <item> | 371 | <string>Russian (Русский)</string> |
| 372 | <property name="text"> | 372 | </property> |
| 373 | <string>ROK</string> | 373 | </item> |
| 374 | </property> | 374 | <item> |
| 375 | </item> | 375 | <property name="text"> |
| 376 | <item> | 376 | <string>Taiwanese</string> |
| 377 | <property name="text"> | 377 | </property> |
| 378 | <string>Singapore</string> | 378 | </item> |
| 379 | </property> | 379 | <item> |
| 380 | </item> | 380 | <property name="text"> |
| 381 | <item> | 381 | <string>British English</string> |
| 382 | <property name="text"> | 382 | </property> |
| 383 | <string>Turkey</string> | 383 | </item> |
| 384 | </property> | 384 | <item> |
| 385 | </item> | 385 | <property name="text"> |
| 386 | <item> | 386 | <string>Canadian French</string> |
| 387 | <property name="text"> | 387 | </property> |
| 388 | <string>UCT</string> | 388 | </item> |
| 389 | </property> | 389 | <item> |
| 390 | </item> | 390 | <property name="text"> |
| 391 | <item> | 391 | <string>Latin American Spanish</string> |
| 392 | <property name="text"> | 392 | </property> |
| 393 | <string>Universal</string> | 393 | </item> |
| 394 | </property> | 394 | <item> |
| 395 | </item> | 395 | <property name="text"> |
| 396 | <item> | 396 | <string>Simplified Chinese</string> |
| 397 | <property name="text"> | 397 | </property> |
| 398 | <string>UTC</string> | 398 | </item> |
| 399 | </property> | 399 | <item> |
| 400 | </item> | 400 | <property name="text"> |
| 401 | <item> | 401 | <string>Traditional Chinese (正體中文)</string> |
| 402 | <property name="text"> | 402 | </property> |
| 403 | <string>W-SU</string> | 403 | </item> |
| 404 | </property> | 404 | </widget> |
| 405 | </item> | 405 | </item> |
| 406 | <item> | 406 | <item row="5" column="0"> |
| 407 | <property name="text"> | 407 | <widget class="QCheckBox" name="custom_rtc_checkbox"> |
| 408 | <string>WET</string> | 408 | <property name="text"> |
| 409 | </property> | 409 | <string>Custom RTC</string> |
| 410 | </item> | 410 | </property> |
| 411 | <item> | 411 | </widget> |
| 412 | <property name="text"> | 412 | </item> |
| 413 | <string>Zulu</string> | 413 | <item row="0" column="0"> |
| 414 | </property> | 414 | <widget class="QLabel" name="label_language"> |
| 415 | </item> | 415 | <property name="text"> |
| 416 | </widget> | 416 | <string>Language</string> |
| 417 | </item> | 417 | </property> |
| 418 | <item row="6" column="0"> | 418 | </widget> |
| 419 | <widget class="QCheckBox" name="rng_seed_checkbox"> | 419 | </item> |
| 420 | <property name="text"> | 420 | <item row="6" column="0"> |
| 421 | <string>RNG Seed</string> | 421 | <widget class="QCheckBox" name="rng_seed_checkbox"> |
| 422 | </property> | 422 | <property name="text"> |
| 423 | </widget> | 423 | <string>RNG Seed</string> |
| 424 | </item> | 424 | </property> |
| 425 | <item row="3" column="1"> | 425 | </widget> |
| 426 | <widget class="QComboBox" name="combo_sound"> | 426 | </item> |
| 427 | <item> | 427 | <item row="3" column="1"> |
| 428 | <property name="text"> | 428 | <widget class="QComboBox" name="combo_sound"> |
| 429 | <string>Mono</string> | 429 | <item> |
| 430 | </property> | 430 | <property name="text"> |
| 431 | </item> | 431 | <string>Mono</string> |
| 432 | <item> | 432 | </property> |
| 433 | <property name="text"> | 433 | </item> |
| 434 | <string>Stereo</string> | 434 | <item> |
| 435 | </property> | 435 | <property name="text"> |
| 436 | </item> | 436 | <string>Stereo</string> |
| 437 | <item> | 437 | </property> |
| 438 | <property name="text"> | 438 | </item> |
| 439 | <string>Surround</string> | 439 | <item> |
| 440 | </property> | 440 | <property name="text"> |
| 441 | </item> | 441 | <string>Surround</string> |
| 442 | </widget> | 442 | </property> |
| 443 | </item> | 443 | </item> |
| 444 | <item row="0" column="0"> | 444 | </widget> |
| 445 | <widget class="QLabel" name="label_language"> | 445 | </item> |
| 446 | <property name="text"> | 446 | <item row="4" column="0"> |
| 447 | <string>Language</string> | 447 | <widget class="QLabel" name="label_console_id"> |
| 448 | </property> | 448 | <property name="text"> |
| 449 | </widget> | 449 | <string>Console ID:</string> |
| 450 | </item> | 450 | </property> |
| 451 | <item row="4" column="1"> | 451 | </widget> |
| 452 | <widget class="QPushButton" name="button_regenerate_console_id"> | 452 | </item> |
| 453 | <property name="sizePolicy"> | 453 | <item row="3" column="0"> |
| 454 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | 454 | <widget class="QLabel" name="label_sound"> |
| 455 | <horstretch>0</horstretch> | 455 | <property name="text"> |
| 456 | <verstretch>0</verstretch> | 456 | <string>Sound output mode</string> |
| 457 | </sizepolicy> | 457 | </property> |
| 458 | </property> | 458 | </widget> |
| 459 | <property name="layoutDirection"> | 459 | </item> |
| 460 | <enum>Qt::RightToLeft</enum> | 460 | <item row="5" column="1"> |
| 461 | </property> | 461 | <widget class="QDateTimeEdit" name="custom_rtc_edit"> |
| 462 | <property name="text"> | 462 | <property name="minimumDate"> |
| 463 | <string>Regenerate</string> | 463 | <date> |
| 464 | </property> | 464 | <year>1970</year> |
| 465 | </widget> | 465 | <month>1</month> |
| 466 | </item> | 466 | <day>1</day> |
| 467 | <item row="5" column="0"> | 467 | </date> |
| 468 | <widget class="QCheckBox" name="custom_rtc_checkbox"> | 468 | </property> |
| 469 | <property name="text"> | 469 | <property name="displayFormat"> |
| 470 | <string>Custom RTC</string> | 470 | <string>d MMM yyyy h:mm:ss AP</string> |
| 471 | </property> | 471 | </property> |
| 472 | </widget> | 472 | </widget> |
| 473 | </item> | 473 | </item> |
| 474 | <item row="5" column="1"> | 474 | <item row="6" column="1"> |
| 475 | <widget class="QDateTimeEdit" name="custom_rtc_edit"> | 475 | <widget class="QLineEdit" name="rng_seed_edit"> |
| 476 | <property name="minimumDate"> | 476 | <property name="sizePolicy"> |
| 477 | <date> | 477 | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| 478 | <year>1970</year> | 478 | <horstretch>0</horstretch> |
| 479 | <month>1</month> | 479 | <verstretch>0</verstretch> |
| 480 | <day>1</day> | 480 | </sizepolicy> |
| 481 | </date> | 481 | </property> |
| 482 | </property> | 482 | <property name="font"> |
| 483 | <property name="displayFormat"> | 483 | <font> |
| 484 | <string>d MMM yyyy h:mm:ss AP</string> | 484 | <family>Lucida Console</family> |
| 485 | </property> | 485 | </font> |
| 486 | </widget> | 486 | </property> |
| 487 | </item> | 487 | <property name="inputMask"> |
| 488 | <item row="6" column="1"> | 488 | <string notr="true">HHHHHHHH</string> |
| 489 | <widget class="QLineEdit" name="rng_seed_edit"> | 489 | </property> |
| 490 | <property name="sizePolicy"> | 490 | <property name="maxLength"> |
| 491 | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> | 491 | <number>8</number> |
| 492 | <horstretch>0</horstretch> | 492 | </property> |
| 493 | <verstretch>0</verstretch> | 493 | </widget> |
| 494 | </sizepolicy> | 494 | </item> |
| 495 | </property> | 495 | <item row="4" column="1"> |
| 496 | <property name="font"> | 496 | <widget class="QPushButton" name="button_regenerate_console_id"> |
| 497 | <font> | 497 | <property name="sizePolicy"> |
| 498 | <family>Lucida Console</family> | 498 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
| 499 | </font> | 499 | <horstretch>0</horstretch> |
| 500 | </property> | 500 | <verstretch>0</verstretch> |
| 501 | <property name="inputMask"> | 501 | </sizepolicy> |
| 502 | <string notr="true">HHHHHHHH</string> | 502 | </property> |
| 503 | </property> | 503 | <property name="layoutDirection"> |
| 504 | <property name="maxLength"> | 504 | <enum>Qt::RightToLeft</enum> |
| 505 | <number>8</number> | 505 | </property> |
| 506 | </property> | 506 | <property name="text"> |
| 507 | </widget> | 507 | <string>Regenerate</string> |
| 508 | </property> | ||
| 509 | </widget> | ||
| 510 | </item> | ||
| 511 | </layout> | ||
| 508 | </item> | 512 | </item> |
| 509 | </layout> | 513 | </layout> |
| 510 | </widget> | 514 | </widget> |