-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathimageResizer.h
42 lines (34 loc) · 982 Bytes
/
imageResizer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: imageResizer.h
* Author: javi
*
* Created on 4 de octubre de 2017, 18:52
*/
#ifndef _IMAGERESIZER_H
#define _IMAGERESIZER_H
#include "ui_imageResizer.h"
class imageResizer : public QDialog {
Q_OBJECT
public:
imageResizer();
virtual ~imageResizer();
public slots:
private slots:
void setDir(void);
void scaleImages(void);
void goReady(bool ready);
void setScaleLabel(void);
void getInfo(QString path);
QString getUnits(int size);
void signalConnections(void);
QImage changeSize(QString &imageFileName, QString sourcePath, QString finalPath);
void setInfoLabels(QString dirNum, QString fileNum, QString oriSize, QString finalSize, QString oriSizeUnits);
private:
Ui::imageResizer widget;
};
#endif /* _IMAGERESIZER_H */