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: QCameraMgrUI.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_QCAMERAMGRUI_H_
|
|
|
|
|
|
#define _H_QCAMERAMGRUI_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
#include "ui_QCameraMgrUI.h"
|
|
|
|
|
|
#include <QStandardItem>
|
|
|
|
|
|
#include <QStandardItemModel>
|
|
|
|
|
|
#include "iCoreCtrl.h"
|
|
|
|
|
|
#include "QCameraConfigUI.h"
|
|
|
|
|
|
#include "QCamSettingDlg.h"
|
|
|
|
|
|
|
|
|
|
|
|
/*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3> չʾ<D5B9><CABE><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>*/
|
|
|
|
|
|
class QCameraMgrUI : public QWidget
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
QCameraMgrUI(QWidget *parent = Q_NULLPTR);
|
|
|
|
|
|
~QCameraMgrUI();
|
|
|
|
|
|
|
|
|
|
|
|
void onInitCamInfo(ICoreCtrl* pCtrl);
|
|
|
|
|
|
|
|
|
|
|
|
Q_SLOT void onButtonClicked();
|
|
|
|
|
|
void onUpdateTableView();
|
|
|
|
|
|
Q_SLOT void onDoubleClicked(const QModelIndex &index);
|
|
|
|
|
|
Q_SLOT void onShowImage(QString serial, QImage img);
|
|
|
|
|
|
protected:
|
|
|
|
|
|
virtual void changeEvent(QEvent *evt);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
Ui::QCameraMgrUI ui;
|
|
|
|
|
|
QStandardItemModel m_tableModel;
|
|
|
|
|
|
|
|
|
|
|
|
ICoreCtrl *m_pCorctl{ nullptr };
|
|
|
|
|
|
QCamSettingDlg *m_pCamSetUI{ nullptr };
|
|
|
|
|
|
QCameraConfigUI *m_pCamConfigUI{ nullptr };
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|