]> git.sur5r.net Git - minitube/blob - src/loadingwidget.h
ba7ff105975db5382128d2dda70fa32f60ee5668
[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
15 public slots:
16     void bufferStatus(int);
17
18 private:
19     QLabel *titleLabel;
20     QLabel *descriptionLabel;
21     // TODO uncomment the whole progress bar feature
22     // when the Phonon backends will correctly emit bufferStatus(int)
23     // QProgressBar *progressBar;
24
25 };
26
27 #endif // LOADINGWIDGET_H