8#ifndef POWERCOMBININGTOOL_H
9#define POWERCOMBININGTOOL_H
22#include <QRadioButton>
40#include "Recombinant3WayWilkinson.h"
46#define MULTISTAGE_WILKINSON 1
49#define DOUBLE_BOX_BRANCHLINE 4
53#define WILKINSON_3_WAY_IMPROVED_ISO 8
54#define RECOMBINANT_3_WAY_WILKINSON 9
76 virtual State
validate(QString& input,
int& )
const {
77 if (input.isEmpty()) {
82 int val = input.toInt(&b);
84 if ((b ==
true) && (val % 2 != 0)) {
104 void design() { UpdateDesignParameters(); }
112 void UpdateDesignParameters();
116 void on_TopoCombo_currentIndexChanged(
int);
119 void showDocumentation() {
120 QString path = QString(
"/RFCircuitSynthesis/PowerCombining/index.html");
125 QLabel *OhmLabel, *K1LabeldB, *NStagesLabel, *K1Label, *FreqLabel, *RefImp,
127 QLabel *AlphaLabel, *AlphadBLabel, *UnitsLabel;
130 QSpinBox* NStagesSpinbox;
131 QComboBox* BranchesCombo;
132 QLabel* number_Output_Label;
133 QComboBox *TopoCombo, *FreqScaleCombo, *UnitsCombo;
137 double getScaleFreq();
145 QLabel* TL_Implementation_Label;
146 QComboBox* TL_Implementation_Combo;
149 QValidator* Bagley_Validator;
152 QLabel* traceNameLabel;
153 QLineEdit* traceNameLineEdit;
159 void setSettings_Wilkinson();
162 void setSettings_MultistageWilkinson();
165 void setSettings_T_Junction();
168 void setSettings_Branchline();
171 void setSettings_DoubleBoxBranchline();
174 void setSettings_Bagley();
177 void setSettings_Gysel();
180 void setSettings_LimEom();
183 void setSettings_Wilkinson_3_Way_Improved_Isolation();
186 void setSettings_Recombinant_3_Way_Wilkinson();
189 void setSettings_Travelling_Wave();
192 void setSettings_Tree();
195 void setDefaultSettings();
198 void setSettings_Wye();
201 void setSettings_Delta();
204 void setSettings_Adams();
Delta resistive power splitter (definition)
Bagley power combiner/divider network (definition)
Branch-line power combiner/divider network (definition)
Custom QDoubleSpinBox. It includes a context menu (right-click) for setting the minimum,...
Delta resistive power splitter (definition)
Double-box branch-line power combiner/divider network (definition)
Gysel power combiner/divider network (definition)
Lim-Eom power combiner/divider network (definition)
Multistage Wilkinson power combiner/divider network (definition)
Abstract base class for network implementations.
Wilkinson power combiner/divider network (definition)
3-way Wilkinson with improved isolation network (definition)
Direct N-way Wye resistive power splitter (definition)
Validator for Bagley topology ensuring odd number of outputs.
Definition PowerCombiningTool.h:65
BagleyValidator(QObject *parent=0)
Constructor.
Definition PowerCombiningTool.h:70
virtual State validate(QString &input, int &) const
Validate input to ensure odd numbers only.
Definition PowerCombiningTool.h:76
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
Power combiner parameters.
Definition structures.h:264