21,480
社区成员
发帖
与我相关
我的任务
分享private slots:
void openCamera();
void readFrame(); // 读取当前帧信息
void takingPictures();
void closeCamera(); /*信号和槽*/
connect(timer, SIGNAL(timeout()), this, SLOT(readFrame())); // 时间到,读取当前摄像头信息
connect(ui->open, SIGNAL(clicked()), this, SLOT(openCamera()));
connect(ui->pic, SIGNAL(clicked()), this, SLOT(takingPictures()));
connect(ui->closeCam, SIGNAL(clicked()), this, SLOT(closeCamera()));