summaryrefslogtreecommitdiffstats
path: root/encodemp4jobgui.h
blob: cd90d5cf351b0e74b55be2b96cf819ac5077d74b (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
#ifndef ENCODEMP4JOBGUI_H
#define ENCODEMP4JOBGUI_H

#include <QFrame>
#include <QTime>
class QLabel;
class QProgressBar;
class EncodeMP4Job;

class EncodeMP4JobGui : public QFrame
{
	Q_OBJECT

public:
	EncodeMP4JobGui(EncodeMP4Job *job);

private:
	QProgressBar* m_progressBar;
	QLabel* m_progressLabel;
	EncodeMP4Job *m_job;

private slots:
	void encodeProgress(int currentTask, int totalTasks, float percent, float currentFps, float avgFps, QTime timeRemaining);
};

#endif // ENCODEMP4JOBGUI_H