stuff-from-scratch/apps/notes_tk/image_editor/ImageViewWidget.h

21 lines
315 B
C
Raw Normal View History

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;
};