-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcameradialog.h
61 lines (42 loc) · 1.27 KB
/
cameradialog.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
#ifndef CAMERADIALOG_H
#define CAMERADIALOG_H
#include <QDialog>
#include <QThread>
#include "qtutk/qtutkclient.h"
#include "qtutk/qtutkavreadframethread.h"
#include "qtutk/qtutkavreadaudiodatathread.h"
#include "qtutk/qtutkavsendaudiofilethread.h"
namespace Ui {
class CameraDialog;
}
class CameraDialog : public QDialog
{
Q_OBJECT
QTutkClient tutkclient;
QTutkAVReadFrameThread tutkAVReadFrameThread;
QTutkAVReadAudioDataThread tutkAVReadAudioThread;
QTutkAVSendAudioFileThread tutkAVSendAudioFileThread;
public:
explicit CameraDialog(QWidget *parent = 0);
~CameraDialog();
private slots:
void on_btSelectTUTKID_clicked();
void on_btConnect_clicked();
void tutkConnectSuccess();
void tutkConnectClose();
void tutkConnectFail(QString mess);
void tutkIOCtrlMessage(int type, void *data, int dlen);
void tutkAVSendAudioFileExit();
void showImage(QImage image);
void on_btPlayVideo_clicked();
void on_btPlayAudio_clicked();
void on_btSendAudio_clicked();
void on_btHistoryDay_clicked();
void on_btHistoryHour_clicked();
void on_btHistoryMin_clicked();
void on_btHistoryFilePlay_clicked();
void on_btHistoryDTabs_clicked();
private:
Ui::CameraDialog *ui;
};
#endif // CAMERADIALOG_H