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.
whellvalue/tpvs17/tpMain/QCamSettingDlg.h

34 lines
651 B
C

5 years ago
#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) { m_pCoreCtl = ptr; };
void onShowImage(QImage img);
void onInitWidget();
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