mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-29 07:14:20 -06:00
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* multiple install folders implimentation * clang format * paths setting tab * clang format
32 lines
665 B
C++
32 lines
665 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 {
|
|
public:
|
|
InstallDirSelect();
|
|
~InstallDirSelect();
|
|
|
|
std::filesystem::path getSelectedDirectory() {
|
|
return selected_dir;
|
|
}
|
|
|
|
private slots:
|
|
void BrowseGamesDirectory();
|
|
|
|
private:
|
|
QWidget* SetupInstallDirList();
|
|
QWidget* SetupDialogActions();
|
|
void setSelectedDirectory(QListWidgetItem* item);
|
|
std::filesystem::path selected_dir;
|
|
};
|