mirror of
https://github.com/dolphin-emu/dolphin
synced 2024-11-04 20:43:44 -05:00
e149ad4f0a
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
35 lines
639 B
C++
35 lines
639 B
C++
// Copyright 2021 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#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;
|
|
};
|