8#ifndef ATTENUATORDESIGNTOOL_H
9#define ATTENUATORDESIGNTOOL_H
20#include <QRadioButton>
30#include "QW_SeriesAttenuator.h"
35#include "TeeAttenuator.h"
38#define PI_ATTENUATOR 0
39#define TEE_ATTENUATOR 1
41#define REFLECTION_ATTENUATOR 3
44#define LPAD_1ST_SERIES 6
45#define LPAD_1ST_SHUNT 7
62 void design() { UpdateDesignParameters(); }
69 void UpdateDesignParameters();
72 void UpdatePowerDissipationData();
76 void on_TopoCombo_currentIndexChanged(
int);
79 void showDocumentation() {
80 QString path = QString(
"/RFCircuitSynthesis/Attenuators/index.html");
87 QLabel* Topology_Label;
88 QComboBox* Topology_Combo;
93 QLabel* Attenuation_Label;
101 QLabel* Ohm_Zin_Label;
108 QLabel* Ohm_Zout_Label;
116 QComboBox* Pin_units_Combo;
123 QComboBox* FreqScaleCombo;
128 QLabel* Pdiss_R1_Label;
129 QLineEdit* Pdiss_R1_Lineedit;
130 QComboBox* R1_Pdiss_Units_Combo;
132 QLabel* Pdiss_R2_Label;
133 QLineEdit* Pdiss_R2_Lineedit;
134 QComboBox* R2_Pdiss_Units_Combo;
136 QLabel* Pdiss_R3_Label;
137 QLineEdit* Pdiss_R3_Lineedit;
138 QComboBox* R3_Pdiss_Units_Combo;
140 QLabel* Pdiss_R4_Label;
141 QLineEdit* Pdiss_R4_Lineedit;
142 QComboBox* R4_Pdiss_Units_Combo;
151 double getPowerW(
double,
unsigned int);
156 double ConvertPowerFromW(
double,
unsigned int);
159 QLabel* TL_Implementation_Label;
160 QComboBox* TL_Implementation_Combo;
163 QLabel* traceNameLabel;
164 QLineEdit* traceNameLineEdit;
171 QMap<QString, double> Pdiss;
Bridged-Tee attenuator (definition)
Custom QDoubleSpinBox. It includes a context menu (right-click) for setting the minimum,...
L-pad (first series) 1-port matched attenuator (definition)
L-pad (first shunt) 1-port matched attenuator (definition)
Abstract base class for network implementations.
Pi attenuator synthesis (definition)
Quarter wavelength first-shunt attenuator synthesis (definition)
Series resistor (unmatched) attenuator synthesis (definition)
Reflection attenuator synthesis (definition)
Shunt resistor (unmatched) attenuator synthesi0s (definition)
A QDoubleSpinBox subclass that provides a context menu for configuring range and step.
Definition CustomDoubleSpinBox.h:28
Container for schematic circuit data.
Definition SchematicContent.h:27
Utility functions needed across the whole project.
void showHTMLDocs(QString path)
Show HTML documentation in the web browser.
Definition showHTMLDocs.cpp:17
Attenuator design parameters.
Definition structures.h:277