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};
|
|
|
|
|
2023-12-21 09:18:44 +00:00
|
|
|
Ptr<GridNode> mGridNode;
|
2022-11-17 17:33:48 +00:00
|
|
|
};
|