First Commit
This commit is contained in:
33
pcsx2-qt/Settings/MemoryCardCreateDialog.h
Normal file
33
pcsx2-qt/Settings/MemoryCardCreateDialog.h
Normal file
@@ -0,0 +1,33 @@
|
||||
// SPDX-FileCopyrightText: 2002-2025 PCSX2 Dev Team
|
||||
// SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtWidgets/QDialog>
|
||||
|
||||
#include "ui_MemoryCardCreateDialog.h"
|
||||
|
||||
#include "pcsx2/Config.h"
|
||||
|
||||
class MemoryCardCreateDialog final : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MemoryCardCreateDialog(QWidget* parent = nullptr);
|
||||
~MemoryCardCreateDialog();
|
||||
|
||||
private Q_SLOTS:
|
||||
void nameTextChanged();
|
||||
void createCard();
|
||||
|
||||
private:
|
||||
void setType(MemoryCardType type, MemoryCardFileType fileType);
|
||||
void restoreDefaults();
|
||||
void updateState();
|
||||
|
||||
Ui::MemoryCardCreateDialog m_ui;
|
||||
|
||||
MemoryCardType m_type = MemoryCardType::File;
|
||||
MemoryCardFileType m_fileType = MemoryCardFileType::PS2_8MB;
|
||||
};
|
||||
Reference in New Issue
Block a user