summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/PropertiesDialog.h
blob: 3d8236bbe452ff27221bff455a47253903cbb626 (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
30
31
// Copyright 2016 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <QDialog>

#include "DolphinQt/Config/SettingsWindow.h"

namespace UICommon
{
class GameFile;
}

class PropertiesDialog final : public StackedSettingsWindow
{
  Q_OBJECT
public:
  explicit PropertiesDialog(QWidget* parent, const UICommon::GameFile& game);
  const std::string& GetFilePath() const { return m_filepath; }

signals:
  void OpenGeneralSettings();
  void OpenGraphicsSettings();
#ifdef USE_RETRO_ACHIEVEMENTS
  void OpenAchievementSettings();
#endif  // USE_RETRO_ACHIEVEMENTS

private:
  const std::string m_filepath;
};