summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/HardcoreWarningWidget.h
blob: 4b7db7f6754549ef2e04a50ecca15b0ba5a41393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2023 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#ifdef USE_RETRO_ACHIEVEMENTS
#include <QWidget>

class QLabel;
class QPushButton;

class HardcoreWarningWidget : public QWidget
{
  Q_OBJECT
public:
  explicit HardcoreWarningWidget(QWidget* parent);

signals:
  void OpenAchievementSettings();

private:
  void CreateWidgets();
  void ConnectWidgets();

  void Update();

  QPushButton* m_settings_button;
};
#endif  // USE_RETRO_ACHIEVEMENTS