-
Notifications
You must be signed in to change notification settings - Fork 1
/
imageprocessor.h
executable file
·62 lines (50 loc) · 1.49 KB
/
imageprocessor.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
56
57
58
59
60
61
62
#ifndef IMAGEPROCESSOR_H
#define IMAGEPROCESSOR_H
#include <QtGui/QMainWindow>
#include <QMenu>
#include <QMenuBar>
#include <QToolBar>
#include <QAction>
#include "centralwidget.h"
#include "scanwidget.h"
class ImageProcessor : public QMainWindow
{
Q_OBJECT
public:
ImageProcessor(QWidget *parent = 0);
~ImageProcessor();
void createMenus(); //create menus
void createActions(); //create actions
void createTools(); //create tools bar
protected slots:
void imageTabelClicked();
void addImage();
void addMusic();
void resumeWindow();
void exitWindow();
void deleteImage();
void deleteMusic();
void scanEffect();
void showAbout();
private:
QMenu *fileMenus; //menus
QMenu *actionMenus;
QMenu *aboutMenu;
CentralWidget *centralWidget; //central widget
ScanWidget *scanWidget; //scan the slider widget
QString imageName;
QString musicName;
QToolBar *imageTools; //tool bar
QToolBar *musicTools;
QToolBar *actionTools;
QToolBar *otherTools;
QAction *addImageAction; //actions
QAction *deleteImageAction;
QAction *addMusicAction;
QAction *deleteMusicAction;
QAction *exitAction;
QAction *resumeAction;
QAction *scanAction;
QAction *aboutAction;
};
#endif // IMAGEPROCESSOR_H