From 6d629f1c908d46cf2b22473ecd0039a8029d8cde Mon Sep 17 00:00:00 2001 From: redsky17 Date: Wed, 30 Jan 2019 18:01:36 -0500 Subject: Add download button to ImageOverlay When opening images in the full-screen overlay, there is now a download button next to the close button. This button utilizes the same functionality as the right-click->save image button. --- src/dialogs/ImageOverlay.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dialogs/ImageOverlay.h') diff --git a/src/dialogs/ImageOverlay.h b/src/dialogs/ImageOverlay.h index b4d42acb..26257fc1 100644 --- a/src/dialogs/ImageOverlay.h +++ b/src/dialogs/ImageOverlay.h @@ -35,6 +35,7 @@ protected: signals: void closing(); + void saving(); private: QPixmap originalImage_; @@ -42,6 +43,7 @@ private: QRect content_; QRect close_button_; + QRect save_button_; QRect screen_; }; } // dialogs -- cgit 1.5.1