-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmainwindow.h
More file actions
37 lines (28 loc) · 777 Bytes
/
Copy pathmainwindow.h
File metadata and controls
37 lines (28 loc) · 777 Bytes
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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QMap>
#include "cip_protocol.h"
#include "cloudwaredialog.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
QMap<int, CloudwareDialog*> windows;
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
void mousePressEvent(QMouseEvent *e);
void mouseMoveEvent(QMouseEvent *e);
public slots:
void windowCreate(cip_event_window_create_t *ev);
void windowDestroy(cip_event_window_destroy_t *ev);
void windowShow(cip_event_window_show_t *ev);
void windowHide(cip_event_window_hide_t *ev);
void renderFrame(cip_event_window_frame_t *ev, char *data);
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H