mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-08 07:53:40 +00:00
Selectable reference impedance
This commit is contained in:
parent
d526270fd2
commit
cece0080ed
12 changed files with 46 additions and 16 deletions
|
|
@ -3,17 +3,18 @@
|
|||
#include "ui_impedancematchdialog.h"
|
||||
#include "Tools/eseries.h"
|
||||
#include "Util/util.h"
|
||||
#include "preferences.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
constexpr double ImpedanceMatchDialog::Z0;
|
||||
|
||||
ImpedanceMatchDialog::ImpedanceMatchDialog(MarkerModel &model, Marker *marker, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::ImpedanceMatchDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
Z0 = Preferences::getInstance().Acquisition.refImp;
|
||||
|
||||
// set SI units and prefixes
|
||||
ui->zReal->setUnit("Ohm");
|
||||
ui->zImag->setUnit("Ohm");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue