mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 16:15:41 +00:00
8c7a192128
Should've did this in the beginning.
29 lines
625 B
C++
29 lines
625 B
C++
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
|
|
|
#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;
|
|
};
|