ff7tk
1.2.0.13
Work with Final Fantasy 7 game data
src
widgets
data
AchievementEditor.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2013 - 2023 Chris Rizzitello <sithlord48@gmail.com>
2
// SPDX-License-Identifier: LGPL-3.0-or-later
3
4
#pragma once
5
6
#include <QWidget>
7
#include <ff7tkwidgets_export.h>
8
#include <FF7Achievements>
9
10
class
QListWidget;
11
19
class
FF7TKWIDGETS_EXPORT
AchievementEditor
:
public
QWidget
20
{
21
Q_OBJECT
22
public
:
23
explicit
AchievementEditor
(QWidget *parent =
nullptr
);
24
~
AchievementEditor
() =
default
;
25
public
slots:
30
bool
openFile(
const
QString &fileName);
31
36
bool
saveFile(
const
QString &fileName);
37
private
slots:
41
void
itemToggled(
const
QModelIndex &index);
42
private
:
43
void
initDisplay();
44
FF7Achievements
achievements;
45
QListWidget *achievementList =
nullptr
;
46
};
AchievementEditor
A QWidget editor for achievements.dat file from 2012 and 2013 release of Final Fantasy 7.
Definition:
AchievementEditor.h:19
FF7Achievements
Work with achievements.dat.
Definition:
FF7Achievements.h:16
Generated by
1.8.17