ff7tk  0.02
Toolkit for making FF7 Tools
MetadataCreator.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // copyright 2012 - 2016 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 /*~~~~~~~~~~~Includes~~~~~~~~*/
17 
18 #ifndef METADATACREATOR_H
19 #define METADATACREATOR_H
20 
21 #include "qglobal.h"
22 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
23  #include <QtWidgets>
24 #else
25  #include <QtGui>
26 #endif
27 #include "../data/FF7Save.h"
28 
29 
30 class MetadataCreator : public QDialog
31 {
32  Q_OBJECT
33 
34 public:
35  explicit MetadataCreator(QWidget *parent = 0,FF7Save *ff7save=0);
36 private slots:
37  void initDisplay();
38  void initConnections();
39  void on_btnOutPath_clicked();
40  void on_lineOutPath_textChanged(const QString &arg1);
41  void on_btnSave00_clicked();
42  void on_lineSave00_textChanged(const QString &arg1);
43  void on_btnSave01_clicked();
44  void on_lineSave01_textChanged(const QString &arg1);
45  void on_btnSave02_clicked();
46  void on_lineSave02_textChanged(const QString &arg1);
47  void on_btnSave03_clicked();
48  void on_lineSave03_textChanged(const QString &arg1);
49  void on_btnSave04_clicked();
50  void on_lineSave04_textChanged(const QString &arg1);
51  void on_btnSave05_clicked();
52  void on_lineSave05_textChanged(const QString &arg1);
53  void on_btnSave06_clicked();
54  void on_lineSave06_textChanged(const QString &arg1);
55  void on_btnSave07_clicked();
56  void on_lineSave07_textChanged(const QString &arg1);
57  void on_btnSave08_clicked();
58  void on_lineSave08_textChanged(const QString &arg1);
59  void on_btnSave09_clicked();
60  void on_lineSave09_textChanged(const QString &arg1);
61  void on_buttonBox_accepted();
62  void on_buttonBox_rejected();
63 
64 private:
65  //GUI Parts
66  QLineEdit *lineOutPath;
67  QLineEdit *lineUserID;
68  QLineEdit *lineSave00;
69  QLineEdit *lineSave01;
70  QLineEdit *lineSave02;
71  QLineEdit *lineSave03;
72  QLineEdit *lineSave04;
73  QLineEdit *lineSave05;
74  QLineEdit *lineSave06;
75  QLineEdit *lineSave07;
76  QLineEdit *lineSave08;
77  QLineEdit *lineSave09;
78  QPushButton *btnOutPath;
79  QPushButton *btnSave00;
80  QPushButton *btnSave01;
81  QPushButton *btnSave02;
82  QPushButton *btnSave03;
83  QPushButton *btnSave04;
84  QPushButton *btnSave05;
85  QPushButton *btnSave06;
86  QPushButton *btnSave07;
87  QPushButton *btnSave08;
88  QPushButton *btnSave09;
89  QDialogButtonBox *buttonBox;
90  QSpacerItem *IDSpacer;
91  QLabel *lblSave00;
92  QLabel *lblSave01;
93  QLabel *lblSave02;
94  QLabel *lblSave03;
95  QLabel *lblSave04;
96  QLabel *lblSave05;
97  QLabel *lblSave06;
98  QLabel *lblSave07;
99  QLabel *lblSave08;
100  QLabel *lblSave09;
101  QLabel *lblOut;
102  QLabel *lblUserID;
103  QGroupBox *SaveGroup;
104  //Data Parts
105  bool load;
107  QStringList InFiles;
108  QString OutPath;
109  QString UserID;
110 };
111 
112 #endif // METADATACREATOR_H
QLineEdit * lineSave04
QPushButton * btnSave05
QPushButton * btnSave09
QLineEdit * lineOutPath
QPushButton * btnSave00
QLineEdit * lineSave02
void on_lineSave09_textChanged(const QString &arg1)
QPushButton * btnOutPath
void on_lineSave06_textChanged(const QString &arg1)
QPushButton * btnSave07
QSpacerItem * IDSpacer
void on_lineOutPath_textChanged(const QString &arg1)
void on_lineSave04_textChanged(const QString &arg1)
QPushButton * btnSave02
QLineEdit * lineSave09
MetadataCreator(QWidget *parent=0, FF7Save *ff7save=0)
QLineEdit * lineSave08
void on_lineSave02_textChanged(const QString &arg1)
void on_lineSave03_textChanged(const QString &arg1)
QGroupBox * SaveGroup
QPushButton * btnSave03
void on_lineSave08_textChanged(const QString &arg1)
QLineEdit * lineUserID
QLineEdit * lineSave06
QPushButton * btnSave01
QLineEdit * lineSave05
QLineEdit * lineSave00
edit saves from Final Fantasy 7
Definition: FF7Save.h:58
QDialogButtonBox * buttonBox
QLineEdit * lineSave07
QPushButton * btnSave08
QPushButton * btnSave04
QLineEdit * lineSave01
void on_lineSave01_textChanged(const QString &arg1)
QPushButton * btnSave06
void on_lineSave05_textChanged(const QString &arg1)
QLineEdit * lineSave03
void on_lineSave07_textChanged(const QString &arg1)
QStringList InFiles
void on_lineSave00_textChanged(const QString &arg1)