
Indentation fixed to 2 spaces per tab. Braces set to Stroustrup style. Lines reflow at 80 characters. One-line method bodies are on the same line as the signature. Space always after `//`. No indentation on preprocessor macros. Includes are sorted lexicographically. If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
25 lines
462 B
C++
25 lines
462 B
C++
// 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;
|
|
|
|
void set_image(QString p_image);
|
|
void set_image_from_path(QString p_path);
|
|
void set_size_and_pos(QString identifier);
|
|
};
|
|
|
|
#endif // AOIMAGE_H
|