mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
[WIP] Update Qt interface (#2336)
* Fix rpcs3qt Linux build * Files clean up * Add base MainWindow class * Add slot stubs * Update MainWindow::DecryptSPRXLibraries * Add SettingsDialog base class and tab stubs * Add CoreTab base layout * Add compile guards * Minor fixes * Add GraphicsTab base layout * Add OK button signal * Remove QML stuff * Fix indentation * Add AudioTab base layout * Add InputTab base layout * Fix layouts * Add MiscTab base layout * Fix layouts * Add NetworkingTab base layout * Add SystemTab base layout * Fix button layout in SettingsDialog * Make SettingsDialog resizable * Add base dock widget stubs * Add very base PadSettingsDialog layout * Add combo box entries * Abb LogFrame base layout * Fix indent * Abb GameListFrame base layout * Minor fixes * Add AutoPauseSettingsDialog base layout
This commit is contained in:
parent
d8dc4f4474
commit
74e806810d
30 changed files with 1434 additions and 12 deletions
55
rpcs3/rpcs3qt/systemtab.cpp
Normal file
55
rpcs3/rpcs3qt/systemtab.cpp
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
#ifdef QT_UI
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
#include <QGroupBox>
|
||||
#include <QVBoxLayout>
|
||||
#include <QHBoxLayout>
|
||||
|
||||
#include "systemtab.h"
|
||||
|
||||
SystemTab::SystemTab(QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
// Language
|
||||
QGroupBox *sysLang = new QGroupBox(tr("Language"));
|
||||
|
||||
QComboBox *sysLangBox = new QComboBox;
|
||||
sysLangBox->addItem(tr("Japanese"));
|
||||
sysLangBox->addItem(tr("English (US)"));
|
||||
sysLangBox->addItem(tr("French"));
|
||||
sysLangBox->addItem(tr("Spanish"));
|
||||
sysLangBox->addItem(tr("German"));
|
||||
sysLangBox->addItem(tr("Italian"));
|
||||
sysLangBox->addItem(tr("Dutch"));
|
||||
sysLangBox->addItem(tr("Portuguese (PT)"));
|
||||
sysLangBox->addItem(tr("Russian"));
|
||||
sysLangBox->addItem(tr("Korean"));
|
||||
sysLangBox->addItem(tr("Chinese (Trad.)"));
|
||||
sysLangBox->addItem(tr("Chinese (Simp.)"));
|
||||
sysLangBox->addItem(tr("Finnish"));
|
||||
sysLangBox->addItem(tr("Swedish"));
|
||||
sysLangBox->addItem(tr("Danish"));
|
||||
sysLangBox->addItem(tr("Norwegian"));
|
||||
sysLangBox->addItem(tr("Polish"));
|
||||
sysLangBox->addItem(tr("English (UK)"));
|
||||
|
||||
QVBoxLayout *sysLangVbox = new QVBoxLayout;
|
||||
sysLangVbox->addWidget(sysLangBox);
|
||||
sysLang->setLayout(sysLangVbox);
|
||||
|
||||
// Checkboxes
|
||||
QCheckBox *enableHostRoot = new QCheckBox(tr("Enable /host_root/"));
|
||||
|
||||
// Main layout
|
||||
QVBoxLayout *vbox = new QVBoxLayout;
|
||||
vbox->addWidget(enableHostRoot);
|
||||
vbox->addWidget(sysLang);
|
||||
vbox->addStretch();
|
||||
|
||||
QHBoxLayout *hbox = new QHBoxLayout;
|
||||
hbox->addLayout(vbox);
|
||||
hbox->addStretch();
|
||||
setLayout(hbox);
|
||||
}
|
||||
|
||||
#endif // QT_UI
|
||||
Loading…
Add table
Add a link
Reference in a new issue