﻿#pragma once

#include "AllHead.h"
#include <QWidget>
#include "ui_QtFreqParamsSetting.h"

class QtFreqParamsSetting : public QWidget, public FEKOBase::FEKOSimulationDataparamsHandler
{
	Q_OBJECT

public:
	FEKOBase::freqParams freqParams; // ���ǲ���

public:
	QtFreqParamsSetting(QWidget*parent = nullptr);
	~QtFreqParamsSetting();

	void CalcFreqParams();
	FEKOBase::freqParams getParams();
signals:
	void OKClick( );
	void refRangleChanged(double refRangle);

public slots:
	void on_pushButton_OK_clicked();

public slots:
	void on_lineEdit_centerfreq_returnPressed();
	void on_lineEdit_bandwidth_returnPressed();
	void on_lineEdit_Resolution_returnPressed();
	void on_lineEdit_SenceRange_returnPressed();
	
public slots:
	void FEKOSimulationDataparamsChanged_slots();
public:
	void bandingsetFEKOSimulationDataparams() override;

private:
	Ui::QtFreqParamsSettingClass ui;
};









