summaryrefslogtreecommitdiffstats
path: root/videogui.h
blob: 09863092ff40100f58540c9b717253b49bfaa60d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef VIDEOGUI_H
#define VIDEOGUI_H

#include <QGroupBox>
#include "video.h"
class StatusLabel;
class QComboBox;
class Video;

class VideoGui : public QGroupBox
{
	Q_OBJECT
public:
	VideoGui(Video *video);
private:
	StatusLabel *m_imageStatus;
	StatusLabel *m_encodeStatus;
	StatusLabel *m_uploadStatus;
	StatusLabel *m_titleLoadStatus;
	StatusLabel *m_subtitleStatus;
	StatusLabel *m_posterStatus;
	QComboBox *m_titleSelector;
	Video *m_video;
private slots:
	void jobCompleted(Video::Jobs jobType, bool success);
	void titleChanged(int index);
};

#endif // VIDEOGUI_H