2017-05-04 01:47:59 -06:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QComboBox;
|
|
|
|
class QVBoxLayout;
|
|
|
|
|
|
|
|
class InterfacePane final : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit InterfacePane(QWidget* parent = nullptr);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void CreateLayout();
|
|
|
|
void CreateUI();
|
|
|
|
void CreateInGame();
|
|
|
|
void ConnectLayout();
|
|
|
|
void LoadConfig();
|
|
|
|
void OnSaveConfig();
|
|
|
|
|
|
|
|
QVBoxLayout* m_main_layout;
|
2017-05-05 04:38:59 -06:00
|
|
|
QComboBox* m_combobox_language;
|
|
|
|
|
2017-05-04 01:47:59 -06:00
|
|
|
QComboBox* m_combobox_theme;
|
|
|
|
QCheckBox* m_checkbox_top_window;
|
2017-07-23 07:28:34 -06:00
|
|
|
QCheckBox* m_checkbox_use_builtin_title_database;
|
2017-09-25 02:21:04 -06:00
|
|
|
QCheckBox* m_checkbox_show_debugging_ui;
|
2017-05-04 01:47:59 -06:00
|
|
|
|
|
|
|
QCheckBox* m_checkbox_confirm_on_stop;
|
|
|
|
QCheckBox* m_checkbox_use_panic_handlers;
|
|
|
|
QCheckBox* m_checkbox_enable_osd;
|
2017-05-15 08:49:52 -06:00
|
|
|
QCheckBox* m_checkbox_show_active_title;
|
2017-05-04 01:47:59 -06:00
|
|
|
QCheckBox* m_checkbox_pause_on_focus_lost;
|
|
|
|
QCheckBox* m_checkbox_hide_mouse;
|
|
|
|
};
|