mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-10-23 23:55:42 +00:00
26 lines
490 B
C
26 lines
490 B
C
|
#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;
|
||
|
};
|