mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
GCMemcardManager: Add GUI to create new memory card.
This commit is contained in:
parent
4b00ddf9aa
commit
e921cbe57c
6 changed files with 139 additions and 5 deletions
28
Source/Core/DolphinQt/GCMemcardCreateNewDialog.h
Normal file
28
Source/Core/DolphinQt/GCMemcardCreateNewDialog.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Copyright 2019 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class QComboBox;
|
||||
class QRadioButton;
|
||||
|
||||
class GCMemcardCreateNewDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit GCMemcardCreateNewDialog(QWidget* parent = nullptr);
|
||||
~GCMemcardCreateNewDialog();
|
||||
|
||||
std::string GetMemoryCardPath() const;
|
||||
|
||||
private:
|
||||
bool CreateCard();
|
||||
|
||||
QComboBox* m_combobox_size;
|
||||
QRadioButton* m_radio_western;
|
||||
QRadioButton* m_radio_shiftjis;
|
||||
std::string m_card_path;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue