forked from awthwathje/SteaScree
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlargefiledialog.h
More file actions
62 lines (42 loc) · 1.3 KB
/
Copy pathlargefiledialog.h
File metadata and controls
62 lines (42 loc) · 1.3 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef LARGEFILEDIALOG_H
#define LARGEFILEDIALOG_H
#include "screenshot.h"
#include <QDialog>
#include <QPushButton>
namespace Ui {
class LargeFileDialog;
}
class LargeFileDialog : public QDialog
{
Q_OBJECT
public:
explicit LargeFileDialog(QWidget *parent = 0);
~LargeFileDialog();
protected:
void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
private:
Ui::LargeFileDialog *ui;
QStringList currentScreenshot;
QImage currentImage;
QList<quint32> currentGeometry;
QList<Screenshot> screenshotListWithDecisions;
qint32 currentIndex;
QString steamMaxSideSize;
QString steamMaxResolution;
void prepareWindow(QPoint center);
void processDecision(quint32 decision, bool all);
void updateInfoInWindow(Screenshot screenshot);
signals:
void sendButtonList(QList<QPushButton*> buttonList);
void returnScreenshotListWithDecisions(QList<Screenshot>);
public slots:
void getDecisions(QList<Screenshot> screenshotList, QPoint center, QStringList steamLimits);
private slots:
void on_pushButton_resize_clicked();
void on_pushButton_resizeAll_clicked();
void on_pushButton_skip_clicked();
void on_pushButton_skipAll_clicked();
void on_pushButton_try_clicked();
void on_pushButton_tryAll_clicked();
};
#endif // LARGEFILEDIALOG_H