aboutsummaryrefslogtreecommitdiff
path: root/src/aoimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/aoimage.h')
-rw-r--r--src/aoimage.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/aoimage.h b/src/aoimage.h
new file mode 100644
index 00000000..5b1fd68b
--- /dev/null
+++ b/src/aoimage.h
@@ -0,0 +1,27 @@
+// This class represents a static theme-dependent image
+
+#pragma once
+
+#include "aoapplication.h"
+
+#include <QDebug>
+#include <QLabel>
+#include <QMovie>
+
+class AOImage : public QLabel
+{
+ Q_OBJECT
+
+public:
+ AOImage(AOApplication *ao_app, QWidget *parent = nullptr);
+
+ QString image();
+
+ bool setImage(QString fileName, QString miscellaneous);
+ bool setImage(QString fileName);
+
+private:
+ AOApplication *ao_app;
+
+ QString m_file_name;
+};