2020-08-31 04:03:41 +08:00
|
|
|
#ifndef IMPEDANCEMATCHDIALOG_H
|
|
|
|
#define IMPEDANCEMATCHDIALOG_H
|
|
|
|
|
2021-06-19 21:33:43 +08:00
|
|
|
#include "Traces/Marker/markermodel.h"
|
2020-08-31 04:03:41 +08:00
|
|
|
|
2021-10-21 19:00:34 +08:00
|
|
|
#include <QDialog>
|
|
|
|
|
2020-08-31 04:03:41 +08:00
|
|
|
namespace Ui {
|
|
|
|
class ImpedanceMatchDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ImpedanceMatchDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-06-19 21:33:43 +08:00
|
|
|
explicit ImpedanceMatchDialog(MarkerModel &model, Marker *marker = nullptr, QWidget *parent = nullptr);
|
2020-08-31 04:03:41 +08:00
|
|
|
~ImpedanceMatchDialog();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_cSource_currentIndexChanged(int index);
|
|
|
|
void calculateMatch();
|
|
|
|
|
|
|
|
private:
|
2022-03-15 22:26:02 +08:00
|
|
|
double Z0;
|
2020-08-31 04:03:41 +08:00
|
|
|
Ui::ImpedanceMatchDialog *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // IMPEDANCEMATCHDIALOG_H
|