aboutsummaryrefslogtreecommitdiff
path: root/aomovie.h
diff options
context:
space:
mode:
Diffstat (limited to 'aomovie.h')
-rw-r--r--aomovie.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/aomovie.h b/aomovie.h
new file mode 100644
index 0000000..3aae8e5
--- /dev/null
+++ b/aomovie.h
@@ -0,0 +1,32 @@
+#ifndef AOMOVIE_H
+#define AOMOVIE_H
+
+#include <QLabel>
+#include <QMovie>
+
+class Courtroom;
+class AOApplication;
+
+class AOMovie : public QLabel
+{
+ Q_OBJECT
+
+public:
+ AOMovie(QWidget *p_parent, AOApplication *p_ao_app);
+
+ void play(QString p_gif);
+ void combo_resize(int w, int h);
+ void stop();
+
+private:
+ QMovie *m_movie;
+ AOApplication *ao_app;
+
+signals:
+ void done();
+
+private slots:
+ void frame_change(int n_frame);
+};
+
+#endif // AOMOVIE_H