mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
38 lines
832 B
C++
38 lines
832 B
C++
#include "options.h"
|
|
|
|
ConfigurationCategory::ConfigurationCategory(QWidget *parent) :
|
|
OptionsCategory(parent)
|
|
{
|
|
setDisplayName(MENU_ENUM_LABEL_VALUE_CONFIGURATION_SETTINGS);
|
|
setCategoryIcon("setting");
|
|
}
|
|
|
|
QVector<OptionsPage*> ConfigurationCategory::pages()
|
|
{
|
|
QVector<OptionsPage*> pages;
|
|
|
|
pages << new ConfigurationPage(this);
|
|
|
|
return pages;
|
|
}
|
|
|
|
ConfigurationPage::ConfigurationPage(QObject *parent) :
|
|
OptionsPage(parent)
|
|
{
|
|
}
|
|
|
|
QWidget *ConfigurationPage::widget()
|
|
{
|
|
QWidget *widget = new QWidget;
|
|
FormLayout *layout = new FormLayout;
|
|
|
|
layout->add(MENU_ENUM_LABEL_CONFIG_SAVE_ON_EXIT);
|
|
layout->add(MENU_ENUM_LABEL_GAME_SPECIFIC_OPTIONS);
|
|
layout->add(MENU_ENUM_LABEL_AUTO_OVERRIDES_ENABLE);
|
|
layout->add(MENU_ENUM_LABEL_AUTO_REMAPS_ENABLE);
|
|
|
|
widget->setLayout(layout);
|
|
|
|
return widget;
|
|
}
|