mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-03 23:30:02 +01:00
* 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
33 lines
826 B
C++
33 lines
826 B
C++
#ifdef QT_UI
|
|
|
|
#include <QCheckBox>
|
|
#include <QGroupBox>
|
|
#include <QVBoxLayout>
|
|
#include <QHBoxLayout>
|
|
|
|
#include "misctab.h"
|
|
|
|
MiscTab::MiscTab(QWidget *parent) : QWidget(parent)
|
|
{
|
|
// Checkboxes
|
|
QCheckBox *exitOnStop = new QCheckBox(tr("Exit RPCS3 when process finishes"));
|
|
QCheckBox *alwaysStart = new QCheckBox(tr("Always start after boot"));
|
|
QCheckBox *apSystemcall = new QCheckBox(tr("Auto Pause at System Call"));
|
|
QCheckBox *apFunctioncall = new QCheckBox(tr("Auto Pause at Function Call"));
|
|
|
|
// Main layout
|
|
QVBoxLayout *vbox = new QVBoxLayout;
|
|
vbox->addWidget(exitOnStop);
|
|
vbox->addWidget(alwaysStart);
|
|
vbox->addWidget(apSystemcall);
|
|
vbox->addWidget(apFunctioncall);
|
|
vbox->addStretch(1);
|
|
|
|
QHBoxLayout *hbox = new QHBoxLayout;
|
|
hbox->addLayout(vbox);
|
|
hbox->addStretch(1);
|
|
setLayout(hbox);
|
|
}
|
|
|
|
#endif // QT_UI
|