ff7tk  1.0.0.16
Work with Final Fantasy 7 game data
SlotSelect.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2012 - 2023 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 QVBoxLayout;
10 class QWidget;
11 
12 class SlotPreview;
13 class FF7Save;
14 
22 class FF7TKWIDGETS_EXPORT SlotSelect : public QDialog
23 {
24  Q_OBJECT
25 public:
26 
32  explicit SlotSelect(FF7Save *data = nullptr, bool loadVisiable = false, QWidget *parent = nullptr);
33 private slots:
34  void button_clicked(int s);
35  void remove_slot(int s);
36  void copy_slot(int s);
37  void paste_slot(int s);
38  void newFile(void);
39 private:
40  void setSlotPreview(int s);
41  void showLoad(bool shown);
42  void ReIntSlot(int s);
43  QVBoxLayout *preview_layout;
44  SlotPreview *preview[15];
45  QPushButton *btnNew;
46  //Private Data
47  FF7Save *ff7;
48 };
FF7Save
edit saves from Final Fantasy 7
Definition: FF7Save.h:52
SlotPreview
Preview a Single Slot on a Psx memory card or FF7 Save file.
Definition: SlotPreview.h:19
SlotSelect
Display a preview of the contents of a PSX memory card file or FF7 PC save.
Definition: SlotSelect.h:22