mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/MI-38.git
synced 2026-01-23 15:25:44 +03:00
31 lines
464 B
C++
31 lines
464 B
C++
#ifndef SPLASHFORM_H
|
|
#define SPLASHFORM_H
|
|
|
|
#include <QDialog>
|
|
#include <QWindow>
|
|
#include <QTimer>
|
|
|
|
namespace Ui {
|
|
class SplashForm;
|
|
}
|
|
|
|
class SplashForm : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SplashForm(QWidget *parent = nullptr);
|
|
~SplashForm();
|
|
void Reset();
|
|
void Step();
|
|
void SetTitle(QString title);
|
|
void ErrMessage(QString title, QString msg);
|
|
|
|
QTimer* timer;
|
|
|
|
private:
|
|
Ui::SplashForm *ui;
|
|
};
|
|
|
|
#endif // SPLASHFORM_H
|