ff7tk 0.80.25
Work with Final Fantasy 7 game data
|
Preview a Single Slot on a Psx memory card or FF7 Save file. More...
#include <SlotPreview.h>
Public Types | |
enum | MODE { MODE_EMPTY , MODE_PSXGAME , MODE_FF7SAVE } |
Signals | |
void | clicked (int) |
Signal: User Clicked on preview, returns index of click. More... | |
void | btn_remove_clicked (int) |
Signal: User Clicked on remove, returns index of click. More... | |
void | btn_copy_clicked (int) |
Signal: User Clicked on copy, returns index of click. More... | |
void | btn_paste_clicked (int) |
Signal: User Clicked on paste, returns index of click. More... | |
Public Member Functions | |
SlotPreview (int index=0, qreal Scale=1, QWidget *parent=nullptr) | |
int | index (void) |
void | setParty (QPixmap p1, QPixmap p2, QPixmap p3) |
void | setParty (QString p1_style, QString p2_style, QString p3_style) |
void | setName (QString) |
void | setLevel (int) |
void | setLocation (QString) |
void | setGil (int) |
void | setTime (int hour, int min) |
void | setPsxIcon (QByteArray icon_data, quint8 frames=1) |
void | setPsxIcon (QList< QByteArray > icon_data) |
void | setMode (int mode) |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *ev) |
Preview a Single Slot on a Psx memory card or FF7 Save file.
Currently will display the "description" of FF7 Save or a preview of what psx save is in that slot. More games could be added by extending the modes
enum SlotPreview::MODE |
SlotPreview::SlotPreview | ( | int | index = 0 , |
qreal | Scale = 1 , |
||
QWidget * | parent = nullptr |
||
) |
|
signal |
Signal: User Clicked on copy, returns index of click.
|
signal |
Signal: User Clicked on paste, returns index of click.
|
signal |
Signal: User Clicked on remove, returns index of click.
|
signal |
Signal: User Clicked on preview, returns index of click.
int SlotPreview::index | ( | void | ) |
|
protected |
void SlotPreview::setGil | ( | int | gil | ) |
void SlotPreview::setLevel | ( | int | lvl | ) |
void SlotPreview::setLocation | ( | QString | loc | ) |
void SlotPreview::setMode | ( | int | mode | ) |
void SlotPreview::setName | ( | QString | Name | ) |
void SlotPreview::setParty | ( | QPixmap | p1, |
QPixmap | p2, | ||
QPixmap | p3 | ||
) |
void SlotPreview::setParty | ( | QString | p1_style, |
QString | p2_style, | ||
QString | p3_style | ||
) |
void SlotPreview::setPsxIcon | ( | QByteArray | icon_data, |
quint8 | frames = 1 |
||
) |
void SlotPreview::setPsxIcon | ( | QList< QByteArray > | icon_data | ) |
void SlotPreview::setTime | ( | int | hour, |
int | min | ||
) |