-
Notifications
You must be signed in to change notification settings - Fork 0
/
UavGui.h
63 lines (42 loc) · 900 Bytes
/
UavGui.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 BUOYGUI_H
#define BUOYGUI_H
#endif // BUOYGUI_H
#include <QDialog>
#include <QComboBox>
using namespace std;
/*typedef struct filters{
char imgThresh;
char cannySrc; //'R'/'G'/'B'/'F'
char HSV;
bool canny;
bool do_canny_r;
bool do_canny_g;
bool do_canny_b;
bool do_split_rgb;
bool createCam;
};
*/
class QCheckBox;
class QLabel;
class QPushButton;
class BuoyGui:public QDialog{
Q_OBJECT
public:
BuoyGui(QWidget*parent=0);
void updateQImage(QImage*,QImage*);
// filters* myFilter;
// void settingsSetter(filters*);
private slots:
void cannyChecked();
private:
QLabel *imgLabel;
QLabel *imgSrc;
QPushButton *close;
QCheckBox *canny;
QCheckBox *check_split_rgb;
QCheckBox *check_canny_r;
QCheckBox *check_canny_g;
QCheckBox *check_canny_b;
QComboBox *cannys;
QImage qimg;
};