-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkinectlab.h
57 lines (45 loc) · 1.05 KB
/
kinectlab.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QGridLayout>
#include <QMenu>
#include <QMenuBar>
#include <QLabel>
#include <QIcon>
#include <QAction>
#include <QCloseEvent>
#include "klcontroller.h"
#include "klctrlpanel.h"
#include "module/klmknft.h"
#include "module/klmsvmc.h"
class KinectLab : public QMainWindow
{
Q_OBJECT
public:
explicit KinectLab(QWidget *parent = 0);
~KinectLab();
public slots:
void loadModule();
void h_moduleSetTitle(const QString& string, int target);
void h_moduleSetUI(QWidget* widget, int target);
void setUI(QWidget* widget);
protected:
void closeEvent(QCloseEvent *event);
private:
/* functions */
void initUI();
/* members */
//ui components
QGridLayout* ui_mainLt;
QWidget* ui_mainWgt;
KLCtrlPanel* ui_ctrlPanel;
QWidget* ui_comWgt;
QMenu* ui_fileMenu;
QMenu* ui_moduleMenu;
QMenu* ui_aboutMenu;
QIcon ico_menuModule;
QAction* act_m_knft;
QAction* act_m_svmc;
KLMBase* m_module;
};
#endif // MAINWINDOW_H