You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
383 B
30 lines
383 B
#ifndef WAITDIALOG_H
|
|
#define WAITDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class WaitDialog;
|
|
}
|
|
|
|
class WaitDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit WaitDialog(QWidget *parent = nullptr);
|
|
~WaitDialog();
|
|
|
|
private slots:
|
|
void timeout();
|
|
|
|
private:
|
|
Ui::WaitDialog *ui;
|
|
QTimer* _timer;
|
|
|
|
int _state;
|
|
|
|
void setText();
|
|
};
|
|
|
|
#endif // WAITDIALOG_H
|
|
|