mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-20 17:05:41 -04:00
UI: Massive revamp, new features and improvements
This commit is contained in:
31
src/duckstation-qt/controllerglobalsettingswidget.h
Normal file
31
src/duckstation-qt/controllerglobalsettingswidget.h
Normal file
@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
#include "common/types.h"
|
||||
#include <QtCore/QMap>
|
||||
#include <QtWidgets/QWidget>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
#include "ui_controllerglobalsettingswidget.h"
|
||||
|
||||
class ControllerSettingsDialog;
|
||||
|
||||
class ControllerGlobalSettingsWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ControllerGlobalSettingsWidget(QWidget* parent, ControllerSettingsDialog* dialog);
|
||||
~ControllerGlobalSettingsWidget();
|
||||
|
||||
void addDeviceToList(const QString& identifier, const QString& name);
|
||||
void removeDeviceFromList(const QString& identifier);
|
||||
|
||||
Q_SIGNALS:
|
||||
void bindingSetupChanged();
|
||||
|
||||
private:
|
||||
void updateSDLOptionsEnabled();
|
||||
|
||||
Ui::ControllerGlobalSettingsWidget m_ui;
|
||||
ControllerSettingsDialog* m_dialog;
|
||||
};
|
Reference in New Issue
Block a user