mirror of
https://github.com/jankae/LibreVNA.git
synced 2025-12-06 07:12:10 +01:00
29 lines
596 B
C
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
|