2022-11-17 17:33:48 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Widget.h"
|
|
|
|
|
|
|
|
#include "GridNode.h"
|
|
|
|
|
|
|
|
class ImageViewWidget : public Widget
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ImageViewWidget();
|
|
|
|
|
2023-01-23 10:08:29 +00:00
|
|
|
virtual ~ImageViewWidget();
|
|
|
|
|
2022-11-17 17:33:48 +00:00
|
|
|
private:
|
|
|
|
void doPaint(const PaintEvent* event) override;
|
|
|
|
unsigned mNumX{5};
|
|
|
|
unsigned mNumY{5};
|
|
|
|
|
|
|
|
std::unique_ptr<GridNode> mGridNode;
|
|
|
|
};
|