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

33 lines
539 B
C
Raw Normal View History

2017-08-26 18:55:16 +00:00
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <QWidget>
#include <string>
class QLabel;
class QPushButton;
class CheatWarningWidget : public QWidget
{
Q_OBJECT
public:
explicit CheatWarningWidget(const std::string& game_id);
signals:
void OpenCheatEnableSettings();
private:
void CreateWidgets();
void ConnectWidgets();
2017-08-30 19:00:59 +00:00
void Update(bool running);
2017-08-26 18:55:16 +00:00
QLabel* m_text;
QPushButton* m_config_button;
2017-08-30 19:00:59 +00:00
const std::string m_game_id;
2017-08-26 18:55:16 +00:00
};