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
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QGridLayout>
|
|
|
|
#include <QGroupBox>
|
|
|
|
#include <QHBoxLayout>
|
|
|
|
#include <QListWidget>
|
|
|
|
|
|
|
|
class PathDialog final : public QDialog
|
|
|
|
{
|
2016-06-24 02:43:46 -06:00
|
|
|
Q_OBJECT
|
2015-12-30 20:03:13 -07:00
|
|
|
public:
|
2016-06-24 02:43:46 -06:00
|
|
|
explicit PathDialog(QWidget* parent = nullptr);
|
2015-12-30 20:03:13 -07:00
|
|
|
|
|
|
|
public slots:
|
2016-06-24 02:43:46 -06:00
|
|
|
void Browse();
|
|
|
|
void BrowseDefaultGame();
|
|
|
|
void BrowseDVDRoot();
|
|
|
|
void BrowseApploader();
|
|
|
|
void BrowseWiiNAND();
|
2015-12-30 20:03:13 -07:00
|
|
|
|
|
|
|
private:
|
2016-06-24 02:43:46 -06:00
|
|
|
QGroupBox* MakeGameFolderBox();
|
|
|
|
QGridLayout* MakePathsLayout();
|
|
|
|
void RemovePath();
|
2015-12-30 20:03:13 -07:00
|
|
|
|
2016-06-24 02:43:46 -06:00
|
|
|
QListWidget* m_path_list;
|
|
|
|
QLineEdit* m_game_edit;
|
|
|
|
QLineEdit* m_dvd_edit;
|
|
|
|
QLineEdit* m_app_edit;
|
|
|
|
QLineEdit* m_nand_edit;
|
2015-12-30 20:03:13 -07:00
|
|
|
};
|