ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
MetadataCreator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2012 - 2020 Chris Rizzitello <sithlord48@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-or-later
3 
4 #pragma once
5 
6 #include <QDialog>
7 #include <ff7tkwidgets_export.h>
8 
9 class FF7Save;
10 class QDialogButtonBox;
11 class QVBoxLayout;
12 
13 class FF7TKWIDGETS_EXPORT MetadataCreator : public QDialog
14 {
15  Q_OBJECT
16 public:
17  explicit MetadataCreator(QWidget *parent = nullptr, FF7Save *ff7save = nullptr);
18 private slots:
19  void initDisplay();
20  void onAccepted();
21 
22 private:
23  QString getOpenFileName(QWidget *parent = nullptr, const QString &title = QString(), const QString &path = QString(), const QString &nameFilters = QString(), const QString &initSelection = QString());
24  QString getExistingDirectory(QWidget *parent = nullptr, const QString &title = QString(), const QString &path = QString(), const QString &initSelection = QString());
25  QVBoxLayout *makeLineLayout();
26  //Data Parts
27  bool load;
28  FF7Save *ff7;
29  QStringList InFiles;
30  QString OutPath;
31  QString UserID;
32  QDialogButtonBox *btnBox = nullptr;
33 };
FF7Save
edit saves from Final Fantasy 7
Definition: FF7Save.h:52
MetadataCreator
Definition: MetadataCreator.h:13