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

37 lines
645 B
C
Raw Normal View History

2017-05-20 09:53:17 -06:00
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
2017-07-26 14:31:58 -06:00
#pragma once
#include <QDialog>
2017-05-20 09:53:17 -06:00
class QCheckBox;
class QLabel;
class QDialogButtonBox;
2017-05-20 09:53:17 -06:00
class QVBoxLayout;
class GCPadWiiUConfigDialog final : public QDialog
2017-05-20 09:53:17 -06:00
{
Q_OBJECT
2017-05-20 09:53:17 -06:00
public:
explicit GCPadWiiUConfigDialog(int port, QWidget* parent = nullptr);
2017-05-20 09:53:17 -06:00
private:
void LoadSettings();
void SaveSettings();
2017-05-20 09:53:17 -06:00
void CreateLayout();
void ConnectWidgets();
int m_port;
2017-05-20 09:53:17 -06:00
QVBoxLayout* m_layout;
QLabel* m_status_label;
QDialogButtonBox* m_button_box;
2017-05-20 09:53:17 -06:00
// Checkboxes
QCheckBox* m_rumble;
QCheckBox* m_simulate_bongos;
};