Improve consistency of labels in the UI

This commit is contained in:
Nadia Holmquist Pedersen 2021-04-23 13:17:24 +02:00
parent 9e20aa8a3e
commit 6c09d25680
7 changed files with 54 additions and 54 deletions

View File

@ -17,7 +17,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Audio settings - melonDS</string> <string>Audio Settings - melonDS</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint"> <property name="sizeConstraint">

View File

@ -17,7 +17,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Emu settings - melonDS</string> <string>Emulation Settings - melonDS</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint"> <property name="sizeConstraint">
@ -42,7 +42,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The type of console to emulate&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The type of console to emulate.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -86,20 +86,20 @@
</widget> </widget>
<widget class="QWidget" name="tab_2"> <widget class="QWidget" name="tab_2">
<attribute name="title"> <attribute name="title">
<string>DS-mode</string> <string>DS Mode</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="1" column="1"> <item row="1" column="1">
<widget class="QPathInput" name="txtBIOS7Path"> <widget class="QPathInput" name="txtBIOS7Path">
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DS-mode ARM7 BIOS&lt;/p&gt;&lt;p&gt;Size should be 16 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DS mode ARM7 BIOS&lt;/p&gt;&lt;p&gt;Size should be 16 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QPathInput" name="txtFirmwarePath"> <widget class="QPathInput" name="txtFirmwarePath">
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DS-mode firmware&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Possible firmwares:&lt;/p&gt;&lt;p&gt;* 128 KB: DS-mode firmware from a DSi or 3DS. Not bootable.&lt;/p&gt;&lt;p&gt;* 256 KB: regular DS firmware.&lt;/p&gt;&lt;p&gt;* 512 KB: iQue DS firmware.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DS mode firmware&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Possible firmwares:&lt;/p&gt;&lt;p&gt;* 128 KB: DS mode firmware from a DSi or 3DS. Not bootable.&lt;/p&gt;&lt;p&gt;* 256 KB: regular DS firmware.&lt;/p&gt;&lt;p&gt;* 512 KB: iQue DS firmware.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -172,7 +172,7 @@
<string/> <string/>
</property> </property>
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DS-mode ARM9 BIOS&lt;/p&gt;&lt;p&gt;Size should be 4 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DS mode ARM9 BIOS&lt;/p&gt;&lt;p&gt;Size should be 4 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -193,13 +193,13 @@
</widget> </widget>
<widget class="QWidget" name="tab_4"> <widget class="QWidget" name="tab_4">
<attribute name="title"> <attribute name="title">
<string>DSi-mode</string> <string>DSi Mode</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="1"> <item row="1" column="1">
<widget class="QPathInput" name="txtDSiBIOS7Path"> <widget class="QPathInput" name="txtDSiBIOS7Path">
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DSi-mode ARM7 BIOS&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Size should be 64 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DSi mode ARM7 BIOS&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Size should be 64 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -241,7 +241,7 @@
<item row="3" column="1"> <item row="3" column="1">
<widget class="QPathInput" name="txtDSiNANDPath"> <widget class="QPathInput" name="txtDSiNANDPath">
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DSi NAND dump&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Should have 'nocash footer' at the end&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DSi NAND dump&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Should have 'nocash footer' at the end.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -268,7 +268,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DSi-mode ARM9 BIOS&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Size should be 64 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DSi mode ARM9 BIOS&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Size should be 64 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -289,14 +289,14 @@
<item row="2" column="1"> <item row="2" column="1">
<widget class="QPathInput" name="txtDSiFirmwarePath"> <widget class="QPathInput" name="txtDSiFirmwarePath">
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DSi-mode firmware (used for DS-mode backwards compatibility)&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Size should be 128 KB&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;DSi mode firmware (used for DS mode backwards compatibility)&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Size should be 128 KB.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="1"> <item row="5" column="1">
<widget class="QPathInput" name="txtDSiSDPath"> <widget class="QPathInput" name="txtDSiSDPath">
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;SD image file for emulating the DSi's SD card&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;SD image file for emulating the DSi's SD card.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -321,7 +321,7 @@
</widget> </widget>
<widget class="QWidget" name="tab_3"> <widget class="QWidget" name="tab_3">
<attribute name="title"> <attribute name="title">
<string>CPU emulation</string> <string>CPU Emulation</string>
</attribute> </attribute>
<layout class="QFormLayout" name="formLayout_5"> <layout class="QFormLayout" name="formLayout_5">
<item row="0" column="0"> <item row="0" column="0">
@ -354,21 +354,21 @@
<item row="2" column="0"> <item row="2" column="0">
<widget class="QCheckBox" name="chkJITBranchOptimisations"> <widget class="QCheckBox" name="chkJITBranchOptimisations">
<property name="text"> <property name="text">
<string>Branch Optimisations</string> <string>Branch optimisations</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="3" column="0">
<widget class="QCheckBox" name="chkJITLiteralOptimisations"> <widget class="QCheckBox" name="chkJITLiteralOptimisations">
<property name="text"> <property name="text">
<string>Literal Optimisations</string> <string>Literal optimisations</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0"> <item row="4" column="0">
<widget class="QCheckBox" name="chkJITFastMemory"> <widget class="QCheckBox" name="chkJITFastMemory">
<property name="text"> <property name="text">
<string>Fast Memory</string> <string>Fast memory</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Input and hotkeys - melonDS</string> <string>Input and Hotkeys - melonDS</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint"> <property name="sizeConstraint">
@ -24,7 +24,7 @@
</property> </property>
<widget class="QWidget" name="tabInput"> <widget class="QWidget" name="tabInput">
<attribute name="title"> <attribute name="title">
<string>DS keypad</string> <string>DS Keypad</string>
</attribute> </attribute>
</widget> </widget>
<widget class="QWidget" name="tabAddons"> <widget class="QWidget" name="tabAddons">
@ -34,7 +34,7 @@
</widget> </widget>
<widget class="QWidget" name="tabHotkeysGeneral"> <widget class="QWidget" name="tabHotkeysGeneral">
<attribute name="title"> <attribute name="title">
<string>General hotkeys</string> <string>General Hotkeys</string>
</attribute> </attribute>
</widget> </widget>
</widget> </widget>

View File

@ -17,7 +17,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Interface settings - melonDS</string> <string>Interface Settings - melonDS</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="1" column="0" alignment="Qt::AlignLeft"> <item row="1" column="0" alignment="Qt::AlignLeft">

View File

@ -17,7 +17,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Video settings - melonDS</string> <string>Video Settings - melonDS</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<property name="sizeConstraint"> <property name="sizeConstraint">

View File

@ -17,7 +17,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Wifi settings - melonDS</string> <string>Wi-Fi Settings - melonDS</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint"> <property name="sizeConstraint">
@ -61,7 +61,7 @@
<item row="3" column="0" rowspan="3" colspan="2"> <item row="3" column="0" rowspan="3" colspan="2">
<widget class="QGroupBox" name="groupBox_3"> <widget class="QGroupBox" name="groupBox_3">
<property name="title"> <property name="title">
<string>Direct Mode Settings</string> <string>Direct mode settings</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0"> <item row="0" column="0">
@ -127,7 +127,7 @@
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Indirect mode uses libslirp. It requires no extra setup and is easy to use.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Indirect mode uses libslirp. It requires no extra setup and is easy to use.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="text"> <property name="text">
<string>Indirect Mode (uses libslirp, recommended)</string> <string>Indirect mode (uses libslirp, recommended)</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -1150,13 +1150,13 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
updateRecentFilesMenu(); updateRecentFilesMenu();
//actBootFirmware = menu->addAction("Launch DS menu"); //actBootFirmware = menu->addAction("Launch DS menu");
actBootFirmware = menu->addAction("Boot firmware"); actBootFirmware = menu->addAction("Boot Firmware");
connect(actBootFirmware, &QAction::triggered, this, &MainWindow::onBootFirmware); connect(actBootFirmware, &QAction::triggered, this, &MainWindow::onBootFirmware);
menu->addSeparator(); menu->addSeparator();
{ {
QMenu* submenu = menu->addMenu("Save state"); QMenu* submenu = menu->addMenu("Save State");
for (int i = 1; i < 9; i++) for (int i = 1; i < 9; i++)
{ {
@ -1172,7 +1172,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
connect(actSaveState[0], &QAction::triggered, this, &MainWindow::onSaveState); connect(actSaveState[0], &QAction::triggered, this, &MainWindow::onSaveState);
} }
{ {
QMenu* submenu = menu->addMenu("Load state"); QMenu* submenu = menu->addMenu("Load State");
for (int i = 1; i < 9; i++) for (int i = 1; i < 9; i++)
{ {
@ -1188,11 +1188,11 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
connect(actLoadState[0], &QAction::triggered, this, &MainWindow::onLoadState); connect(actLoadState[0], &QAction::triggered, this, &MainWindow::onLoadState);
} }
actUndoStateLoad = menu->addAction("Undo state load"); actUndoStateLoad = menu->addAction("Undo State Load");
actUndoStateLoad->setShortcut(QKeySequence(Qt::Key_F12)); actUndoStateLoad->setShortcut(QKeySequence(Qt::Key_F12));
connect(actUndoStateLoad, &QAction::triggered, this, &MainWindow::onUndoStateLoad); connect(actUndoStateLoad, &QAction::triggered, this, &MainWindow::onUndoStateLoad);
actImportSavefile = menu->addAction("Import savefile"); actImportSavefile = menu->addAction("Import Save File...");
connect(actImportSavefile, &QAction::triggered, this, &MainWindow::onImportSavefile); connect(actImportSavefile, &QAction::triggered, this, &MainWindow::onImportSavefile);
menu->addSeparator(); menu->addSeparator();
@ -1215,40 +1215,40 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
menu->addSeparator(); menu->addSeparator();
actEnableCheats = menu->addAction("Enable cheats"); actEnableCheats = menu->addAction("Enable Cheats");
actEnableCheats->setCheckable(true); actEnableCheats->setCheckable(true);
connect(actEnableCheats, &QAction::triggered, this, &MainWindow::onEnableCheats); connect(actEnableCheats, &QAction::triggered, this, &MainWindow::onEnableCheats);
actSetupCheats = menu->addAction("Setup cheat codes"); actSetupCheats = menu->addAction("Manage Cheat Codes...");
connect(actSetupCheats, &QAction::triggered, this, &MainWindow::onSetupCheats); connect(actSetupCheats, &QAction::triggered, this, &MainWindow::onSetupCheats);
actSetupCheats->setMenuRole(QAction::NoRole); actSetupCheats->setMenuRole(QAction::NoRole);
} }
{ {
QMenu* menu = menubar->addMenu("Config"); QMenu* menu = menubar->addMenu("Config");
actEmuSettings = menu->addAction("Emu settings"); actEmuSettings = menu->addAction("Emulation Settings...");
connect(actEmuSettings, &QAction::triggered, this, &MainWindow::onOpenEmuSettings); connect(actEmuSettings, &QAction::triggered, this, &MainWindow::onOpenEmuSettings);
actEmuSettings->setMenuRole(QAction::PreferencesRole); actEmuSettings->setMenuRole(QAction::PreferencesRole);
actInputConfig = menu->addAction("Input and hotkeys"); actInputConfig = menu->addAction("Input and Hotkeys...");
connect(actInputConfig, &QAction::triggered, this, &MainWindow::onOpenInputConfig); connect(actInputConfig, &QAction::triggered, this, &MainWindow::onOpenInputConfig);
actVideoSettings = menu->addAction("Video settings"); actVideoSettings = menu->addAction("Video Settings...");
connect(actVideoSettings, &QAction::triggered, this, &MainWindow::onOpenVideoSettings); connect(actVideoSettings, &QAction::triggered, this, &MainWindow::onOpenVideoSettings);
actAudioSettings = menu->addAction("Audio settings"); actAudioSettings = menu->addAction("Audio Settings...");
connect(actAudioSettings, &QAction::triggered, this, &MainWindow::onOpenAudioSettings); connect(actAudioSettings, &QAction::triggered, this, &MainWindow::onOpenAudioSettings);
actWifiSettings = menu->addAction("Wifi settings"); actWifiSettings = menu->addAction("Wi-Fi Settings...");
connect(actWifiSettings, &QAction::triggered, this, &MainWindow::onOpenWifiSettings); connect(actWifiSettings, &QAction::triggered, this, &MainWindow::onOpenWifiSettings);
actInterfaceSettings = menu->addAction("Interface settings"); actInterfaceSettings = menu->addAction("Interface Settings...");
connect(actInterfaceSettings, &QAction::triggered, this, &MainWindow::onOpenInterfaceSettings); connect(actInterfaceSettings, &QAction::triggered, this, &MainWindow::onOpenInterfaceSettings);
{ {
QMenu* submenu = menu->addMenu("Savestate settings"); QMenu* submenu = menu->addMenu("Save State Settings");
actSavestateSRAMReloc = submenu->addAction("Separate savefiles"); actSavestateSRAMReloc = submenu->addAction("Separate Save Files");
actSavestateSRAMReloc->setCheckable(true); actSavestateSRAMReloc->setCheckable(true);
connect(actSavestateSRAMReloc, &QAction::triggered, this, &MainWindow::onChangeSavestateSRAMReloc); connect(actSavestateSRAMReloc, &QAction::triggered, this, &MainWindow::onChangeSavestateSRAMReloc);
} }
@ -1256,7 +1256,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
menu->addSeparator(); menu->addSeparator();
{ {
QMenu* submenu = menu->addMenu("Screen size"); QMenu* submenu = menu->addMenu("Screen Size");
for (int i = 0; i < 4; i++) for (int i = 0; i < 4; i++)
{ {
@ -1267,7 +1267,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
} }
} }
{ {
QMenu* submenu = menu->addMenu("Screen rotation"); QMenu* submenu = menu->addMenu("Screen Rotation");
grpScreenRotation = new QActionGroup(submenu); grpScreenRotation = new QActionGroup(submenu);
for (int i = 0; i < 4; i++) for (int i = 0; i < 4; i++)
@ -1282,7 +1282,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
connect(grpScreenRotation, &QActionGroup::triggered, this, &MainWindow::onChangeScreenRotation); connect(grpScreenRotation, &QActionGroup::triggered, this, &MainWindow::onChangeScreenRotation);
} }
{ {
QMenu* submenu = menu->addMenu("Screen gap"); QMenu* submenu = menu->addMenu("Screen Gap");
grpScreenGap = new QActionGroup(submenu); grpScreenGap = new QActionGroup(submenu);
const int screengap[] = {0, 1, 8, 64, 90, 128}; const int screengap[] = {0, 1, 8, 64, 90, 128};
@ -1299,7 +1299,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
connect(grpScreenGap, &QActionGroup::triggered, this, &MainWindow::onChangeScreenGap); connect(grpScreenGap, &QActionGroup::triggered, this, &MainWindow::onChangeScreenGap);
} }
{ {
QMenu* submenu = menu->addMenu("Screen layout"); QMenu* submenu = menu->addMenu("Screen Layout");
grpScreenLayout = new QActionGroup(submenu); grpScreenLayout = new QActionGroup(submenu);
const char* screenlayout[] = {"Natural", "Vertical", "Horizontal", "Hybrid"}; const char* screenlayout[] = {"Natural", "Vertical", "Horizontal", "Hybrid"};
@ -1316,15 +1316,15 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
submenu->addSeparator(); submenu->addSeparator();
actScreenSwap = submenu->addAction("Swap screens"); actScreenSwap = submenu->addAction("Swap Screens");
actScreenSwap->setCheckable(true); actScreenSwap->setCheckable(true);
connect(actScreenSwap, &QAction::triggered, this, &MainWindow::onChangeScreenSwap); connect(actScreenSwap, &QAction::triggered, this, &MainWindow::onChangeScreenSwap);
} }
{ {
QMenu* submenu = menu->addMenu("Screen sizing"); QMenu* submenu = menu->addMenu("Screen Sizing");
grpScreenSizing = new QActionGroup(submenu); grpScreenSizing = new QActionGroup(submenu);
const char* screensizing[] = {"Even", "Emphasize top", "Emphasize bottom", "Auto", "Top only", "Bottom only"}; const char* screensizing[] = {"Even", "Emphasize Top", "Emphasize Bottom", "Auto", "Top Only", "Bottom Only"};
for (int i = 0; i < 6; i++) for (int i = 0; i < 6; i++)
{ {
@ -1338,15 +1338,15 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
submenu->addSeparator(); submenu->addSeparator();
actIntegerScaling = submenu->addAction("Force integer scaling"); actIntegerScaling = submenu->addAction("Force Integer Scaling");
actIntegerScaling->setCheckable(true); actIntegerScaling->setCheckable(true);
connect(actIntegerScaling, &QAction::triggered, this, &MainWindow::onChangeIntegerScaling); connect(actIntegerScaling, &QAction::triggered, this, &MainWindow::onChangeIntegerScaling);
} }
{ {
QMenu* submenu = menu->addMenu("Aspect ratio"); QMenu* submenu = menu->addMenu("Aspect Ratio");
grpScreenAspectTop = new QActionGroup(submenu); grpScreenAspectTop = new QActionGroup(submenu);
const char* aspectRatiosTop[] = {"Top 4:3 (native)", "Top 16:9", "Top 21:9", "Top window"}; const char* aspectRatiosTop[] = {"Top 4:3 (Native)", "Top 16:9", "Top 21:9", "Top Window"};
for (int i = 0; i < 4; i++) for (int i = 0; i < 4; i++)
{ {
@ -1362,7 +1362,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
grpScreenAspectBot = new QActionGroup(submenu); grpScreenAspectBot = new QActionGroup(submenu);
const char* aspectRatiosBot[] = {"Bottom 4:3 (native)", "Bottom 16:9", "Bottom 21:9", "Bottom window"}; const char* aspectRatiosBot[] = {"Bottom 4:3 (Native)", "Bottom 16:9", "Bottom 21:9", "Bottom Window"};
for (int i = 0; i < 4; i++) for (int i = 0; i < 4; i++)
{ {
@ -1375,7 +1375,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
connect(grpScreenAspectBot, &QActionGroup::triggered, this, &MainWindow::onChangeScreenAspectBot); connect(grpScreenAspectBot, &QActionGroup::triggered, this, &MainWindow::onChangeScreenAspectBot);
} }
actScreenFiltering = menu->addAction("Screen filtering"); actScreenFiltering = menu->addAction("Screen Filtering");
actScreenFiltering->setCheckable(true); actScreenFiltering->setCheckable(true);
connect(actScreenFiltering, &QAction::triggered, this, &MainWindow::onChangeScreenFiltering); connect(actScreenFiltering, &QAction::triggered, this, &MainWindow::onChangeScreenFiltering);
@ -1385,11 +1385,11 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
menu->addSeparator(); menu->addSeparator();
actLimitFramerate = menu->addAction("Limit framerate"); actLimitFramerate = menu->addAction("Limit Frame Rate");
actLimitFramerate->setCheckable(true); actLimitFramerate->setCheckable(true);
connect(actLimitFramerate, &QAction::triggered, this, &MainWindow::onChangeLimitFramerate); connect(actLimitFramerate, &QAction::triggered, this, &MainWindow::onChangeLimitFramerate);
actAudioSync = menu->addAction("Audio sync"); actAudioSync = menu->addAction("Audio Sync");
actAudioSync->setCheckable(true); actAudioSync->setCheckable(true);
connect(actAudioSync, &QAction::triggered, this, &MainWindow::onChangeAudioSync); connect(actAudioSync, &QAction::triggered, this, &MainWindow::onChangeAudioSync);
} }