mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
Dagimon ultra level
gui new design: hidpi fixes settings_dialog fix glitch welcome dialog hdpi adjustments about dialog hdpi adjustments about dialog fix size pad dialog hdpi adjustments settings_dialog: remove SetActiveTab
This commit is contained in:
parent
c9e9fcd0a3
commit
457c2d364f
13 changed files with 3393 additions and 3020 deletions
|
@ -21,12 +21,13 @@
|
|||
|
||||
inline std::string sstr(const QString& _in) { return _in.toUtf8().toStdString(); }
|
||||
|
||||
settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, Render_Creator r_Creator, QWidget *parent, GameInfo* game)
|
||||
settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const Render_Creator& r_Creator, const int& tabIndex, QWidget *parent, GameInfo* game)
|
||||
: QDialog(parent), xgui_settings(xSettings), ui(new Ui::settings_dialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->cancelButton->setDefault(true);
|
||||
ui->tabWidget->setUsesScrollButtons(false);
|
||||
ui->tabWidget->setCurrentIndex(tabIndex);
|
||||
|
||||
// read tooltips from json
|
||||
QFile json_file(":/Json/tooltips.json");
|
||||
|
@ -664,6 +665,8 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, Render
|
|||
AddConfigs();
|
||||
AddStylesheets();
|
||||
}
|
||||
|
||||
setFixedSize(sizeHint());
|
||||
}
|
||||
|
||||
void settings_dialog::AddConfigs()
|
||||
|
@ -769,8 +772,3 @@ void settings_dialog::OnApplyStylesheet()
|
|||
xgui_settings->SetValue(GUI::m_currentStylesheet, ui->combo_stylesheets->currentText());
|
||||
Q_EMIT GuiStylesheetRequest(xgui_settings->GetCurrentStylesheetPath());
|
||||
}
|
||||
|
||||
void settings_dialog::SetActiveTab(int index)
|
||||
{
|
||||
ui->tabWidget->setCurrentIndex(index);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue