8#ifndef POWERCOMBININGTOOL_H
9#define POWERCOMBININGTOOL_H
22#include <QRadioButton>
40#include "Recombinant3WayWilkinson.h"
44#define MULTISTAGE_WILKINSON 1
47#define DOUBLE_BOX_BRANCHLINE 4
51#define WILKINSON_3_WAY_IMPROVED_ISO 8
52#define RECOMBINANT_3_WAY_WILKINSON 9
53#define TRAVELLING_WAVE 10
70 virtual State
validate(QString& input,
int& )
const {
71 if (input.isEmpty()) {
76 int val = input.toInt(&b);
78 if ((b ==
true) && (val % 2 != 0)) {
98 void design() { UpdateDesignParameters(); }
106 void UpdateDesignParameters();
110 void on_TopoCombo_currentIndexChanged(
int);
113 void showDocumentation() {
114 QString path = QString(
"/RFCircuitSynthesis/PowerCombining/index.html");
119 QLabel *OhmLabel, *K1LabeldB, *NStagesLabel, *K1Label, *FreqLabel, *RefImp,
121 QLabel *AlphaLabel, *AlphadBLabel, *UnitsLabel;
124 QSpinBox* NStagesSpinbox;
125 QComboBox* BranchesCombo;
126 QLabel* number_Output_Label;
127 QComboBox *TopoCombo, *FreqScaleCombo, *UnitsCombo;
131 double getScaleFreq();
139 QLabel* TL_Implementation_Label;
140 QComboBox* TL_Implementation_Combo;
143 QValidator* Bagley_Validator;
146 QLabel* traceNameLabel;
147 QLineEdit* traceNameLineEdit;
153 void setSettings_Wilkinson();
156 void setSettings_MultistageWilkinson();
159 void setSettings_T_Junction();
162 void setSettings_Branchline();
165 void setSettings_DoubleBoxBranchline();
168 void setSettings_Bagley();
171 void setSettings_Gysel();
174 void setSettings_LimEom();
177 void setSettings_Wilkinson_3_Way_Improved_Isolation();
180 void setSettings_Recombinant_3_Way_Wilkinson();
183 void setSettings_Travelling_Wave();
186 void setSettings_Tree();
189 void setDefaultSettings();
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,...
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)
Validator for Bagley topology ensuring odd number of outputs.
Definition PowerCombiningTool.h:59
BagleyValidator(QObject *parent=0)
Constructor.
Definition PowerCombiningTool.h:64
virtual State validate(QString &input, int &) const
Validate input to ensure odd numbers only.
Definition PowerCombiningTool.h:70
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:261