summaryrefslogtreecommitdiffstats
path: root/encodemp4jobgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'encodemp4jobgui.h')
-rw-r--r--encodemp4jobgui.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/encodemp4jobgui.h b/encodemp4jobgui.h
new file mode 100644
index 0000000..cd90d5c
--- /dev/null
+++ b/encodemp4jobgui.h
@@ -0,0 +1,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