mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 22:25:42 +00:00
26 lines
492 B
C++
26 lines
492 B
C++
#pragma once
|
|
#include "core/cheats.h"
|
|
#include "ui_cheatcodeeditordialog.h"
|
|
|
|
class CheatCodeEditorDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
CheatCodeEditorDialog(const QStringList& group_names, CheatCode* code, QWidget* parent);
|
|
~CheatCodeEditorDialog();
|
|
|
|
private Q_SLOTS:
|
|
void saveClicked();
|
|
void cancelClicked();
|
|
|
|
private:
|
|
void setupAdditionalUi(const QStringList& group_names);
|
|
void fillUi();
|
|
void connectUi();
|
|
|
|
CheatCode* m_code;
|
|
|
|
Ui::CheatCodeEditorDialog m_ui;
|
|
};
|