ff7tk 0.80.25
Work with Final Fantasy 7 game data
Public Slots | Public Member Functions | List of all members
AchievementEditor Class Reference

A QWidget editor for achievements.dat file from 2012 and 2013 release of Final Fantasy 7. More...

#include <AchievementEditor.h>

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

Public Slots

bool openFile (const QString &fileName)
 open a file. More...
 
bool saveFile (const QString &fileName)
 saves a file. More...
 

Public Member Functions

 AchievementEditor (QWidget *parent=nullptr)
 create a new AchievementEditor More...
 
 ~AchievementEditor ()=default
 

Detailed Description

A QWidget editor for achievements.dat file from 2012 and 2013 release of Final Fantasy 7.

This widget uses FF7Achievements to do everything for us we only need to tell it what file to open and what file to save. The list will contain icons for each achievement so be sure to include achievements.qrc in your projects resources The end user only ever needs to see a list the rest should be set to signals/slots in the host application

Constructor & Destructor Documentation

◆ AchievementEditor()

AchievementEditor::AchievementEditor ( QWidget *  parent = nullptr)
explicit

create a new AchievementEditor

◆ ~AchievementEditor()

AchievementEditor::~AchievementEditor ( )
default

Member Function Documentation

◆ openFile

bool AchievementEditor::openFile ( const QString &  fileName)
slot

open a file.

Parameters
fileNamean achievements.dat file that you want to open
Returns
TRUE if successful while attempting to open the file

◆ saveFile

bool AchievementEditor::saveFile ( const QString &  fileName)
slot

saves a file.

Parameters
fileNamean achievements.dat file that you want to save
Returns
TRUE if successful while attempting to write the file

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