dolphin/Source/Core/DolphinQt/Config/Mapping/GCPadWiiUConfigDialog.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
690 B
C
Raw Normal View History

2017-05-20 15:53:17 +00:00
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2017-05-20 15:53:17 +00:00
2017-07-26 20:31:58 +00:00
#pragma once
#include <QDialog>
2017-05-20 15:53:17 +00:00
class QCheckBox;
class QLabel;
class QDialogButtonBox;
2017-05-20 15:53:17 +00:00
class QVBoxLayout;
class GCPadWiiUConfigDialog final : public QDialog
2017-05-20 15:53:17 +00:00
{
Q_OBJECT
2017-05-20 15:53:17 +00:00
public:
explicit GCPadWiiUConfigDialog(int port, QWidget* parent = nullptr);
~GCPadWiiUConfigDialog();
2017-05-20 15:53:17 +00:00
private:
void LoadSettings();
void SaveSettings();
2017-05-20 15:53:17 +00:00
void CreateLayout();
void ConnectWidgets();
private:
void UpdateAdapterStatus();
int m_port;
2017-05-20 15:53:17 +00:00
QVBoxLayout* m_layout;
QLabel* m_status_label;
QDialogButtonBox* m_button_box;
2017-05-20 15:53:17 +00:00
// Checkboxes
QCheckBox* m_rumble;
QCheckBox* m_simulate_bongos;
};