Qt: Split some console settings out into general settings

This commit is contained in:
Connor McLaughlin
2020-03-22 13:16:32 +10:00
parent bf2f9bd8d9
commit a4a5d3ef79
13 changed files with 252 additions and 131 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
#include <QtWidgets/QWidget>
#include "ui_generalsettingswidget.h"
class QtHostInterface;
class GeneralSettingsWidget : public QWidget
{
Q_OBJECT
public:
explicit GeneralSettingsWidget(QtHostInterface* host_interface, QWidget* parent = nullptr);
~GeneralSettingsWidget();
private Q_SLOTS:
void onEnableSpeedLimiterStateChanged();
void onEmulationSpeedValueChanged(int value);
private:
Ui::GeneralSettingsWidget m_ui;
QtHostInterface* m_host_interface;
};