You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
/*!
|
|
|
|
|
|
*FileName: QCameraConfigUI.h
|
|
|
|
|
|
*Author: Pan Yingdong
|
|
|
|
|
|
*Email: bob.pan@hzleaper.com
|
|
|
|
|
|
*Created:2021/4/8 10:56
|
|
|
|
|
|
*Note:<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>
|
|
|
|
|
|
*/
|
|
|
|
|
|
#ifndef _H_QCAMERACONFIGUI_H_
|
|
|
|
|
|
#define _H_QCAMERACONFIGUI_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
#include "ui_QCameraConfigUI.h"
|
|
|
|
|
|
typedef struct tagCamInfo
|
|
|
|
|
|
{
|
|
|
|
|
|
int nType{ 0 };
|
|
|
|
|
|
QString showName;
|
|
|
|
|
|
QString serialNo;
|
|
|
|
|
|
QString loadPath;
|
|
|
|
|
|
}CamInfo;
|
|
|
|
|
|
class QCameraConfigUI : public QDialog
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
QCameraConfigUI(QWidget *parent = Q_NULLPTR);
|
|
|
|
|
|
~QCameraConfigUI();
|
|
|
|
|
|
|
|
|
|
|
|
Q_SLOT void onButtonClicked();
|
|
|
|
|
|
tagCamInfo getNewCamInfo();
|
|
|
|
|
|
private:
|
|
|
|
|
|
Ui::QCameraConfigUI ui;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|