LibreVNA/Software/PC_Application/Tools/impedancematchdialog.h
2020-08-30 22:03:41 +02:00

29 lines
596 B
C++

#ifndef IMPEDANCEMATCHDIALOG_H
#define IMPEDANCEMATCHDIALOG_H
#include <QDialog>
#include "Traces/tracemarkermodel.h"
namespace Ui {
class ImpedanceMatchDialog;
}
class ImpedanceMatchDialog : public QDialog
{
Q_OBJECT
public:
explicit ImpedanceMatchDialog(TraceMarkerModel &model, TraceMarker *marker = nullptr, QWidget *parent = nullptr);
~ImpedanceMatchDialog();
private slots:
void on_cSource_currentIndexChanged(int index);
void calculateMatch();
private:
static constexpr double Z0 = 50.0;
Ui::ImpedanceMatchDialog *ui;
};
#endif // IMPEDANCEMATCHDIALOG_H