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