summaryrefslogtreecommitdiffstats
path: root/encodemp4jobgui.h
blob: 24646fe26d76b258efd916058db388115a37759d (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 <QGroupBox>
#include <QTime>
class QLabel;
class QProgressBar;
class EncodeMP4Job;

class EncodeMP4JobGui : public QGroupBox
{
	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