2024-04-04 06:42:44 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
|
2024-07-30 11:42:36 +00:00
|
|
|
// SPDX-License-Identifier: GPL-3.0+
|
2021-12-13 12:12:54 +00:00
|
|
|
|
|
|
|
#pragma once
|
2024-04-04 06:42:44 +00:00
|
|
|
|
2021-12-13 12:12:54 +00:00
|
|
|
#include <QtCore/QDir>
|
|
|
|
#include <QtCore/QPair>
|
2022-08-22 22:17:01 +00:00
|
|
|
#include <QtCore/QString>
|
|
|
|
#include <QtCore/QThread>
|
2021-12-13 12:12:54 +00:00
|
|
|
#include <QtCore/QVector>
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "ui_BIOSSettingsWidget.h"
|
|
|
|
|
2023-10-14 08:45:09 +00:00
|
|
|
class SettingsWindow;
|
2021-12-13 12:12:54 +00:00
|
|
|
class QThread;
|
|
|
|
|
|
|
|
class BIOSSettingsWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-10-14 08:45:09 +00:00
|
|
|
BIOSSettingsWidget(SettingsWindow* dialog, QWidget* parent);
|
2021-12-13 12:12:54 +00:00
|
|
|
~BIOSSettingsWidget();
|
|
|
|
|
2024-04-04 06:42:44 +00:00
|
|
|
static void populateList(QTreeWidget* list, const std::string& directory);
|
2023-06-23 13:18:10 +00:00
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void refreshList();
|
|
|
|
|
|
|
|
void listItemChanged(const QTreeWidgetItem* current, const QTreeWidgetItem* previous);
|
|
|
|
|
|
|
|
void fastBootChanged();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::BIOSSettingsWidget m_ui;
|
2023-10-14 08:45:09 +00:00
|
|
|
SettingsWindow* m_dialog;
|
2021-12-13 12:12:54 +00:00
|
|
|
};
|