2020-06-11 23:27:34 -06:00
|
|
|
// Copyright 2020 Dolphin Emulator Project
|
2021-07-04 19:22:19 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-06-11 23:27:34 -06:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
2023-04-24 21:36:43 -06:00
|
|
|
class ConfigChoice;
|
2022-07-13 16:22:40 -06:00
|
|
|
class QCheckBox;
|
2020-06-11 23:27:34 -06:00
|
|
|
class QPushButton;
|
|
|
|
class ToolTipCheckBox;
|
|
|
|
|
|
|
|
class FreeLookWidget final : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit FreeLookWidget(QWidget* parent);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void CreateLayout();
|
|
|
|
void ConnectWidgets();
|
|
|
|
|
|
|
|
void OnFreeLookControllerConfigured();
|
|
|
|
void LoadSettings();
|
|
|
|
void SaveSettings();
|
|
|
|
|
|
|
|
ToolTipCheckBox* m_enable_freelook;
|
2023-04-24 21:36:43 -06:00
|
|
|
ConfigChoice* m_freelook_control_type;
|
2020-06-11 23:27:34 -06:00
|
|
|
QPushButton* m_freelook_controller_configure_button;
|
2022-07-13 16:22:40 -06:00
|
|
|
QCheckBox* m_freelook_background_input;
|
2020-06-11 23:27:34 -06:00
|
|
|
};
|