aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-screenshot/MainUI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot/MainUI.h')
-rw-r--r--src-qt5/desktop-utils/lumina-screenshot/MainUI.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/MainUI.h b/src-qt5/desktop-utils/lumina-screenshot/MainUI.h
index 853fb194..bb1b61df 100644
--- a/src-qt5/desktop-utils/lumina-screenshot/MainUI.h
+++ b/src-qt5/desktop-utils/lumina-screenshot/MainUI.h
@@ -20,7 +20,7 @@
#include <QScreen>
#include <LuminaXDG.h>
-#include <LuminaUtils.h>
+#include <LUtils.h>
#include <LuminaX11.h>
#include "ImageEditor.h"
@@ -46,9 +46,13 @@ private:
WId cwin; //current window to screenshot
QSettings *settings;
LXCB *XCB; //Library access to window subsystems
+ QTimer *scaleTimer;
//Image Editor widget
ImageEditor *IMG;
+ QDateTime lastScreenShot;
+
+ void showSaveError(QString path);
private slots:
//Button Slots
@@ -61,6 +65,9 @@ private slots:
void startScreenshot();
void imgselchanged(bool hassel);
+ void imgScalingChanged(int percent = -1);
+ void sliderChanged();
+
//Utility functions to perform a screenshot
bool getWindow(); //set the "cwin" variable as appropriate
void getPixmap(); //set the "cpic" variable to the new screenshot
bgstack15