mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-20 23:55:40 -04:00
Qt: Add new cheat manager
This commit is contained in:
25
src/duckstation-qt/cheatcodeeditordialog.h
Normal file
25
src/duckstation-qt/cheatcodeeditordialog.h
Normal file
@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#include "core/cheats.h"
|
||||
#include "ui_cheatcodeeditordialog.h"
|
||||
|
||||
class CheatCodeEditorDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CheatCodeEditorDialog(CheatList* list, CheatCode* code, QWidget* parent);
|
||||
~CheatCodeEditorDialog();
|
||||
|
||||
private Q_SLOTS:
|
||||
void saveClicked();
|
||||
void cancelClicked();
|
||||
|
||||
private:
|
||||
void setupAdditionalUi(CheatList* list);
|
||||
void fillUi();
|
||||
void connectUi();
|
||||
|
||||
CheatCode* m_code;
|
||||
|
||||
Ui::CheatCodeEditorDialog m_ui;
|
||||
};
|
Reference in New Issue
Block a user