Update app/imagewidget.h
This commit is contained in:
parent
39d37640cc
commit
12806268d4
@ -1,31 +1,31 @@
|
|||||||
#ifndef IMAGEWIDGET_H
|
#ifndef IMAGEWIDGET_H
|
||||||
#define IMAGEWIDGET_H
|
#define IMAGEWIDGET_H
|
||||||
|
|
||||||
#include "enums.h"
|
#include "enums.h"
|
||||||
#include "dds_structs.h"
|
#include "dds_structs.h"
|
||||||
#include "d3dbsp_structs.h"
|
#include "d3dbsp_structs.h"
|
||||||
#include "ipak_structs.h"
|
#include "ipak_structs.h"
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class ImageWidget;
|
class ImageWidget;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ImageWidget : public QWidget
|
class ImageWidget : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ImageWidget(QWidget *parent = nullptr);
|
explicit ImageWidget(QWidget *parent = nullptr);
|
||||||
~ImageWidget();
|
~ImageWidget();
|
||||||
|
|
||||||
void SetImage(std::shared_ptr<QImage> aImage);
|
void SetImage(std::shared_ptr<QImage> aImage);
|
||||||
std::shared_ptr<QImage> GetImage();
|
std::shared_ptr<QImage> GetImage();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<QImage> mImage;
|
std::shared_ptr<QImage> mImage;
|
||||||
Ui::ImageWidget *ui;
|
Ui::ImageWidget *ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // IMAGEWIDGET_H
|
#endif // IMAGEWIDGET_H
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user