dolphin/Source/Core/DolphinQt/Config/FreeLookWidget.h
Dentomologist 2237a4a7aa Qt: Rename GraphicsChoice to ConfigChoice
GraphicsChoice is used by the panes in the Graphics config window to
create combo boxes that change their associated config setting, and
update their own state when something else changes the config setting.

Despite its current name nothing about this class is particular to the
Graphics window, so renaming it to ConfigChoice better reflects its
purpose. This should also make it less confusing when ConfigChoices are
eventually added to the other config windows.
2023-04-25 11:39:24 -07:00

31 lines
638 B
C++

// Copyright 2020 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <QWidget>
class ConfigChoice;
class QCheckBox;
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;
ConfigChoice* m_freelook_control_type;
QPushButton* m_freelook_controller_configure_button;
QCheckBox* m_freelook_background_input;
};