dolphin/Source/Core/DolphinQt/Settings/PathPane.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
873 B
C
Raw Normal View History

2015-12-31 03:03:13 +00:00
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2015-12-31 03:03:13 +00:00
#pragma once
#include <QWidget>
2015-12-31 03:03:13 +00:00
class QGridLayout;
class QGroupBox;
class QLineEdit;
class QListWidget;
class QPushButton;
class PathPane final : public QWidget
2015-12-31 03:03:13 +00:00
{
Q_OBJECT
2015-12-31 03:03:13 +00:00
public:
explicit PathPane(QWidget* parent = nullptr);
2015-12-31 03:03:13 +00:00
private:
2015-12-31 03:03:13 +00:00
void Browse();
void BrowseDefaultGame();
void BrowseWiiNAND();
2018-04-25 19:43:12 +00:00
void BrowseDump();
void BrowseLoad();
void BrowseResourcePack();
2018-04-25 19:43:12 +00:00
void BrowseSDCard();
2015-12-31 03:03:13 +00:00
QGroupBox* MakeGameFolderBox();
QGridLayout* MakePathsLayout();
void RemovePath();
2018-04-28 23:01:14 +00:00
void OnSDCardPathChanged();
void OnNANDPathChanged();
2015-12-31 03:03:13 +00:00
QListWidget* m_path_list;
QLineEdit* m_game_edit;
QLineEdit* m_nand_edit;
2018-04-25 19:43:12 +00:00
QLineEdit* m_dump_edit;
QLineEdit* m_load_edit;
QLineEdit* m_resource_pack_edit;
2018-04-25 19:43:12 +00:00
QLineEdit* m_sdcard_edit;
QPushButton* m_remove_path;
2015-12-31 03:03:13 +00:00
};