-
Notifications
You must be signed in to change notification settings - Fork 0
/
massmain.h
executable file
·55 lines (47 loc) · 1.03 KB
/
massmain.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
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef MASSMAIN_H
#define MASSMAIN_H
#include <QMainWindow>
#include <QDrag>
#include <QDropEvent>
#include <QDragEnterEvent>
#include <QListWidgetItem>
#include <QDropEvent>
#include <QMimeData>
#include "core.h"
namespace Ui {
class MassMain;
}
class MassMain : public QMainWindow
{
Q_OBJECT
public:
void keyPressEvent(QKeyEvent *k);
void addToList(QString where);
explicit MassMain(QWidget *parent = 0);
void dragEnterEvent(QDragEnterEvent *event);
void dropEvent(QDropEvent *event);
QList <MPImage*> *listOfElements;
MPImage *imagePointer;
~MassMain();
private:
QTranslator trans;
int quality=-1;
QString format;
Ui::MassMain *ui;
public slots:
void reset();
void changeQuality(int dec);
void stopThem();
void changeFormat();
void updateList();
void loadFile();
void loadDir();
void clearList();
void go();
void settings();
void one(QListWidgetItem* item);
void oneRemove();
void aboutQt();
void about();
};
#endif // MASSMAIN_H