ff7tk  0.02
Toolkit for making FF7 Tools
mainwindow.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 FF7tk //
5 // //
6 // FF7tk 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 // FF7tk 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 /****************************************************************************/
17 // This Demo Program Just Shows Widgets For Easier Testing //
18 #ifndef MAINWINDOW_H
19 #define MAINWINDOW_H
20 
21 #include "qglobal.h"
22 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
23  #include <QtWidgets/QMainWindow>
24 #else
25  #include <QMainWindow>
26 #endif
27 
28 #include "../widgets/MateriaEditor.h"
29 #include "../widgets/CharEditor.h"
30 #include "../widgets/ItemList.h"
31 #include "../widgets/MetadataCreator.h"
32 #include "../widgets/SlotSelect.h"
33 #include "../widgets/PhsListWidget.h"
34 #include "../widgets/MenuListWidget.h"
35 #include "../widgets/OptionsWidget.h"
36 #include "../widgets/LocationViewer.h"
37 #include "../widgets/ChocoboManager.h"
38 #include "../widgets/AchievementEditor.h"
39 #include "../widgets/CharManager.h"
40 
41 #include "../formats/Lgp.h"
42 
43 namespace Ui {
44  class MainWindow;
45 }
46 
47 class MainWindow : public QMainWindow
48 {
49  Q_OBJECT
50 
51 public:
52  explicit MainWindow(QWidget *parent = 0);
53  ~MainWindow();
54 
55 private slots:
56  void hideAllBoxes(void);
57  void on_combo_widget_currentIndexChanged(int index);
58  void on_sb_materia_editor_setStarSize_valueChanged(int arg1);
59  void on_cb_materia_editor_setEditable_toggled(bool checked);
60  void on_cb_charEditor_clicked(bool checked);
61  void on_pushButton_clicked();
62  void on_checkBox_toggled(bool checked);
63  void on_btn_showmetaData_clicked();
64  void on_btn_slotSelect_clicked();
65  void on_btn_lgpSelect_clicked();
66  void on_btnExtractLgp_clicked();
67  void on_btn_loadAchievement_clicked();
68  void on_btn_saveAchievement_clicked();
69  void on_lineEdit_editingFinished();
70  void on_checkBox_2_toggled(bool checked);
71 
72  void on_checkBox_3_clicked(bool checked);
73 
74  void on_cbEditableMateriaCombos_clicked(bool checked);
75 
76  void on_checkBox_4_clicked(bool checked);
77 
78 private:
79 
80  Ui::MainWindow *ui;
81  qreal scale;
86  //SlotSelect *slotSelect;
95 };
96 
97 #endif // MAINWINDOW_H
A QWidget editor for achievements.dat file from 2012 and 2013 release of Final Fantasy 7...
ItemList * item_list
Definition: mainwindow.h:84
LocationViewer * locViewer
Definition: mainwindow.h:90
Definition: mainwindow.h:43
Widget to allow editing of a character using FF7Char for data.
Definition: CharEditor.h:37
CharManager * charManager
Definition: mainwindow.h:94
Easily manage the who can be in the phs.
Definition: PhsListWidget.h:31
Set Saves Location or View Field Locations and Toggle the items picked up from them.
OptionsWidget * optionsWidget
Definition: mainwindow.h:91
qreal scale
Definition: mainwindow.h:81
MenuListWidget * ListMenu
Definition: mainwindow.h:88
Ui::MainWindow * ui
Definition: mainwindow.h:80
easily manage the menus in Final Fantasy 7
Definition: Lgp.h:55
ChocoboManager * chocoboManager
Definition: mainwindow.h:92
AchievementEditor * achievementEditor
Definition: mainwindow.h:93
MetadataCreator * metadataCreator
Definition: mainwindow.h:85
CharEditor * char_editor
Definition: mainwindow.h:83
MateriaEditor * materia_editor
Definition: mainwindow.h:82
A Single widget to allow you to set all the options for the game will save emit a signal when any opt...
Definition: OptionsWidget.h:31
PhsListWidget * ListPHS
Definition: mainwindow.h:87
Lgp * lgpFile
Definition: mainwindow.h:89