oops, missed includes
This commit is contained in:
parent
202ad49aff
commit
19570aaf38
@ -28,6 +28,8 @@ class ImageOverlayDialog : public QDialog
|
|||||||
public:
|
public:
|
||||||
ImageOverlayDialog(QPixmap image, QWidget *parent = nullptr);
|
ImageOverlayDialog(QPixmap image, QWidget *parent = nullptr);
|
||||||
|
|
||||||
|
void reject() override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void mousePressEvent(QMouseEvent *event) override;
|
void mousePressEvent(QMouseEvent *event) override;
|
||||||
void paintEvent(QPaintEvent *event) override;
|
void paintEvent(QPaintEvent *event) override;
|
||||||
@ -41,6 +43,7 @@ private slots:
|
|||||||
private:
|
private:
|
||||||
void scaleImage(int width, int height);
|
void scaleImage(int width, int height);
|
||||||
|
|
||||||
|
QPixmap originalImage_;
|
||||||
QPixmap image_;
|
QPixmap image_;
|
||||||
|
|
||||||
QRect content_;
|
QRect content_;
|
||||||
|
Loading…
Reference in New Issue
Block a user