2017-05-09 16:49:10 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2021-01-23 18:16:56 +00:00
|
|
|
class CommonControllersWidget;
|
2021-01-23 18:44:21 +00:00
|
|
|
class GamecubeControllersWidget;
|
2017-05-09 16:49:10 +00:00
|
|
|
class QDialogButtonBox;
|
2021-01-23 19:05:04 +00:00
|
|
|
class WiimoteControllersWidget;
|
2017-05-09 16:49:10 +00: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 18:44:21 +00:00
|
|
|
GamecubeControllersWidget* m_gamecube_controllers;
|
2021-01-23 19:05:04 +00:00
|
|
|
WiimoteControllersWidget* m_wiimote_controllers;
|
2021-01-23 18:16:56 +00:00
|
|
|
CommonControllersWidget* m_common;
|
2017-05-09 16:49:10 +00:00
|
|
|
};
|