atrooney-online-2/aoimage.h
Cerapter d314b8dd07 Moved includes out of the CPP files into the header files.
Reimplementation of `30a87d23c9c63bed072b3460e7482075dc530b2c` from the
old origin.
2018-08-19 09:37:34 +02:00

26 lines
461 B
C++

//This class represents a static theme-dependent image
#ifndef AOIMAGE_H
#define AOIMAGE_H
#include "aoapplication.h"
#include <QLabel>
#include <QDebug>
class AOImage : public QLabel
{
public:
AOImage(QWidget *parent, AOApplication *p_ao_app);
~AOImage();
QWidget *m_parent;
AOApplication *ao_app;
void set_image(QString p_image);
void set_image_from_path(QString p_path);
void set_size_and_pos(QString identifier);
};
#endif // AOIMAGE_H