mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(Qt UI) Add AI Service category
This commit is contained in:
parent
f6d2768181
commit
9589621619
@ -140,3 +140,32 @@ QWidget *LoggingPage::widget()
|
||||
{
|
||||
return create_widget(DISPLAYLIST_LOGGING_SETTINGS_LIST);
|
||||
}
|
||||
|
||||
/* AI SERVICE */
|
||||
|
||||
AIServiceCategory::AIServiceCategory(QWidget *parent) :
|
||||
OptionsCategory(parent)
|
||||
{
|
||||
setDisplayName(MENU_ENUM_LABEL_VALUE_AI_SERVICE_SETTINGS);
|
||||
setCategoryIcon("menu_drivers");
|
||||
}
|
||||
|
||||
QVector<OptionsPage*> AIServiceCategory::pages()
|
||||
{
|
||||
QVector<OptionsPage*> pages;
|
||||
|
||||
pages << new AIServicePage(this);
|
||||
|
||||
return pages;
|
||||
}
|
||||
|
||||
AIServicePage::AIServicePage(QObject *parent) :
|
||||
OptionsPage(parent)
|
||||
{
|
||||
setDisplayName(MENU_ENUM_LABEL_VALUE_AI_SERVICE_SETTINGS);
|
||||
}
|
||||
|
||||
QWidget *AIServicePage::widget()
|
||||
{
|
||||
return create_widget(DISPLAYLIST_AI_SERVICE_SETTINGS_LIST);
|
||||
}
|
||||
|
@ -89,6 +89,24 @@ public:
|
||||
QWidget *widget();
|
||||
};
|
||||
|
||||
/***********************************************************
|
||||
AI Service
|
||||
************************************************************/
|
||||
class AIServiceCategory : public OptionsCategory
|
||||
{
|
||||
public:
|
||||
AIServiceCategory(QWidget *parent);
|
||||
QVector<OptionsPage*> pages();
|
||||
};
|
||||
|
||||
class AIServicePage : public OptionsPage
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AIServicePage(QObject *parent = nullptr);
|
||||
QWidget *widget();
|
||||
};
|
||||
|
||||
/************************************************************
|
||||
Video
|
||||
************************************************************/
|
||||
|
@ -164,6 +164,7 @@ ViewOptionsDialog::ViewOptionsDialog(MainWindow *mainwindow, QWidget *parent) :
|
||||
addCategory(new RecordingCategory(this));
|
||||
addCategory(new OnscreenDisplayCategory(this));
|
||||
addCategory(new UserInterfaceCategory(mainwindow, this));
|
||||
addCategory(new AIServiceCategory(this));
|
||||
addCategory(new AchievementsCategory(this));
|
||||
addCategory(new NetworkCategory(this));
|
||||
addCategory(new PlaylistsCategory(this));
|
||||
|
Loading…
x
Reference in New Issue
Block a user