7 #include <ff7tkwidgets_export.h>
30 SlotPreview(
int index = 0, QWidget *parent =
nullptr);
32 void setParty(QPixmap p1, QPixmap p2, QPixmap p3);
33 void setName(QString);
35 void setLocation(QString);
37 void setTime(
int hour,
int min);
38 void setPsxIcon(
const QByteArray &icon_data, quint8 frames = 1);
39 void setPsxIcon(
const QList<QByteArray> &icon_data);
41 void setBackground(
const QImage &image);
42 void setPSXText(
const QString &text);
54 [[ deprecated (
"will be removed in ff7tk 2.0, Use SlotPreview::remove") ]]
void btn_remove_clicked(
int);
60 [[ deprecated (
"will be removed in ff7tk 2.0, Use SlotPreview::copy") ]]
void btn_copy_clicked(
int);
66 [[ deprecated (
"will be removed in ff7tk 2.0, Use SlotPreview::paste") ]]
void btn_paste_clicked(
int);
69 void mousePressEvent(QMouseEvent *ev);
70 void paintEvent(QPaintEvent *);
73 QToolButton *btn_copy =
nullptr;
74 QToolButton *btn_paste =
nullptr;
75 QToolButton *btn_remove =
nullptr;
82 QString m_psxText = QString();
83 QImage m_background = QImage();
84 QPixmap m_p1 = QPixmap();
85 QPixmap m_p2 = QPixmap();
86 QPixmap m_p3 = QPixmap();
87 QString m_name = QString();
88 QString m_time = QString();
89 QString m_level = QString();
90 QString m_gil = QString();
91 QString m_location = QString();
PSX icon data as a QPixmap.
Definition: SaveIcon.h:15
Preview a Single Slot on a Psx memory card or FF7 Save file.
Definition: SlotPreview.h:20
void clicked(int)
Signal: User Clicked on preview, returns index of click.
MODE
Definition: SlotPreview.h:24
@ PSXGAME
PSX Game or linked block.
Definition: SlotPreview.h:26
@ EMPTY
Empty Slot.
Definition: SlotPreview.h:25
void btn_paste_clicked(int)
void remove(int)
Signal: User Clicked on remove, returns index of click.
void paste(int)
Signal: User Clicked on paste, returns index of click.
void btn_copy_clicked(int)
void copy(int)
Signal: User Clicked on copy, returns index of click.
void btn_remove_clicked(int)