資源簡介
使用qt結合opencv做的圖像采集程序代碼[咳咳,資源描述湊字數]

代碼片段和文件信息
#include?“CfgDlg.h“
#include?“ui_CfgDlg.h“
#include?“ImgShow.h“
CfgDlg::CfgDlg(QWidget?*parent)?:
????QDialog(parent)
????ui(new?Ui::CfgDlg)
{
????ui->setupUi(this);
}
CfgDlg::~CfgDlg()
{
????delete?ui;
}
void?CfgDlg::on_okBtn_clicked()
{
????ImgShow?*imgShow?=?new?ImgShow;
????imgShow->show();
????close();?//?關閉本窗口
#ifdef?LOCAL_MECHINE
????frameCoThread?*localThread?=?new?frameCoThread(CAPLOCAL);
????localThread->setDisplayWidget(imgShow->getShowLabel(CAPLOCAL));
????localThread->start();
#endif
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????546??2019-01-27?09:49??CfgDlg.cpp
?????文件?????????410??2019-01-27?09:31??CfgDlg.h
?????文件????????2420??2019-01-27?08:50??CfgDlg.ui
?????文件?????????405??2019-01-27?09:44??CommDef.h
?????文件????????1486??2019-01-27?11:20??fr
?????文件????????1047??2019-01-27?10:57??fr
?????文件?????????789??2019-01-27?09:51??ImgShow.cpp
?????文件?????????357??2019-01-27?09:38??ImgShow.h
?????文件????????1611??2019-01-27?09:15??ImgShow.ui
?????文件?????????177??2019-01-27?08:51??main.cpp
?????文件????????1506??2019-01-27?09:43??VideoCapturefr
- 上一篇:QAnimationStackedWidget
- 下一篇:MCP2515源程序
評論
共有 條評論