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();