26 lines
461 B
C++
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
|