UI: Massive revamp, new features and improvements
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
#include "ui_consolesettingswidget.h"
|
||||
|
||||
class QtHostInterface;
|
||||
class SettingsDialog;
|
||||
|
||||
class ConsoleSettingsWidget : public QWidget
|
||||
@@ -12,22 +11,18 @@ class ConsoleSettingsWidget : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConsoleSettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
|
||||
explicit ConsoleSettingsWidget(SettingsDialog* dialog, QWidget* parent);
|
||||
~ConsoleSettingsWidget();
|
||||
|
||||
Q_SIGNALS:
|
||||
void multitapModeChanged();
|
||||
|
||||
private Q_SLOTS:
|
||||
void onEnableCPUClockSpeedControlChecked(int state);
|
||||
void onCPUClockSpeedValueChanged(int value);
|
||||
void updateCPUClockSpeedLabel();
|
||||
void onCDROMReadSpeedupValueChanged(int value);
|
||||
|
||||
private:
|
||||
void calculateCPUClockValue();
|
||||
|
||||
Ui::ConsoleSettingsWidget m_ui;
|
||||
|
||||
QtHostInterface* m_host_interface;
|
||||
SettingsDialog* m_dialog;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user