feature/test #9

Merged
njohnson merged 318 commits from feature/test into main 2025-09-07 12:35:21 -04:00
Showing only changes of commit 12806268d4 - Show all commits

View File

@ -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