mirror of https://github.com/PCSX2/pcsx2.git
36 lines
690 B
C++
36 lines
690 B
C++
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
|
|
// SPDX-License-Identifier: GPL-3.0+
|
|
|
|
#pragma once
|
|
|
|
#include <QtWidgets/QWidget>
|
|
#include <QtCore/QMap>
|
|
#include <array>
|
|
#include <vector>
|
|
|
|
class QScrollArea;
|
|
class QGridLayout;
|
|
class QVBoxLayout;
|
|
|
|
class ControllerSettingsWindow;
|
|
|
|
class HotkeySettingsWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
HotkeySettingsWidget(QWidget* parent, ControllerSettingsWindow* dialog);
|
|
~HotkeySettingsWidget();
|
|
|
|
private:
|
|
void createUi();
|
|
void createButtons();
|
|
|
|
ControllerSettingsWindow* m_dialog;
|
|
QScrollArea* m_scroll_area = nullptr;
|
|
QWidget* m_container = nullptr;
|
|
QVBoxLayout* m_layout = nullptr;
|
|
|
|
QMap<QString, QGridLayout*> m_categories;
|
|
};
|