2018-01-04 00:41:31 +00:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QComboBox;
|
|
|
|
class QPushButton;
|
|
|
|
|
|
|
|
class GameCubePane : public QWidget
|
|
|
|
{
|
2018-05-13 20:16:20 +00:00
|
|
|
Q_OBJECT
|
2018-01-04 00:41:31 +00:00
|
|
|
public:
|
|
|
|
explicit GameCubePane();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void CreateWidgets();
|
|
|
|
void ConnectWidgets();
|
|
|
|
|
|
|
|
void LoadSettings();
|
|
|
|
void SaveSettings();
|
|
|
|
|
2019-01-24 20:08:21 +00:00
|
|
|
void UpdateButton(int slot);
|
2018-01-04 00:41:31 +00:00
|
|
|
void OnConfigPressed(int slot);
|
|
|
|
|
|
|
|
QCheckBox* m_skip_main_menu;
|
|
|
|
QCheckBox* m_override_language_ntsc;
|
|
|
|
QComboBox* m_language_combo;
|
|
|
|
|
2019-01-24 20:08:21 +00:00
|
|
|
QPushButton* m_slot_buttons[3];
|
2018-01-04 00:41:31 +00:00
|
|
|
QComboBox* m_slot_combos[3];
|
|
|
|
};
|