mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-09 18:20:16 +01:00
* Add Stacking option to log contextmenu Squashed commit: [69f296af] cleanup [4f4bf41f] use contextmenu instead [e67036bc] use gui settings instead (+1 squashed commits) Squashed commits: [b3913dbe] fix backwards selection (+1 squashed commits) Squashed commits: [1e150f04] add stacking option (+3 squashed commit) Squashed commit: [be78da4f] fix scroll [d3450c21] fix clearSelection [e962ec9c] fix log color issue * fix recent games related app crash * gamelist improvements Squashed commit: [aa1f79c2] fix title names & con background [d8381984] fix gamelist search * finally fix show menu bug * add rows to gamelist: resolutions, sound formats and parental level * fix gamelist loadsettings
32 lines
1 KiB
C++
32 lines
1 KiB
C++
#include <QCheckBox>
|
|
#include <QGroupBox>
|
|
#include <QVBoxLayout>
|
|
#include <QHBoxLayout>
|
|
#include <QComboBox>
|
|
#include <QPushButton>
|
|
|
|
#include "misc_tab.h"
|
|
#include "main_window.h"
|
|
|
|
misc_tab::misc_tab(std::shared_ptr<emu_settings> xemu_settings, QWidget *parent) : QWidget(parent)
|
|
{
|
|
// Left Widgets
|
|
QCheckBox *exitOnStop = xemu_settings->CreateEnhancedCheckBox(emu_settings::ExitRPCS3OnFinish, this);
|
|
QCheckBox *alwaysStart = xemu_settings->CreateEnhancedCheckBox(emu_settings::StartOnBoot, this);
|
|
QCheckBox *startGameFullscreen = xemu_settings->CreateEnhancedCheckBox(emu_settings::StartGameFullscreen, this);
|
|
QCheckBox *showFPSInTitle = xemu_settings->CreateEnhancedCheckBox(emu_settings::ShowFPSInTitle, this);
|
|
|
|
// Left layout
|
|
QVBoxLayout *vbox_left = new QVBoxLayout;
|
|
vbox_left->addWidget(exitOnStop);
|
|
vbox_left->addWidget(alwaysStart);
|
|
vbox_left->addWidget(startGameFullscreen);
|
|
vbox_left->addWidget(showFPSInTitle);
|
|
vbox_left->addStretch(1);
|
|
|
|
// Main Layout
|
|
QHBoxLayout *hbox = new QHBoxLayout;
|
|
hbox->addLayout(vbox_left);
|
|
setLayout(hbox);
|
|
}
|