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.
45 lines
715 B
C++
45 lines
715 B
C++
#ifndef DSGALGODLG_H
|
|
#define DSGALGODLG_H
|
|
|
|
#include <QtCore>
|
|
#include <QtWidgets/QDialog>
|
|
#include <QtWidgets/QMessageBox>
|
|
#include "lpbengine.h"
|
|
|
|
namespace Ui {
|
|
class AlgoDlg;
|
|
}
|
|
|
|
class CDsgAlgoDlg : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
CDsgAlgoDlg(QWidget *parent = 0);
|
|
~CDsgAlgoDlg(){
|
|
if (ui){
|
|
delete ui;
|
|
ui = NULL;
|
|
}
|
|
}
|
|
bool Initialize(IDetectorEngine* lpDE, IDetectorTask* lpTask);
|
|
IDetectorAlgorithm* ShowAlgoDlg(IDetectorAlgorithm* pAlgo);
|
|
bool InitGraphView();
|
|
void CleanUp();
|
|
|
|
signals:
|
|
|
|
public slots :
|
|
bool OnOk();
|
|
bool OnCancel();
|
|
bool OnSelectAlgo();
|
|
private:
|
|
Ui::AlgoDlg *ui;
|
|
|
|
IDetectorEngine* m_pDE;
|
|
IDetectorTask* m_pTask;
|
|
|
|
private:
|
|
bool m_bAlgoChanged;
|
|
};
|
|
|
|
#endif // DSGALGODLG_H
|