]> git.sur5r.net Git - minitube/blob - src/loadingwidget.h
77a3b1dfce1bea6c507572c603863014f97c3376
[minitube] / src / loadingwidget.h
1 #ifndef LOADINGWIDGET_H
2 #define LOADINGWIDGET_H
3
4 #include <QtGui>
5 #include "video.h"
6
7 class LoadingWidget : public QWidget {
8
9     Q_OBJECT
10
11 public:
12     LoadingWidget(QWidget *parent);
13     void setVideo(Video *video);
14     void setError(QString message);
15     void clear();
16
17 public slots:
18     void bufferStatus(int);
19
20 private:
21     QLabel *titleLabel;
22     QLabel *descriptionLabel;
23     // TODO uncomment the whole progress bar feature
24     // when the Phonon backends will correctly emit bufferStatus(int)
25     // QProgressBar *progressBar;
26
27 };
28
29 #endif // LOADINGWIDGET_H