2015-12-30 20:03:13 -07:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-05-31 02:08:04 -06:00
|
|
|
#include <QWidget>
|
2015-12-30 20:03:13 -07:00
|
|
|
|
2017-05-31 02:08:04 -06:00
|
|
|
class QGridLayout;
|
|
|
|
class QGroupBox;
|
|
|
|
class QLineEdit;
|
|
|
|
class QListWidget;
|
|
|
|
|
|
|
|
class PathPane final : public QWidget
|
2015-12-30 20:03:13 -07:00
|
|
|
{
|
|
|
|
public:
|
2017-05-31 02:08:04 -06:00
|
|
|
explicit PathPane(QWidget* parent = nullptr);
|
2015-12-30 20:03:13 -07:00
|
|
|
|
2017-05-31 02:08:04 -06:00
|
|
|
private:
|
2016-06-24 02:43:46 -06:00
|
|
|
void Browse();
|
|
|
|
void BrowseDefaultGame();
|
|
|
|
void BrowseWiiNAND();
|
2018-04-25 13:43:12 -06:00
|
|
|
void BrowseDump();
|
|
|
|
void BrowseSDCard();
|
2016-06-24 02:43:46 -06:00
|
|
|
QGroupBox* MakeGameFolderBox();
|
|
|
|
QGridLayout* MakePathsLayout();
|
|
|
|
void RemovePath();
|
2015-12-30 20:03:13 -07:00
|
|
|
|
2018-04-28 17:01:14 -06:00
|
|
|
void OnSDCardPathChanged();
|
|
|
|
void OnNANDPathChanged();
|
|
|
|
|
2016-06-24 02:43:46 -06:00
|
|
|
QListWidget* m_path_list;
|
|
|
|
QLineEdit* m_game_edit;
|
|
|
|
QLineEdit* m_nand_edit;
|
2018-04-25 13:43:12 -06:00
|
|
|
QLineEdit* m_dump_edit;
|
|
|
|
QLineEdit* m_sdcard_edit;
|
2015-12-30 20:03:13 -07:00
|
|
|
};
|