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.

34 lines
616 B
C

#ifndef _H_QCAMSETDLG_H_
#define _H_QCAMSETDLG_H_
#include <QWidget>
#include "ui_QCamSetDlg.h"
#include "iCoreCtrl.h"
#include "cunstomgraphview.h"
#include <QCloseEvent>
class QCamSetDlg : public QWidget
{
Q_OBJECT
public:
QCamSetDlg(QWidget *parent = Q_NULLPTR);
~QCamSetDlg();
void setCamParam(ICoreCtrl* ptr, QString strCam);
Q_SLOT void onShowImage(QString strKey, QImage img);
Q_SLOT void onButtonClicked();
protected:
virtual void closeEvent(QCloseEvent *event);
private:
Ui::QCamSetDlg ui;
QTpGraphView *m_ViewImg{ nullptr };
QString m_curCamKey;
ICoreCtrl* m_pCorl{ nullptr };
};
#endif