ff7tk 0.80.25
Work with Final Fantasy 7 game data
MetadataCreator.h
Go to the documentation of this file.
1/****************************************************************************/
2// copyright 2012 - 2020 Chris Rizzitello <sithlord48@gmail.com> //
3// //
4// This file is part of Black Chocobo. //
5// //
6// Black Chocobo is free software: you can redistribute it and/or modify //
7// it under the terms of the GNU General Public License as published by //
8// the Free Software Foundation, either version 3 of the License, or //
9// (at your option) any later version. //
10// //
11// Black Chocobo is distributed in the hope that it will be useful, //
12// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14// GNU General Public License for more details. //
15/****************************************************************************/
16#pragma once
17
18#include <QDialog>
19
20#include <FF7SaveInfo.h>
21
22#ifndef ff7tkwidgets_export_h
23 #include <ff7tkwidgets_export.h>
24#endif
25
26class FF7Save;
27class QDialogButtonBox;
28class QVBoxLayout;
29
30class FF7TKWIDGETS_EXPORT MetadataCreator : public QDialog
31{
32 Q_OBJECT
33public:
34 explicit MetadataCreator(QWidget *parent = nullptr, FF7Save *ff7save = nullptr);
35private slots:
36 void initDisplay();
37 void onAccepted();
38
39private:
40 QString getOpenFileName(QWidget *parent = nullptr, const QString &title = QString(), const QString &path = QString(), const QString &nameFilters = QString(), const QString &initSelection = QString());
41 QString getExistingDirectory(QWidget *parent = nullptr, const QString &title = QString(), const QString &path = QString(), const QString &initSelection = QString());
42 QVBoxLayout *makeLineLayout();
43 //Data Parts
44 bool load;
45 FF7Save *ff7;
46 QStringList InFiles;
47 QString OutPath;
48 QString UserID;
49 QDialogButtonBox *btnBox = nullptr;
50};
edit saves from Final Fantasy 7
Definition: FF7Save.h:68
Definition: MetadataCreator.h:31