8#ifndef SWR_S11_CALCULATOR_H
9#define SWR_S11_CALCULATOR_H
41 void computeResults();
44 void on_inputChanged();
47 void on_modeChanged(
int index);
50 void showDocumentation() {
51 QString path = QString(
"/Calculators/ReflectionCoefficientTools/index.html");
57 enum CalculationMode {
87 QGroupBox *inputGroup;
90 QFormLayout *inputForm;
95 QTableWidget *resultsTable;
100 void updateUIForMode();
105 double gammaFromVSWR(
double vswr)
const;
110 double vswrFromGamma(
double gamma)
const;
115 double s11dBFromGamma(
double gamma)
const;
120 double gammaFromS11dB(
double s11db)
const;
Custom QDoubleSpinBox. It includes a context menu (right-click) for setting the minimum,...
A QDoubleSpinBox subclass that provides a context menu for configuring range and step.
Definition CustomDoubleSpinBox.h:28
Dialog for bidirectional conversion between SWR, S11, and reflection coefficient magnitude.
Definition swr_s11_calculator.h:31
Utility functions needed across the whole project.
void showHTMLDocs(QString path)
Show HTML documentation in the web browser.
Definition showHTMLDocs.cpp:17