29 lines
445 B
C++
29 lines
445 B
C++
#ifndef LOADING_H
|
|
#define LOADING_H
|
|
|
|
#include "welcome.h"
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class Loading;
|
|
}
|
|
|
|
class Loading : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Loading(QWidget *parent = nullptr);
|
|
~Loading();
|
|
void changeStep(std::string text);
|
|
void setupWelcomeLocale(std::string locale);
|
|
void finishWorker();
|
|
|
|
private:
|
|
Ui::Loading *ui;
|
|
void startLoading();
|
|
Welcome welcome;
|
|
};
|
|
|
|
#endif // LOADING_H
|