dolphin/Source/Core/DolphinQt/Config/CheatWarningWidget.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
583 B
C
Raw Normal View History

2017-08-26 12:55:16 -06:00
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2017-08-26 12:55:16 -06:00
#pragma once
#include <QWidget>
#include <string>
class QLabel;
class QPushButton;
class CheatWarningWidget : public QWidget
{
Q_OBJECT
public:
explicit CheatWarningWidget(const std::string& game_id, bool restart_required, QWidget* parent);
2017-08-26 12:55:16 -06:00
signals:
void OpenCheatEnableSettings();
private:
void CreateWidgets();
void ConnectWidgets();
2017-08-30 13:00:59 -06:00
void Update(bool running);
2017-08-26 12:55:16 -06:00
QLabel* m_text;
QPushButton* m_config_button;
2017-08-30 13:00:59 -06:00
const std::string m_game_id;
2018-03-25 20:17:47 -06:00
bool m_restart_required;
2017-08-26 12:55:16 -06:00
};