| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <QDialog> |
| 7 |
|
| 8 |
#include "DolphinQt/Config/SettingsWindow.h" |
| 9 |
|
| 10 |
namespace UICommon |
| 11 |
{ |
| 12 |
class GameFile; |
| 13 |
} |
| 14 |
|
| 15 |
class PropertiesDialog final : public StackedSettingsWindow |
| 16 |
{ |
| 17 |
Q_OBJECT |
| 18 |
public: |
| 19 |
explicit PropertiesDialog(QWidget* parent, const UICommon::GameFile& game); |
| 20 |
const std::string& GetFilePath() const { return m_filepath; } |
| 21 |
|
| 22 |
signals: |
| 23 |
void OpenGeneralSettings(); |
| 24 |
void OpenGraphicsSettings(); |
| 25 |
#ifdef USE_RETRO_ACHIEVEMENTS |
| 26 |
void OpenAchievementSettings(); |
| 27 |
#endif |
| 28 |
|
| 29 |
private: |
| 30 |
const std::string m_filepath; |
| 31 |
}; |