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
|