2020-06-12 05:27:34 +00:00
|
|
|
// Copyright 2020 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-06-12 05:27:34 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2023-06-08 02:14:54 +00:00
|
|
|
#ifdef USE_RETRO_ACHIEVEMENTS
|
|
|
|
class HardcoreWarningWidget;
|
|
|
|
#endif // USE_RETRO_ACHIEVEMENTS
|
2020-06-12 05:27:34 +00:00
|
|
|
class QDialogButtonBox;
|
|
|
|
|
|
|
|
class FreeLookWindow final : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit FreeLookWindow(QWidget* parent);
|
|
|
|
|
2023-06-08 02:14:54 +00:00
|
|
|
#ifdef USE_RETRO_ACHIEVEMENTS
|
|
|
|
signals:
|
|
|
|
void OpenAchievementSettings();
|
|
|
|
#endif // USE_RETRO_ACHIEVEMENTS
|
|
|
|
|
2020-06-12 05:27:34 +00:00
|
|
|
private:
|
|
|
|
void CreateMainLayout();
|
2023-06-08 02:14:54 +00:00
|
|
|
void ConnectWidgets();
|
2020-06-12 05:27:34 +00:00
|
|
|
|
2023-06-08 02:14:54 +00:00
|
|
|
#ifdef USE_RETRO_ACHIEVEMENTS
|
|
|
|
HardcoreWarningWidget* m_hc_warning;
|
|
|
|
#endif // USE_RETRO_ACHIEVEMENTS
|
2020-06-12 05:27:34 +00:00
|
|
|
QDialogButtonBox* m_button_box;
|
|
|
|
};
|