-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathQvkWebcam.h
69 lines (49 loc) · 1.3 KB
/
QvkWebcam.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
63
64
65
66
67
68
69
#ifndef QvkWebcam_H
#define QvkWebcam_H
#include <QDialog>
#include <QProcess>
#include <QWidget>
#include <QCheckBox>
#include <QComboBox>
#include <QLabel>
#include <QPushButton>
class QvkWebcam : public QDialog
{
Q_OBJECT
public:
QvkWebcam( QCheckBox *widget, QPushButton *webcamDialogPushButton );
virtual ~QvkWebcam();
QStringList deviceList;
QCheckBox *myWidget;
QProcess *ProcessCammera1;
QProcess *ProcessCammera2;
QProcess *ProcessCammera3;
QLabel *label1;
QLabel *label2;
QLabel *label3;
QCheckBox *webcam1QCheckBox;
QCheckBox *webcam2QCheckBox;
QCheckBox *webcam3QCheckBox;
QComboBox *webcam1QComboBox;
QComboBox *webcam2QComboBox;
QComboBox *webcam3QComboBox;
public slots:
void startWebcam();
void startWebcam1();
void startWebcam2();
void startWebcam3();
void stopWebcam();
void showWebcamDialog();
void myfileSystemWatcher( const QString & path );
QStringList resolution( QString device);
void stateChanged1( QProcess::ProcessState newState );
void stateChanged2( QProcess::ProcessState newState );
void stateChanged3( QProcess::ProcessState newState );
void reStartWebcam1( int );
void reStartWebcam2( int );
void reStartWebcam3( int );
protected:
private:
QPushButton * myWebcamDialogPushButton;
};
#endif