aboutsummaryrefslogtreecommitdiff
path: root/include/aoimage.h
blob: 70ff1fc0bd0c62e082cd9b6173245154fd703be1 (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

#ifndef AOIMAGE_H
#define AOIMAGE_H

#include "aoapplication.h"

#include <QDebug>
#include <QLabel>
#include <QMovie>

class AOImage : public QLabel {
public:
  AOImage(QWidget *parent, AOApplication *p_ao_app);
  ~AOImage();

  QWidget *m_parent;
  AOApplication *ao_app;
  QMovie *movie;

  QString path;

  bool set_image(QString p_image, QString p_misc = "");
  void set_size_and_pos(QString identifier);
};

#endif // AOIMAGE_H