iCub-main
Loading...
Searching...
No Matches
loadingwidget.h
Go to the documentation of this file.
1#ifndef LOADINGWIDGET_H
2#define LOADINGWIDGET_H
3
4#include <QDialog>
5#include <QTimer>
6#include <QMutex>
7namespace Ui {
8class LoadingWidget;
9}
10
11class LoadingWidget : public QDialog
12{
13 Q_OBJECT
14
15public:
16 explicit LoadingWidget(QWidget *parent = 0);
18
19 int start();
20 void stop();
21
22private:
23 Ui::LoadingWidget *ui;
24 QTimer splashTimer;
25 int counter;
26 QMutex mutex;
27
28
29private slots:
30 void onSplashTimer();
31};
32
33#endif // LOADINGWIDGET_H