dolphin/Source/Core/DolphinQt2/Config/PathDialog.h

41 lines
790 B
C
Raw Normal View History

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
#include <QDialog>
#include <QGridLayout>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QListWidget>
class PathDialog final : public QDialog
{
Q_OBJECT
2015-12-31 03:03:13 +00:00
public:
explicit PathDialog(QWidget* parent = nullptr);
2015-12-31 03:03:13 +00:00
public slots:
void Browse();
void BrowseDefaultGame();
void BrowseDVDRoot();
void BrowseApploader();
void BrowseWiiNAND();
2015-12-31 03:03:13 +00:00
signals:
void PathAdded(QString path);
void PathRemoved(QString path);
2015-12-31 03:03:13 +00:00
private:
QGroupBox* MakeGameFolderBox();
QGridLayout* MakePathsLayout();
void RemovePath();
2015-12-31 03:03:13 +00:00
QListWidget* m_path_list;
QLineEdit* m_game_edit;
QLineEdit* m_dvd_edit;
QLineEdit* m_app_edit;
QLineEdit* m_nand_edit;
2015-12-31 03:03:13 +00:00
};