| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <QWidget> |
| 7 |
|
| 8 |
class ConfigText; |
| 9 |
class QGridLayout; |
| 10 |
class QGroupBox; |
| 11 |
class QListWidget; |
| 12 |
class QPushButton; |
| 13 |
|
| 14 |
class PathPane final : public QWidget |
| 15 |
{ |
| 16 |
Q_OBJECT |
| 17 |
public: |
| 18 |
explicit PathPane(QWidget* parent = nullptr); |
| 19 |
|
| 20 |
private: |
| 21 |
void Browse(); |
| 22 |
void BrowseDefaultGame(); |
| 23 |
void BrowseWiiNAND(); |
| 24 |
void BrowseDump(); |
| 25 |
void BrowseLoad(); |
| 26 |
void BrowseResourcePack(); |
| 27 |
void BrowseWFS(); |
| 28 |
QGroupBox* MakeGameFolderBox(); |
| 29 |
QGridLayout* MakePathsLayout(); |
| 30 |
void RemovePath(); |
| 31 |
|
| 32 |
QListWidget* m_path_list; |
| 33 |
ConfigText* m_game_edit; |
| 34 |
ConfigText* m_nand_edit; |
| 35 |
ConfigText* m_dump_edit; |
| 36 |
ConfigText* m_load_edit; |
| 37 |
ConfigText* m_resource_pack_edit; |
| 38 |
ConfigText* m_wfs_edit; |
| 39 |
|
| 40 |
QPushButton* m_remove_path; |
| 41 |
}; |