2022-09-24 22:55:05 +02:00
|
|
|
/*
|
|
|
|
* generatorprogress.h, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#pragma once
|
2022-09-18 01:23:17 +02:00
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "../lib/LoadProgress.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class GeneratorProgress;
|
|
|
|
}
|
|
|
|
|
|
|
|
class GeneratorProgress : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit GeneratorProgress(Load::Progress & source, QWidget *parent = nullptr);
|
|
|
|
~GeneratorProgress();
|
|
|
|
|
|
|
|
void update();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::GeneratorProgress *ui;
|
|
|
|
Load::Progress & source;
|
|
|
|
};
|