| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <QDialog> |
| 7 |
|
| 8 |
#ifdef USE_RETRO_ACHIEVEMENTS |
| 9 |
class HardcoreWarningWidget; |
| 10 |
#endif |
| 11 |
class QDialogButtonBox; |
| 12 |
|
| 13 |
class FreeLookWindow final : public QDialog |
| 14 |
{ |
| 15 |
Q_OBJECT |
| 16 |
public: |
| 17 |
explicit FreeLookWindow(QWidget* parent); |
| 18 |
|
| 19 |
#ifdef USE_RETRO_ACHIEVEMENTS |
| 20 |
signals: |
| 21 |
void OpenAchievementSettings(); |
| 22 |
#endif |
| 23 |
|
| 24 |
private: |
| 25 |
void CreateMainLayout(); |
| 26 |
void ConnectWidgets(); |
| 27 |
|
| 28 |
#ifdef USE_RETRO_ACHIEVEMENTS |
| 29 |
HardcoreWarningWidget* m_hc_warning; |
| 30 |
#endif |
| 31 |
QDialogButtonBox* m_button_box; |
| 32 |
}; |