Fix linux compilation.
This commit is contained in:
parent
ec57e3b534
commit
990cde402b
28 changed files with 245 additions and 161 deletions
|
@ -23,6 +23,11 @@ ImageEditorView::ImageEditorView()
|
|||
addWidget(std::move(hSpacer));
|
||||
}
|
||||
|
||||
ImageEditorView::~ImageEditorView()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
std::unique_ptr<ImageEditorView> ImageEditorView::Create()
|
||||
{
|
||||
return std::make_unique<ImageEditorView>();
|
||||
|
|
|
@ -8,6 +8,8 @@ public:
|
|||
|
||||
ImageEditorView();
|
||||
|
||||
virtual ~ImageEditorView();
|
||||
|
||||
static std::unique_ptr<ImageEditorView> Create();
|
||||
};
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@ ImageViewWidget::ImageViewWidget()
|
|||
mName = "ImageViewWidget";
|
||||
}
|
||||
|
||||
ImageViewWidget::~ImageViewWidget()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ImageViewWidget::doPaint(const PaintEvent* event)
|
||||
{
|
||||
if (!mVisible)
|
||||
|
|
|
@ -9,6 +9,8 @@ class ImageViewWidget : public Widget
|
|||
public:
|
||||
ImageViewWidget();
|
||||
|
||||
virtual ~ImageViewWidget();
|
||||
|
||||
private:
|
||||
void doPaint(const PaintEvent* event) override;
|
||||
unsigned mNumX{5};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue