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.
31 lines
648 B
C
31 lines
648 B
C
|
5 years ago
|
#ifndef QDETECTORDESIGNERMGR_H
|
||
|
|
#define QDETECTORDESIGNERMGR_H
|
||
|
|
|
||
|
|
#include ".\lpbengine.h"
|
||
|
|
#include ".\lpdesigner.h"
|
||
|
|
#include "qobject.h"
|
||
|
|
|
||
|
|
class QDetectorDesignerMgr : public QObject
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
public:
|
||
|
|
QDetectorDesignerMgr();
|
||
|
|
virtual ~QDetectorDesignerMgr();
|
||
|
|
bool Initialize(IDetectorEngine* lpDE);
|
||
|
|
void Quit();
|
||
|
|
IDetectorUI * GetDesignerInterface() const;
|
||
|
|
virtual void OnManualTrigger();
|
||
|
|
virtual void ResetItem(QPoint pos, QRect size){}
|
||
|
|
virtual void OnSetParam(IDetectorTask* pTask);
|
||
|
|
|
||
|
|
signals:
|
||
|
|
void sgCloseWindow();
|
||
|
|
private:
|
||
|
|
|
||
|
|
private:
|
||
|
|
QLibrary m_lib;
|
||
|
|
IDetectorUI *m_pDesigner;
|
||
|
|
IDetectorEngine *m_pDE;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // QDETECTORDESIGNERMGR_H
|