ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Signals | Public Member Functions | List of all members
SaveIcon Class Reference

PSX icon data as a QPixmap. More...

#include <SaveIcon.h>

Inheritance diagram for SaveIcon:
Inheritance graph
[legend]
Collaboration diagram for SaveIcon:
Collaboration graph
[legend]

Signals

void nextIcon (QPixmap)
 Emit Signal: Time to update your QPixmap. connect to object your displaying on to tell it time for a new icon. More...
 

Public Member Functions

 SaveIcon ()
 create a new Save icon More...
 
 SaveIcon (const QByteArray &data, quint8 nbFrames=1)
 create a new Save icon with data More...
 
 SaveIcon (const QList< QByteArray > &data)
 create a new Save icon with data More...
 
void setAll (const QByteArray &data, quint8 nbFrames=1)
 fill SaveIcon with data More...
 
void setAll (const QList< QByteArray > &data)
 fill SaveIcon with data More...
 
const QByteArray & save ()
 Save the icon. More...
 
QPixmap icon (bool chocobo_world_icon=false)
 pixmap of your icon More...
 

Detailed Description

PSX icon data as a QPixmap.

Constructor & Destructor Documentation

◆ SaveIcon() [1/3]

SaveIcon::SaveIcon ( )

create a new Save icon

◆ SaveIcon() [2/3]

SaveIcon::SaveIcon ( const QByteArray &  data,
quint8  nbFrames = 1 
)

create a new Save icon with data

Parameters
datapsx saveicon data
nbFramesnumber of frames icon has (1-3)

◆ SaveIcon() [3/3]

SaveIcon::SaveIcon ( const QList< QByteArray > &  data)

create a new Save icon with data

Parameters
datapsx saveicon one frame pre list item

Member Function Documentation

◆ icon()

QPixmap SaveIcon::icon ( bool  chocobo_world_icon = false)

pixmap of your icon

Parameters
chocobo_world_iconis this an icon for chocoboworld?
Returns
psx SaveIcon as A QPixmap

◆ nextIcon

void SaveIcon::nextIcon ( QPixmap  )
signal

Emit Signal: Time to update your QPixmap. connect to object your displaying on to tell it time for a new icon.

◆ save()

const QByteArray & SaveIcon::save ( )

Save the icon.

Returns
Icon Data as QByteArray

◆ setAll() [1/2]

void SaveIcon::setAll ( const QByteArray &  data,
quint8  nbFrames = 1 
)

fill SaveIcon with data

Parameters
datapsx saveicon data
nbFramesnumber of frames in icon (1-3)

◆ setAll() [2/2]

void SaveIcon::setAll ( const QList< QByteArray > &  data)

fill SaveIcon with data

Parameters
datapsx saveicon one frame pre list item.

The documentation for this class was generated from the following files: