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.
|
|
|
|
|
#ifndef _H_QCAMSETTINGDLG_H_
|
|
|
|
|
|
#define _H_QCAMSETTINGDLG_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
#include "ui_QCamSettingDlg.h"
|
|
|
|
|
|
#include "iCoreCtrl.h"
|
|
|
|
|
|
#include "RoiImgViewer.h"
|
|
|
|
|
|
#include <QImage>
|
|
|
|
|
|
|
|
|
|
|
|
class QCamSettingDlg : public QWidget
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
QCamSettingDlg(QWidget *parent = Q_NULLPTR);
|
|
|
|
|
|
~QCamSettingDlg();
|
|
|
|
|
|
void setCoreCtrlPtr(ICoreCtrl* ptr);
|
|
|
|
|
|
void onShowImage(QString serial, QImage img);
|
|
|
|
|
|
void onModCam(QString serial);//<2F><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD> Ԥ<><D4A4>
|
|
|
|
|
|
void onCamEvent(const QString& serial, emTpCameraStatus status, bool ret);
|
|
|
|
|
|
void onInitWidget(QString serial);//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
Q_SLOT void onButtonClicked();
|
|
|
|
|
|
|
|
|
|
|
|
void onShowVirtualDir(bool bShow);
|
|
|
|
|
|
void EnableUI(bool b);
|
|
|
|
|
|
private:
|
|
|
|
|
|
Ui::QCamSettingDlg ui;
|
|
|
|
|
|
ICoreCtrl* m_pCoreCtl{ nullptr };
|
|
|
|
|
|
|
|
|
|
|
|
RoiImgViewer* m_pImgViewer{ nullptr };
|
|
|
|
|
|
QString m_curCamKey;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|