2021-01-23 18:16:56 +00:00
|
|
|
// Copyright 2021 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2021-01-23 18:16:56 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
#include <array>
|
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QGroupBox;
|
|
|
|
class QVBoxLayout;
|
|
|
|
class QPushButton;
|
|
|
|
|
|
|
|
class CommonControllersWidget final : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit CommonControllersWidget(QWidget* parent);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void OnControllerInterfaceConfigure();
|
|
|
|
|
|
|
|
void CreateLayout();
|
|
|
|
void ConnectWidgets();
|
|
|
|
|
|
|
|
void LoadSettings();
|
|
|
|
void SaveSettings();
|
|
|
|
|
|
|
|
QGroupBox* m_common_box;
|
|
|
|
QVBoxLayout* m_common_layout;
|
|
|
|
QCheckBox* m_common_bg_input;
|
|
|
|
QPushButton* m_common_configure_controller_interface;
|
|
|
|
};
|