#ifndef _H_QCAMSETDLG_H_ #define _H_QCAMSETDLG_H_ #include #include "ui_QCamSetDlg.h" #include "iCoreCtrl.h" #include "cunstomgraphview.h" #include 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