mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Qt/Properties: Implement "Gecko codes" tab
This commit is contained in:
parent
5aecd61ede
commit
f90e81b9db
12 changed files with 302 additions and 7 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <QVBoxLayout>
|
||||
|
||||
#include "DolphinQt2/Config/FilesystemWidget.h"
|
||||
#include "DolphinQt2/Config/GeckoCodeWidget.h"
|
||||
#include "DolphinQt2/Config/InfoWidget.h"
|
||||
#include "DolphinQt2/Config/PropertiesDialog.h"
|
||||
|
||||
|
@ -18,7 +19,14 @@ PropertiesDialog::PropertiesDialog(QWidget* parent, const GameFile& game) : QDia
|
|||
|
||||
QTabWidget* tab_widget = new QTabWidget(this);
|
||||
InfoWidget* info = new InfoWidget(game);
|
||||
|
||||
GeckoCodeWidget* gecko = new GeckoCodeWidget(game);
|
||||
|
||||
connect(gecko, &GeckoCodeWidget::OpenGeneralSettings, this,
|
||||
&PropertiesDialog::OpenGeneralSettings);
|
||||
|
||||
tab_widget->addTab(info, tr("Info"));
|
||||
tab_widget->addTab(gecko, tr("Gecko Codes"));
|
||||
|
||||
if (DiscIO::IsDisc(game.GetPlatformID()))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue