From d929596b0fbde73ebccc3bccb530b10b8f6fc3d0 Mon Sep 17 00:00:00 2001 From: digant73 Date: Tue, 30 Dec 2025 13:42:29 +0100 Subject: [PATCH] improve menus --- rpcs3/rpcs3qt/main_window.cpp | 18 +++--- rpcs3/rpcs3qt/main_window.ui | 81 ++++++++++++++----------- rpcs3/rpcs3qt/ps_move_tracker_dialog.ui | 2 +- 3 files changed, 55 insertions(+), 46 deletions(-) diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 9278e7e6b3..58b7ef7e4c 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -2460,8 +2460,8 @@ void main_window::CreateActions() m_icon_size_act_group->addAction(ui->setIconSizeLargeAct); m_list_mode_act_group = new QActionGroup(this); - m_list_mode_act_group->addAction(ui->setlistModeListAct); - m_list_mode_act_group->addAction(ui->setlistModeGridAct); + m_list_mode_act_group->addAction(ui->setListModeAct); + m_list_mode_act_group->addAction(ui->setGridModeAct); } void main_window::CreateConnects() @@ -2924,7 +2924,7 @@ void main_window::CreateConnects() QMessageBox::critical(this, tr("Error: Emulation Running"), tr("You need to stop the emulator before editing Clans connection information!"), QMessageBox::Ok); return; } - + clans_settings_dialog dlg(this); dlg.exec(); }); @@ -3335,7 +3335,7 @@ void main_window::CreateConnects() connect(m_list_mode_act_group, &QActionGroup::triggered, this, [this](QAction* act) { - const bool is_list_act = act == ui->setlistModeListAct; + const bool is_list_act = act == ui->setListModeAct; if (is_list_act == m_is_list_mode) return; @@ -3373,11 +3373,11 @@ void main_window::CreateConnects() } }); - connect(ui->toolbar_controls, &QAction::triggered, this, open_pad_settings); connect(ui->toolbar_config, &QAction::triggered, this, [=]() { open_settings(0); }); - connect(ui->toolbar_list, &QAction::triggered, this, [this]() { ui->setlistModeListAct->trigger(); }); - connect(ui->toolbar_grid, &QAction::triggered, this, [this]() { ui->setlistModeGridAct->trigger(); }); + connect(ui->toolbar_controls, &QAction::triggered, this, open_pad_settings); connect(ui->toolbar_rpcn, &QAction::triggered, this, open_rpcn_settings); + connect(ui->toolbar_list, &QAction::triggered, this, [this]() { ui->setListModeAct->trigger(); }); + connect(ui->toolbar_grid, &QAction::triggered, this, [this]() { ui->setGridModeAct->trigger(); }); connect(ui->sizeSlider, &QSlider::valueChanged, this, &main_window::ResizeIcons); connect(ui->sizeSlider, &QSlider::sliderReleased, this, [this] @@ -3627,9 +3627,9 @@ void main_window::ConfigureGuiFromSettings() // handle icon size options if (m_is_list_mode) - ui->setlistModeListAct->setChecked(true); + ui->setListModeAct->setChecked(true); else - ui->setlistModeGridAct->setChecked(true); + ui->setGridModeAct->setChecked(true); const int icon_size_index = m_gui_settings->GetValue(m_is_list_mode ? gui::gl_iconSize : gui::gl_iconSizeGrid).toInt(); m_other_slider_pos = m_gui_settings->GetValue(!m_is_list_mode ? gui::gl_iconSize : gui::gl_iconSizeGrid).toInt(); diff --git a/rpcs3/rpcs3qt/main_window.ui b/rpcs3/rpcs3qt/main_window.ui index 96ae6b397d..bcd5f50791 100644 --- a/rpcs3/rpcs3qt/main_window.ui +++ b/rpcs3/rpcs3qt/main_window.ui @@ -218,7 +218,6 @@ - @@ -243,9 +242,25 @@ Configuration - + - USB Devices + Mice + + + + + + + Devices + + + + + + + + + Emulated Devices @@ -259,21 +274,8 @@ - - - Mice - - - - - - - - - - @@ -282,6 +284,9 @@ + + + @@ -368,12 +373,18 @@ - + - Game List Mode + Game List View - - + + + + + + Game List in Grid Mode + + @@ -398,15 +409,14 @@ - - - - - + + + + @@ -418,11 +428,10 @@ - - - + + @@ -661,7 +670,7 @@ - Exit And Save Log + Exit and Save Log Exit RPCS3, move the log file to a custom location @@ -818,12 +827,12 @@ true - Show Game Compatibility in Grid Mode + Show Game Compatibility - Game List Refresh + Refresh Game List @@ -841,7 +850,7 @@ - View The Welcome Dialog + View Welcome Dialog @@ -897,7 +906,7 @@ Large - + true @@ -905,15 +914,15 @@ true - List View + List Mode - + true - Grid View + Grid Mode diff --git a/rpcs3/rpcs3qt/ps_move_tracker_dialog.ui b/rpcs3/rpcs3qt/ps_move_tracker_dialog.ui index 2272c989dc..3afa78b531 100644 --- a/rpcs3/rpcs3qt/ps_move_tracker_dialog.ui +++ b/rpcs3/rpcs3qt/ps_move_tracker_dialog.ui @@ -17,7 +17,7 @@ - Dialog + PS Move Tracker Settings