2016-03-23 02:08:16 +01:00
|
|
|
#ifndef SAVEGAMEDIALOG_H
|
|
|
|
#define SAVEGAMEDIALOG_H
|
|
|
|
|
|
|
|
#include "SavegameData.h"
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class SavegameDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class SavegameDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit SavegameDialog(QWidget *parent = 0);
|
2016-04-02 21:09:07 +02:00
|
|
|
void setSavegameData(SavegameData *savegame, QString sgdPath, bool readOk);
|
2016-03-23 02:08:16 +01:00
|
|
|
~SavegameDialog();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_cmdClose_clicked();
|
2016-04-02 21:09:07 +02:00
|
|
|
void on_cmdCopy_clicked();
|
2016-03-23 02:08:16 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::SavegameDialog *ui;
|
|
|
|
QString savegameLabStr;
|
2016-04-02 21:09:07 +02:00
|
|
|
QString sgdPath;
|
2016-03-23 02:08:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SAVEGAMEDIALOG_H
|