mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-26 03:55:37 +00:00
31 lines
630 B
C++
31 lines
630 B
C++
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QDialog>
|
|
#include <QListWidget>
|
|
|
|
#include "common/config.h"
|
|
#include "common/path_util.h"
|
|
|
|
class QLineEdit;
|
|
|
|
class InstallDirSelect final : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
InstallDirSelect();
|
|
~InstallDirSelect();
|
|
|
|
std::filesystem::path getSelectedDirectory() {
|
|
return selected_dir;
|
|
}
|
|
|
|
private:
|
|
QWidget* SetupInstallDirList();
|
|
QWidget* SetupDialogActions();
|
|
void setSelectedDirectory(QListWidgetItem* item);
|
|
std::filesystem::path selected_dir;
|
|
};
|