aboutsummaryrefslogtreecommitdiff
path: root/include/aoimage.h
blob: 01ef85400d84b059cfa923b2ce4e56ab519ed9dc (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
// This class represents a static theme-dependent image

#ifndef AOIMAGE_H
#define AOIMAGE_H

#include "aoapplication.h"

#include <QDebug>
#include <QLabel>

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

  QWidget *m_parent;
  AOApplication *ao_app;

  bool set_image(QString p_image);
  bool set_chatbox(QString p_path);
  void set_size_and_pos(QString identifier);
};

#endif // AOIMAGE_H