-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqtTest.h
48 lines (42 loc) · 1007 Bytes
/
qtTest.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
#pragma once
#include <gdal_priv.h>
#include <opencv2\opencv.hpp>
#include <opencv2\imgproc\imgproc.hpp>
#include <opencv2\core\core.hpp>
#include <opencv2\highgui\highgui.hpp>
#include <qlabel.h>
#include <iostream>
#include "ogrsf_frmts.h"
#include <QtWidgets/QMainWindow>
#include "ui_qtTest.h"
#include "yolo.h"
class Output;
class Yolo;
class qtTest : public QMainWindow
{
Q_OBJECT
public:
//friend class Yolo;
//friend class Output;
qtTest(QWidget *parent = Q_NULLPTR);
private:
QString imageInfo1;
QString imageInfo2;
QString imageInfo3;
QString imageInfo4, imageInfo5;
QLabel* label;
QLabel* label_2;
QLabel* label_3;
Ui::qtTestClass ui;
public:
QLabel* imgLabel;
//Mat image;
private slots:
void on_Progress_clicked();
//void getImagineInfo();
void on_OpenFig_clicked();
//按格式on_控件名_clicked命名函数,QT会默认完成函数和按钮动作的链接,如果不这样命名的话就去设置信号槽函数
void on_CnnFig_clicked();
//void on_CnnFigSave_clicked();
void on_CnnResult_clicked();
};