2017-05-04 07:47:59 +00: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 10:38:59 +00:00
|
|
|
QComboBox* m_combobox_language;
|
|
|
|
|
2017-05-04 07:47:59 +00:00
|
|
|
QComboBox* m_combobox_theme;
|
|
|
|
QCheckBox* m_checkbox_auto_window;
|
|
|
|
QCheckBox* m_checkbox_top_window;
|
|
|
|
QCheckBox* m_checkbox_render_to_window;
|
2017-07-23 13:28:34 +00:00
|
|
|
QCheckBox* m_checkbox_use_builtin_title_database;
|
2017-09-25 08:21:04 +00:00
|
|
|
QCheckBox* m_checkbox_show_debugging_ui;
|
2017-05-04 07:47:59 +00:00
|
|
|
|
|
|
|
QCheckBox* m_checkbox_confirm_on_stop;
|
|
|
|
QCheckBox* m_checkbox_use_panic_handlers;
|
|
|
|
QCheckBox* m_checkbox_enable_osd;
|
2017-05-15 14:49:52 +00:00
|
|
|
QCheckBox* m_checkbox_show_active_title;
|
2017-05-04 07:47:59 +00:00
|
|
|
QCheckBox* m_checkbox_pause_on_focus_lost;
|
|
|
|
QCheckBox* m_checkbox_hide_mouse;
|
|
|
|
};
|