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 20:55:16 +02:00
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2017-08-26 20:55:16 +02: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 20:55:16 +02:00
signals:
void OpenCheatEnableSettings();
private:
void CreateWidgets();
void ConnectWidgets();
2017-08-30 21:00:59 +02:00
void Update(bool running);
2017-08-26 20:55:16 +02:00
QLabel* m_text;
QPushButton* m_config_button;
2017-08-30 21:00:59 +02:00
const std::string m_game_id;
2018-03-26 04:17:47 +02:00
bool m_restart_required;
2017-08-26 20:55:16 +02:00
};