#pragma once #include #include 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; };