summaryrefslogtreecommitdiffstats
path: root/encodemp4jobgui.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2009-09-26 22:25:02 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2009-09-26 22:25:02 -0400
commit2f0ace0e367489eb20a75a69c95d463fcb04830f (patch)
tree0d84316b9ecb04bc0becc8670e55bb7d946f33ab /encodemp4jobgui.h
parentMore HandBrake progress (diff)
downloadAnyRip-2f0ace0e367489eb20a75a69c95d463fcb04830f.tar.xz
AnyRip-2f0ace0e367489eb20a75a69c95d463fcb04830f.zip
More gui work and dvd loading.
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