blob: 5b1fd68b963b6a9418c0e0f964f9eea77a947fbc (
plain)
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
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;
};
|