53 lines
1.1 KiB
C
Raw Permalink Normal View History

#ifndef DIALOGALGOCONFIG_H
#define DIALOGALGOCONFIG_H
#include <QDialog>
#include "channelSpaceMeasure_Export.h"
// 前置声明
class TunnelChannelPresenter;
namespace Ui {
class DialogAlgoConfig;
}
/**
* @brief
*
*
* -
* -
* -
* -
*/
class DialogAlgoConfig : public QDialog
{
Q_OBJECT
public:
/**
* @brief
* @param presenter
* @param parent
*/
explicit DialogAlgoConfig(TunnelChannelPresenter* presenter, QWidget *parent = nullptr);
~DialogAlgoConfig();
private slots:
void onBtnApplyClicked();
void onBtnCancelClicked();
private:
// 加载参数到界面
void loadParameters();
// 从界面保存参数
bool saveParameters();
private:
Ui::DialogAlgoConfig* ui = nullptr;
TunnelChannelPresenter* m_presenter = nullptr;
};
#endif // DIALOGALGOCONFIG_H