summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Settings/PathPane.h
blob: bf07dd3ee62218f980bbe0e94c03618ecbcc8b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <QWidget>

class ConfigText;
class QGridLayout;
class QGroupBox;
class QListWidget;
class QPushButton;

class PathPane final : public QWidget
{
  Q_OBJECT
public:
  explicit PathPane(QWidget* parent = nullptr);

private:
  void Browse();
  void BrowseDefaultGame();
  void BrowseWiiNAND();
  void BrowseDump();
  void BrowseLoad();
  void BrowseResourcePack();
  void BrowseWFS();
  QGroupBox* MakeGameFolderBox();
  QGridLayout* MakePathsLayout();
  void RemovePath();

  QListWidget* m_path_list;
  ConfigText* m_game_edit;
  ConfigText* m_nand_edit;
  ConfigText* m_dump_edit;
  ConfigText* m_load_edit;
  ConfigText* m_resource_pack_edit;
  ConfigText* m_wfs_edit;

  QPushButton* m_remove_path;
};