ff7tk 0.80.25
Work with Final Fantasy 7 game data
SlotSelect.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 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#pragma once
17
18#include <QDialog>
19
20#ifndef ff7tkwidgets_export_h
21 #include <ff7tkwidgets_export.h>
22#endif
23
24class QVBoxLayout;
25class QWidget;
26
27class SlotPreview;
28class FF7Save;
29
37class FF7TKWIDGETS_EXPORT SlotSelect : public QDialog
38{
39 Q_OBJECT
40public:
41
48 explicit SlotSelect(qreal scale = 1, FF7Save *data = nullptr, bool loadVisiable = false, QWidget *parent = nullptr);
49private slots:
50 void button_clicked(int s);
51 void remove_slot(int s);
52 void copy_slot(int s);
53 void paste_slot(int s);
54 void newFile(void);
55private:
56 void setSlotPreview(int s);
57 void showLoad(bool shown);
58 void ReIntSlot(int s);
59 QVBoxLayout *preview_layout;
60 SlotPreview *preview[15];
61 QPushButton *btnNew;
62 //Private Data
63 FF7Save *ff7;
64 qreal _scale;
65};
edit saves from Final Fantasy 7
Definition: FF7Save.h:68
Preview a Single Slot on a Psx memory card or FF7 Save file.
Definition: SlotPreview.h:35
Display a preview of the contents of a PSX memory card file or FF7 PC save.
Definition: SlotSelect.h:38