Duckstation/src/duckstation-qt/cheatcodeeditordialog.h

26 lines
492 B
C
Raw Normal View History

2020-10-19 15:14:49 +00:00
#pragma once
#include "core/cheats.h"
#include "ui_cheatcodeeditordialog.h"
class CheatCodeEditorDialog : public QDialog
{
Q_OBJECT
public:
2020-10-21 11:30:23 +00:00
CheatCodeEditorDialog(const QStringList& group_names, CheatCode* code, QWidget* parent);
2020-10-19 15:14:49 +00:00
~CheatCodeEditorDialog();
private Q_SLOTS:
void saveClicked();
void cancelClicked();
private:
2020-10-21 11:30:23 +00:00
void setupAdditionalUi(const QStringList& group_names);
2020-10-19 15:14:49 +00:00
void fillUi();
void connectUi();
CheatCode* m_code;
Ui::CheatCodeEditorDialog m_ui;
};