新增模型补全空洞
This commit is contained in:
22
client/gui/dialogs/InpaintPreviewDialog.h
Normal file
22
client/gui/dialogs/InpaintPreviewDialog.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QImage>
|
||||
|
||||
class QLabel;
|
||||
class QScrollArea;
|
||||
|
||||
class InpaintPreviewDialog final : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit InpaintPreviewDialog(const QString& title, QWidget* parent = nullptr);
|
||||
|
||||
void setImages(const QImage& before, const QImage& after);
|
||||
|
||||
private:
|
||||
QLabel* m_beforeLabel = nullptr;
|
||||
QLabel* m_afterLabel = nullptr;
|
||||
QScrollArea* m_beforeScroll = nullptr;
|
||||
QScrollArea* m_afterScroll = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user