2017-05-09 10:49:10 -06:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-04 19:22:19 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-05-09 10:49:10 -06:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2021-01-23 11:16:56 -07:00
|
|
|
class CommonControllersWidget;
|
2021-01-23 11:44:21 -07:00
|
|
|
class GamecubeControllersWidget;
|
2017-05-09 10:49:10 -06:00
|
|
|
class QDialogButtonBox;
|
2021-01-23 12:05:04 -07:00
|
|
|
class WiimoteControllersWidget;
|
2017-05-09 10:49:10 -06:00
|
|
|
|
|
|
|
class ControllersWindow final : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit ControllersWindow(QWidget* parent);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void CreateMainLayout();
|
|
|
|
void ConnectWidgets();
|
|
|
|
|
|
|
|
QDialogButtonBox* m_button_box;
|
2021-01-23 11:44:21 -07:00
|
|
|
GamecubeControllersWidget* m_gamecube_controllers;
|
2021-01-23 12:05:04 -07:00
|
|
|
WiimoteControllersWidget* m_wiimote_controllers;
|
2021-01-23 11:16:56 -07:00
|
|
|
CommonControllersWidget* m_common;
|
2017-05-09 10:49:10 -06:00
|
|
|
};
|