23 lines
479 B
C++
23 lines
479 B
C++
#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;
|
|
};
|
|
|