Adds description text on mouse hover

This commit is contained in:
rainmakerv2 2024-12-18 18:55:01 +08:00
parent 97371fcd8a
commit 3e303ab71a
4 changed files with 12 additions and 5 deletions

View File

@ -27,7 +27,7 @@
#endif
namespace QtExternal {
extern bool isGameRunning = false;
bool isGameRunning = false;
}
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow) {

View File

@ -217,7 +217,7 @@ SettingsDialog::SettingsDialog(std::span<const QString> physical_devices, QWidge
ui->heightDivider->installEventFilter(this);
ui->dumpShadersCheckBox->installEventFilter(this);
ui->nullGpuCheckBox->installEventFilter(this);
ui->GammaSlider->installEventFilter(this);
ui->GammaGroupBox->installEventFilter(this);
// Paths
ui->gameFoldersGroupBox->installEventFilter(this);
@ -451,6 +451,8 @@ void SettingsDialog::updateNoteTextEdit(const QString& elementName) {
text = tr("dumpShadersCheckBox");
} else if (elementName == "nullGpuCheckBox") {
text = tr("nullGpuCheckBox");
} else if (elementName == "GammaGroupBox") {
text = tr("GammaGroupBox");
}
// Path

View File

@ -946,11 +946,11 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="LighterDarkerHLayout">
<layout class="QHBoxLayout" name="BrighterDarkerHLayout">
<item>
<widget class="QLabel" name="LighterLabel">
<widget class="QLabel" name="BrighterLabel">
<property name="text">
<string>Lighter</string>
<string>Brighter</string>
</property>
</widget>
</item>

View File

@ -1256,6 +1256,11 @@
<source>graphicsAdapterGroupBox</source>
<translation>Graphics Device:\nOn multiple GPU systems, select the GPU the emulator will use from the drop down list,\nor select "Auto Select" to automatically determine it.</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="319"/>
<source>GammaGroupBox</source>
<translation>Gamma Correction:\nApplies additional processing to brighten or darken the game. Overrides and is overriden by in-game brightness settings, the last change to either will take effect.</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="314"/>
<source>resolutionLayout</source>