mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 20:54:10 +00:00
47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
#include "options.h"
|
|
|
|
PlaylistsCategory::PlaylistsCategory(QWidget *parent) :
|
|
OptionsCategory(parent)
|
|
{
|
|
setDisplayName(MENU_ENUM_LABEL_VALUE_PLAYLIST_SETTINGS);
|
|
setCategoryIcon("menu_playlist");
|
|
}
|
|
|
|
QVector<OptionsPage*> PlaylistsCategory::pages()
|
|
{
|
|
QVector<OptionsPage*> pages;
|
|
|
|
pages << new PlaylistsPage(this);
|
|
|
|
return pages;
|
|
}
|
|
|
|
PlaylistsPage::PlaylistsPage(QObject *parent) :
|
|
OptionsPage(parent)
|
|
{
|
|
}
|
|
|
|
QWidget *PlaylistsPage::widget()
|
|
{
|
|
QWidget *widget = new QWidget;
|
|
FormLayout *layout = new FormLayout;
|
|
CheckableSettingsGroup *history = new CheckableSettingsGroup(MENU_ENUM_LABEL_HISTORY_LIST_ENABLE);
|
|
|
|
history->add(MENU_ENUM_LABEL_CONTENT_HISTORY_SIZE);
|
|
|
|
layout->addRow(history);
|
|
|
|
layout->add(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME);
|
|
/*layout->add(MENU_ENUM_LABEL_PLAYLIST_ENTRY_REMOVE); TOFIX */
|
|
layout->add(MENU_ENUM_LABEL_PLAYLIST_SORT_ALPHABETICAL);
|
|
layout->add(MENU_ENUM_LABEL_PLAYLIST_USE_OLD_FORMAT);
|
|
layout->add(MENU_ENUM_LABEL_PLAYLIST_COMPRESSION);
|
|
layout->add(MENU_ENUM_LABEL_PLAYLIST_SHOW_SUBLABELS);
|
|
layout->add(MENU_ENUM_LABEL_PLAYLIST_FUZZY_ARCHIVE_MATCH);
|
|
layout->add(MENU_ENUM_LABEL_SCAN_WITHOUT_CORE_MATCH);
|
|
|
|
widget->setLayout(layout);
|
|
|
|
return widget;
|
|
}
|