stuff-from-scratch/apps/notes_tk/image_editor/ImageViewWidget.h
2023-12-21 09:18:44 +00:00

20 lines
303 B
C++

#pragma once
#include "Widget.h"
#include "GridNode.h"
class ImageViewWidget : public Widget
{
public:
ImageViewWidget();
virtual ~ImageViewWidget();
private:
void doPaint(const PaintEvent* event) override;
unsigned mNumX{5};
unsigned mNumY{5};
Ptr<GridNode> mGridNode;
};