A QWidget editor for achievements.dat file from 2012 and 2013 release of Final Fantasy 7.
More...
#include <AchievementEditor.h>
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
◆ AchievementEditor()
AchievementEditor::AchievementEditor |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~AchievementEditor()
AchievementEditor::~AchievementEditor |
( |
| ) |
|
|
default |
◆ openFile
bool AchievementEditor::openFile |
( |
const QString & |
fileName | ) |
|
|
slot |
open a file.
- Parameters
-
fileName | an 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
-
fileName | an 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: