KiCad PCB EDA Suite
PANEL_TRANSLINE Class Reference

#include <panel_transline.h>

Inheritance diagram for PANEL_TRANSLINE:
PANEL_TRANSLINE_BASE CALCULATOR_PANEL

Public Member Functions

 PANEL_TRANSLINE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_TRANSLINE ()
 
void LoadSettings (PCB_CALCULATOR_SETTINGS *aCfg) override
 Load the settings into the panel. More...
 
void SaveSettings (PCB_CALCULATOR_SETTINGS *aCfg) override
 Save the settings from the panel. More...
 
void ThemeChanged () override
 Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme. More...
 
wxRadioBox * GetTranslineSelector ()
 
TRANSLINE_TYPE_ID GetCurrTransLineType ()
 
void SetPrmValue (enum PRMS_ID aPrmId, double aValue)
 Read/write params values and results. More...
 
void SetResult (int aLineNumber, const wxString &aText)
 Put the text into the given result line. More...
 
void SetPrmBgColor (enum PRMS_ID aPrmId, const KIGFX::COLOR4D *aCol)
 Set the background color of a parameter. More...
 
double GetPrmValue (enum PRMS_ID aPrmId) const
 Return a param value. More...
 
bool IsPrmSelected (enum PRMS_ID aPrmId) const
 Function IsPrmSelected. More...
 
void OnTranslineSelection (wxCommandEvent &event) override
 Called on new transmission line selection. More...
 
void OnTransLineResetButtonClick (wxCommandEvent &event) override
 Called when the user clicks the reset button; sets the parameters to their default values. More...
 
void OnTranslineAnalyse (wxCommandEvent &event) override
 Run a new analyze for the current transline with current parameters and displays the electrical parameters. More...
 
void OnTranslineSynthetize (wxCommandEvent &event) override
 Run a new synthesis for the current transline with current parameters and displays the geometrical parameters. More...
 
void OnTranslineEpsilonR_Button (wxCommandEvent &event) override
 Shows a list of current relative dielectric constant(Er) and set the selected value in main dialog frame. More...
 
void OnTranslineTanD_Button (wxCommandEvent &event) override
 Show a list of current dielectric loss factor (tangent delta) and set the selected value in main dialog frame. More...
 
void OnTranslineRho_Button (wxCommandEvent &event) override
 Show a list of current Specific resistance list (rho) and set the selected value in main dialog frame. More...
 
void TranslineTypeSelection (enum TRANSLINE_TYPE_ID aType)
 Must be called after selection of a new transline. More...
 
void TransfDlgDataToTranslineParams ()
 Read values entered in dialog frame, and transfer these values in current transline parameters, converted in normalized units. More...
 

Protected Attributes

wxRadioBox * m_TranslineSelection
 
wxStaticBitmap * m_translineBitmap
 
wxStaticText * m_EpsilonR_label
 
wxTextCtrl * m_Value_EpsilonR
 
wxButton * m_button_EpsilonR
 
wxStaticText * m_TanD_label
 
wxTextCtrl * m_Value_TanD
 
wxButton * m_button_TanD
 
wxStaticText * m_Rho_label
 
wxTextCtrl * m_Value_Rho
 
wxButton * m_button_Rho
 
wxStaticText * m_substrate_prm4_label
 
wxTextCtrl * m_Substrate_prm4_Value
 
UNIT_SELECTOR_LENm_SubsPrm4_choiceUnit
 
wxStaticText * m_substrate_prm5_label
 
wxTextCtrl * m_Substrate_prm5_Value
 
UNIT_SELECTOR_LENm_SubsPrm5_choiceUnit
 
wxStaticText * m_substrate_prm6_label
 
wxTextCtrl * m_Substrate_prm6_Value
 
UNIT_SELECTOR_LENm_SubsPrm6_choiceUnit
 
wxStaticText * m_substrate_prm7_label
 
wxTextCtrl * m_Substrate_prm7_Value
 
UNIT_SELECTOR_LENm_SubsPrm7_choiceUnit
 
wxStaticText * m_substrate_prm8_label
 
wxTextCtrl * m_Substrate_prm8_Value
 
UNIT_SELECTOR_LENm_SubsPrm8_choiceUnit
 
wxStaticText * m_substrate_prm9_label
 
wxTextCtrl * m_Substrate_prm9_Value
 
UNIT_SELECTOR_LENm_SubsPrm9_choiceUnit
 
wxStaticText * m_Frequency_label
 
wxTextCtrl * m_Value_Frequency_Ctrl
 
UNIT_SELECTOR_FREQUENCYm_choiceUnit_Frequency
 
wxStaticBitmap * m_bmCMicrostripZoddZeven
 
wxStaticText * m_phys_prm1_label
 
wxTextCtrl * m_Phys_prm1_Value
 
UNIT_SELECTOR_LENm_choiceUnit_Param1
 
wxRadioButton * m_radioBtnPrm1
 
wxStaticText * m_phys_prm2_label
 
wxTextCtrl * m_Phys_prm2_Value
 
UNIT_SELECTOR_LENm_choiceUnit_Param2
 
wxRadioButton * m_radioBtnPrm2
 
wxStaticText * m_phys_prm3_label
 
wxTextCtrl * m_Phys_prm3_Value
 
UNIT_SELECTOR_LENm_choiceUnit_Param3
 
wxBitmapButton * m_bpButtonAnalyze
 
wxButton * m_AnalyseButton
 
wxButton * m_SynthetizeButton
 
wxBitmapButton * m_bpButtonSynthetize
 
wxStaticText * m_elec_prm1_label
 
wxTextCtrl * m_Elec_prm1_Value
 
UNIT_SELECTOR_RESISTORm_choiceUnit_ElecPrm1
 
wxStaticText * m_elec_prm2_label
 
wxTextCtrl * m_Elec_prm2_Value
 
UNIT_SELECTOR_RESISTORm_choiceUnit_ElecPrm2
 
wxStaticText * m_elec_prm3_label
 
wxTextCtrl * m_Elec_prm3_Value
 
UNIT_SELECTOR_ANGLEm_choiceUnit_ElecPrm3
 
wxStaticText * m_left_message1
 
wxStaticText * m_Message1
 
wxStaticText * m_left_message2
 
wxStaticText * m_Message2
 
wxStaticText * m_left_message3
 
wxStaticText * m_Message3
 
wxStaticText * m_left_message4
 
wxStaticText * m_Message4
 
wxStaticText * m_left_message5
 
wxStaticText * m_Message5
 
wxStaticText * m_left_message6
 
wxStaticText * m_Message6
 
wxStaticText * m_left_message7
 
wxStaticText * m_Message7
 
wxStaticText * m_left_message8
 
wxStaticText * m_Message8
 
wxButton * m_buttonTransLineReset
 

Private Attributes

TRANSLINEm_currTransLine
 
std::vector< TRANSLINE_IDENT * > m_transline_list
 
enum TRANSLINE_TYPE_ID m_currTransLineType
 

Detailed Description

Definition at line 30 of file panel_transline.h.

Constructor & Destructor Documentation

◆ PANEL_TRANSLINE()

PANEL_TRANSLINE::PANEL_TRANSLINE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

Definition at line 28 of file panel_transline.cpp.

30  :
31  PANEL_TRANSLINE_BASE( parent, id, pos, size, style, name ),
32  m_currTransLine( nullptr ),
34 {
37 
38 
39  // Populate transline list ordered like in dialog menu list
40  const static TRANSLINE_TYPE_ID tltype_list[8] =
41  {
43  CPW_TYPE,
46  COAX_TYPE,
50  };
51 
52  for( int ii = 0; ii < 8; ii++ )
53  m_transline_list.push_back( new TRANSLINE_IDENT( tltype_list[ii] ) );
54 
55  m_EpsilonR_label->SetLabel( wxT( "╬Ár" ) );
56 }
TRANSLINE * m_currTransLine
enum TRANSLINE_TYPE_ID m_currTransLineType
wxStaticText * m_EpsilonR_label
A class to handle a list of parameters of a given transline.
wxBitmapButton * m_bpButtonAnalyze
wxBitmapButton * m_bpButtonSynthetize
wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
Definition: bitmap.cpp:105
TRANSLINE_TYPE_ID
const char * name
Definition: DXF_plotter.cpp:56
PANEL_TRANSLINE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(724, 460), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
std::vector< TRANSLINE_IDENT * > m_transline_list

References C_MICROSTRIP_TYPE, COAX_TYPE, CPW_TYPE, DEFAULT_TYPE, GROUNDED_CPW_TYPE, KiBitmap(), PANEL_TRANSLINE_BASE::m_bpButtonAnalyze, PANEL_TRANSLINE_BASE::m_bpButtonSynthetize, PANEL_TRANSLINE_BASE::m_EpsilonR_label, m_transline_list, MICROSTRIP_TYPE, RECTWAVEGUIDE_TYPE, small_down, small_up, STRIPLINE_TYPE, and TWISTEDPAIR_TYPE.

◆ ~PANEL_TRANSLINE()

PANEL_TRANSLINE::~PANEL_TRANSLINE ( )

Definition at line 59 of file panel_transline.cpp.

60 {
61  for( TRANSLINE_IDENT* transline : m_transline_list )
62  delete transline;
63 }
A class to handle a list of parameters of a given transline.
std::vector< TRANSLINE_IDENT * > m_transline_list

References m_transline_list.

Member Function Documentation

◆ GetCurrTransLineType()

TRANSLINE_TYPE_ID PANEL_TRANSLINE::GetCurrTransLineType ( )
inline

Definition at line 46 of file panel_transline.h.

46 { return m_currTransLineType; }
enum TRANSLINE_TYPE_ID m_currTransLineType

References m_currTransLineType.

Referenced by PCB_CALCULATOR_FRAME::OnUpdateUI().

◆ GetPrmValue()

double PANEL_TRANSLINE::GetPrmValue ( enum PRMS_ID  aPrmId) const

Return a param value.

Function GetPrmValue Returns a param value.

Parameters
aPrmIdis the parameter id to write.
Returns
the value always in normalized unit (meter, Hz, Ohm, radian).
Parameters
aPrmId= param id to write
Returns
the value always in normalized unit (meter, Hz, Ohm, radian)

Definition at line 142 of file params_read_write.cpp.

143 {
145 
146  for( unsigned ii = 0; ii < tr_ident->GetPrmsCount(); ii++ )
147  {
148  TRANSLINE_PRM* prm = tr_ident->GetPrm( ii );
149 
150  if( aPrmId == prm->m_Id )
151  return prm->m_NormalizedValue;
152  }
153 
154  return 1.0;
155 }
double m_NormalizedValue
enum TRANSLINE_TYPE_ID m_currTransLineType
A class to handle one parameter of transline.
A class to handle a list of parameters of a given transline.
unsigned GetPrmsCount() const
TRANSLINE_PRM * GetPrm(unsigned aIdx) const
std::vector< TRANSLINE_IDENT * > m_transline_list

References TRANSLINE_IDENT::GetPrm(), TRANSLINE_IDENT::GetPrmsCount(), m_currTransLineType, TRANSLINE_PRM::m_Id, TRANSLINE_PRM::m_NormalizedValue, and m_transline_list.

Referenced by GetPropertyInDialog().

◆ GetTranslineSelector()

wxRadioBox* PANEL_TRANSLINE::GetTranslineSelector ( )
inline

Definition at line 45 of file panel_transline.h.

45 { return m_TranslineSelection; }
wxRadioBox * m_TranslineSelection

References PANEL_TRANSLINE_BASE::m_TranslineSelection.

Referenced by PCB_CALCULATOR_FRAME::OnUpdateUI().

◆ IsPrmSelected()

bool PANEL_TRANSLINE::IsPrmSelected ( enum PRMS_ID  aPrmId) const

Function IsPrmSelected.

Returns
true if the parameter aPrmId is selected.
true if the param aPrmId is selected Has meaning only for params that have a radio button

Definition at line 247 of file params_read_write.cpp.

248 {
249  switch( aPrmId )
250  {
251  default:
252  wxMessageBox( wxT( "IsPrmSelected() error" ) );
253  break;
254 
255  case PHYS_WIDTH_PRM:
256  case PHYS_DIAM_IN_PRM:
257  return m_radioBtnPrm1->GetValue();
258  break;
259 
260  case PHYS_S_PRM:
261  case PHYS_DIAM_OUT_PRM:
262  return m_radioBtnPrm2->GetValue();
263  break;
264  }
265  return false;
266 }
wxRadioButton * m_radioBtnPrm1
wxRadioButton * m_radioBtnPrm2

References PANEL_TRANSLINE_BASE::m_radioBtnPrm1, PANEL_TRANSLINE_BASE::m_radioBtnPrm2, PHYS_DIAM_IN_PRM, PHYS_DIAM_OUT_PRM, PHYS_S_PRM, and PHYS_WIDTH_PRM.

Referenced by IsSelectedInDialog().

◆ LoadSettings()

void PANEL_TRANSLINE::LoadSettings ( PCB_CALCULATOR_SETTINGS aCfg)
overridevirtual

Load the settings into the panel.

Parameters
aCfgis the settings structure to load from

Implements CALCULATOR_PANEL.

Definition at line 84 of file panel_transline.cpp.

85 {
86  m_currTransLineType = static_cast<TRANSLINE_TYPE_ID>( aCfg->m_TransLine.type );
87 
88  for( TRANSLINE_IDENT* transline : m_transline_list )
89  transline->ReadConfig();
90 
93 
94  // Needed on wxWidgets 3.0 to ensure sizers are correctly set
95  // It also remove a minor cosmetic issue on wxWidgets 3.5 on MSW
96  // Called here after the current selected transline bitmaps are enabled/disabled
97  GetSizer()->SetSizeHints( this );
98 }
enum TRANSLINE_TYPE_ID m_currTransLineType
A class to handle a list of parameters of a given transline.
wxRadioBox * m_TranslineSelection
void TranslineTypeSelection(enum TRANSLINE_TYPE_ID aType)
Must be called after selection of a new transline.
std::vector< TRANSLINE_IDENT * > m_transline_list

References m_currTransLineType, PCB_CALCULATOR_SETTINGS::m_TransLine, m_transline_list, PANEL_TRANSLINE_BASE::m_TranslineSelection, TranslineTypeSelection(), and PCB_CALCULATOR_SETTINGS::TRANSMISSION_LINE::type.

◆ OnTranslineAnalyse()

void PANEL_TRANSLINE::OnTranslineAnalyse ( wxCommandEvent &  event)
overridevirtual

Run a new analyze for the current transline with current parameters and displays the electrical parameters.

Reimplemented from PANEL_TRANSLINE_BASE.

Definition at line 102 of file panel_transline.cpp.

103 {
104  if( m_currTransLine )
105  {
108  }
109 }
TRANSLINE * m_currTransLine
void TransfDlgDataToTranslineParams()
Read values entered in dialog frame, and transfer these values in current transline parameters,...
void analyze()
Definition: transline.cpp:211

References TRANSLINE::analyze(), m_currTransLine, and TransfDlgDataToTranslineParams().

◆ OnTranslineEpsilonR_Button()

void PANEL_TRANSLINE::OnTranslineEpsilonR_Button ( wxCommandEvent &  event)
overridevirtual

Shows a list of current relative dielectric constant(Er) and set the selected value in main dialog frame.

Reimplemented from PANEL_TRANSLINE_BASE.

Definition at line 112 of file transline_dlg_funct.cpp.

113 {
114  wxArrayString list = StandardRelativeDielectricConstantList();
115  list.Add( "" ); // Add an empty line for no selection
116 
117  // Find the previous choice index:
118  wxString prevChoiceStr = m_Value_EpsilonR->GetValue();
119  int prevChoice = 0;
120  findMatch( list, prevChoiceStr, prevChoice );
121 
122  int index = wxGetSingleChoiceIndex( wxEmptyString, _( "Relative Dielectric Constants" ),
123  list, prevChoice );
124 
125  if( index >= 0 && !list.Item( index ).IsEmpty() ) // i.e. non canceled.
126  m_Value_EpsilonR->SetValue( list.Item( index ).BeforeFirst( ' ' ) );
127 }
wxArrayString StandardRelativeDielectricConstantList()
Definition: common_data.cpp:28
static bool findMatch(wxArrayString &aList, const wxString &aValue, int &aIdx)
#define _(s)

References _, findMatch(), PANEL_TRANSLINE_BASE::m_Value_EpsilonR, and StandardRelativeDielectricConstantList().

◆ OnTransLineResetButtonClick()

void PANEL_TRANSLINE::OnTransLineResetButtonClick ( wxCommandEvent &  event)
overridevirtual

Called when the user clicks the reset button; sets the parameters to their default values.

Reimplemented from PANEL_TRANSLINE_BASE.

Definition at line 433 of file transline_dlg_funct.cpp.

434 {
436  m_TranslineSelection->SetSelection( DEFAULT_TYPE );
437 
438  GetSizer()->Layout();
439  Refresh();
440 }
wxRadioBox * m_TranslineSelection
void Refresh()
Update the board display after modifying it by a python script (note: it is automatically called by a...
void TranslineTypeSelection(enum TRANSLINE_TYPE_ID aType)
Must be called after selection of a new transline.

References DEFAULT_TYPE, PANEL_TRANSLINE_BASE::m_TranslineSelection, Refresh(), and TranslineTypeSelection().

◆ OnTranslineRho_Button()

void PANEL_TRANSLINE::OnTranslineRho_Button ( wxCommandEvent &  event)
overridevirtual

Show a list of current Specific resistance list (rho) and set the selected value in main dialog frame.

Reimplemented from PANEL_TRANSLINE_BASE.

Definition at line 148 of file transline_dlg_funct.cpp.

149 {
150  wxArrayString list = StandardResistivityList();
151  list.Add( "" ); // Add an empty line for no selection
152 
153  // Find the previous choice index:
154  wxString prevChoiceStr = m_Value_Rho->GetValue();
155  int prevChoice = 0;
156  findMatch( list, prevChoiceStr, prevChoice );
157 
158  int index = wxGetSingleChoiceIndex( wxEmptyString, _( "Specific Resistance" ), list,
159  prevChoice, nullptr );
160 
161  if( index >= 0 && !list.Item( index ).IsEmpty() ) // i.e. non canceled.
162  m_Value_Rho->SetValue( list.Item( index ).BeforeFirst( ' ' ) );
163 }
static bool findMatch(wxArrayString &aList, const wxString &aValue, int &aIdx)
#define _(s)
wxArrayString StandardResistivityList()
Definition: common_data.cpp:84

References _, findMatch(), PANEL_TRANSLINE_BASE::m_Value_Rho, and StandardResistivityList().

◆ OnTranslineSelection()

void PANEL_TRANSLINE::OnTranslineSelection ( wxCommandEvent &  event)
overridevirtual

Called on new transmission line selection.

Reimplemented from PANEL_TRANSLINE_BASE.

Definition at line 420 of file transline_dlg_funct.cpp.

421 {
422  enum TRANSLINE_TYPE_ID id = (enum TRANSLINE_TYPE_ID) event.GetSelection();
423 
425 
426  // Texts and units choice widgets can have their size modified:
427  // The new size must be taken in account
428  GetSizer()->Layout();
429  Refresh();
430 }
void Refresh()
Update the board display after modifying it by a python script (note: it is automatically called by a...
void TranslineTypeSelection(enum TRANSLINE_TYPE_ID aType)
Must be called after selection of a new transline.
TRANSLINE_TYPE_ID

References Refresh(), and TranslineTypeSelection().

◆ OnTranslineSynthetize()

void PANEL_TRANSLINE::OnTranslineSynthetize ( wxCommandEvent &  event)
overridevirtual

Run a new synthesis for the current transline with current parameters and displays the geometrical parameters.

Reimplemented from PANEL_TRANSLINE_BASE.

Definition at line 112 of file panel_transline.cpp.

113 {
114  if( m_currTransLine )
115  {
118  }
119 }
TRANSLINE * m_currTransLine
void TransfDlgDataToTranslineParams()
Read values entered in dialog frame, and transfer these values in current transline parameters,...
virtual void synthesize()
Definition: transline.cpp:220

References m_currTransLine, TRANSLINE::synthesize(), and TransfDlgDataToTranslineParams().

◆ OnTranslineTanD_Button()

void PANEL_TRANSLINE::OnTranslineTanD_Button ( wxCommandEvent &  event)
overridevirtual

Show a list of current dielectric loss factor (tangent delta) and set the selected value in main dialog frame.

Reimplemented from PANEL_TRANSLINE_BASE.

Definition at line 130 of file transline_dlg_funct.cpp.

131 {
132  wxArrayString list = StandardLossTangentList();
133  list.Add( "" ); // Add an empty line for no selection
134 
135  // Find the previous choice index:
136  wxString prevChoiceStr = m_Value_TanD->GetValue();
137  int prevChoice = 0;
138  findMatch( list, prevChoiceStr, prevChoice );
139 
140  int index = wxGetSingleChoiceIndex( wxEmptyString, _( "Dielectric Loss Factor" ), list,
141  prevChoice, nullptr );
142 
143  if( index >= 0 && !list.Item( index ).IsEmpty() ) // i.e. non canceled.
144  m_Value_TanD->SetValue( list.Item( index ).BeforeFirst( ' ' ) );
145 }
static bool findMatch(wxArrayString &aList, const wxString &aValue, int &aIdx)
wxArrayString StandardLossTangentList()
Definition: common_data.cpp:55
#define _(s)

References _, findMatch(), PANEL_TRANSLINE_BASE::m_Value_TanD, and StandardLossTangentList().

◆ SaveSettings()

void PANEL_TRANSLINE::SaveSettings ( PCB_CALCULATOR_SETTINGS aCfg)
overridevirtual

Save the settings from the panel.

Parameters
aCfgis the settings structure to save to

Implements CALCULATOR_PANEL.

Definition at line 75 of file panel_transline.cpp.

76 {
78 
79  for( TRANSLINE_IDENT* transline : m_transline_list )
80  transline->WriteConfig();
81 }
enum TRANSLINE_TYPE_ID m_currTransLineType
A class to handle a list of parameters of a given transline.
std::vector< TRANSLINE_IDENT * > m_transline_list

References m_currTransLineType, PCB_CALCULATOR_SETTINGS::m_TransLine, m_transline_list, and PCB_CALCULATOR_SETTINGS::TRANSMISSION_LINE::type.

◆ SetPrmBgColor()

void PANEL_TRANSLINE::SetPrmBgColor ( enum PRMS_ID  aPrmId,
const KIGFX::COLOR4D aCol 
)

Set the background color of a parameter.

Function SetPrmBgColor Set the background color for a given parameter.

Parameters
aPrmIdis the parameter id to set.
aColis the new color.
aPrmId= PRMS_ID of the parameter
aCol= color ( KIGFX::COLOR4D * )

Definition at line 190 of file params_read_write.cpp.

191 {
192  wxColour wxcol = wxColour( static_cast<unsigned char>( aCol->r * 255 ),
193  static_cast<unsigned char>( aCol->g * 255 ),
194  static_cast<unsigned char>( aCol->b * 255 ) );
195 
196  if( !wxcol.IsOk() )
197  return;
198 
200 
201  for( unsigned ii = 0; ii < tr_ident->GetPrmsCount(); ii++ )
202  {
203  TRANSLINE_PRM* prm = tr_ident->GetPrm( ii );
204  wxTextCtrl* ctl = static_cast<wxTextCtrl*>( prm->m_ValueCtrl );
205 
206  if( aPrmId == prm->m_Id )
207  {
208  ctl->SetBackgroundColour( wxcol );
209  ctl->SetStyle( 0, -1, ctl->GetDefaultStyle() );
210  return;
211  }
212 
213  }
214 }
enum TRANSLINE_TYPE_ID m_currTransLineType
A class to handle one parameter of transline.
A class to handle a list of parameters of a given transline.
double g
Green component.
Definition: color4d.h:378
double b
Blue component.
Definition: color4d.h:379
unsigned GetPrmsCount() const
TRANSLINE_PRM * GetPrm(unsigned aIdx) const
double r
Red component.
Definition: color4d.h:377
std::vector< TRANSLINE_IDENT * > m_transline_list

References KIGFX::COLOR4D::b, KIGFX::COLOR4D::g, TRANSLINE_IDENT::GetPrm(), TRANSLINE_IDENT::GetPrmsCount(), m_currTransLineType, TRANSLINE_PRM::m_Id, m_transline_list, TRANSLINE_PRM::m_ValueCtrl, and KIGFX::COLOR4D::r.

Referenced by SetPropertyBgColorInDialog().

◆ SetPrmValue()

void PANEL_TRANSLINE::SetPrmValue ( enum PRMS_ID  aPrmId,
double  aValue 
)

Read/write params values and results.

Function SetPrmValue Read/write params values and results.

Parameters
aPrmIdis the parameter id to write.
aValueis the value to write.
aPrmId= param id to write
aValue= value to write

Definition at line 163 of file params_read_write.cpp.

164 {
166 
167  for( unsigned ii = 0; ii < tr_ident->GetPrmsCount(); ii++ )
168  {
169  TRANSLINE_PRM* prm = tr_ident->GetPrm( ii );
170 
171  if( aPrmId == prm->m_Id )
172  {
173  prm->m_NormalizedValue = aValue;
174  prm->m_Value = prm->m_NormalizedValue * prm->ToUserUnit();
175  wxString msg;
176  msg.Printf( wxT( "%g" ), prm->m_Value );
177  ( (wxTextCtrl*) prm->m_ValueCtrl )->SetValue( msg );
178  return;
179  }
180  }
181  wxLogMessage( wxT( "GetPrmValue: prm %d not found" ), (int) aPrmId );
182 }
double m_NormalizedValue
enum TRANSLINE_TYPE_ID m_currTransLineType
A class to handle one parameter of transline.
A class to handle a list of parameters of a given transline.
unsigned GetPrmsCount() const
TRANSLINE_PRM * GetPrm(unsigned aIdx) const
std::vector< TRANSLINE_IDENT * > m_transline_list

References TRANSLINE_IDENT::GetPrm(), TRANSLINE_IDENT::GetPrmsCount(), m_currTransLineType, TRANSLINE_PRM::m_Id, TRANSLINE_PRM::m_NormalizedValue, m_transline_list, TRANSLINE_PRM::m_Value, TRANSLINE_PRM::m_ValueCtrl, and TRANSLINE_PRM::ToUserUnit().

Referenced by SetPropertyInDialog().

◆ SetResult()

void PANEL_TRANSLINE::SetResult ( int  aLineNumber,
const wxString &  aText 
)

Put the text into the given result line.

Function SetResult Puts the text into the given result line.

Parameters
aLineNumberis the line (0 to 5) where to display the text.
aTextis the text to display.
aLineNumber= the line (0 to MSG_CNT_MAX-1) wher to display the text
aText= the text to display

Definition at line 222 of file params_read_write.cpp.

223 {
224  #define MSG_CNT_MAX 8
225  wxStaticText* messages[MSG_CNT_MAX] =
229  };
230 
231  wxASSERT( ( aLineNumber >= 0 ) && ( aLineNumber < MSG_CNT_MAX ) );
232 
233  if( aLineNumber < 0 )
234  aLineNumber = 0;
235 
236  if( aLineNumber >= MSG_CNT_MAX )
237  aLineNumber = MSG_CNT_MAX - 1;
238 
239  messages[aLineNumber]->SetLabel( aText );
240 }
#define MSG_CNT_MAX

References PANEL_TRANSLINE_BASE::m_Message1, PANEL_TRANSLINE_BASE::m_Message2, PANEL_TRANSLINE_BASE::m_Message3, PANEL_TRANSLINE_BASE::m_Message4, PANEL_TRANSLINE_BASE::m_Message5, PANEL_TRANSLINE_BASE::m_Message6, PANEL_TRANSLINE_BASE::m_Message7, PANEL_TRANSLINE_BASE::m_Message8, and MSG_CNT_MAX.

Referenced by SetResultInDialog().

◆ ThemeChanged()

void PANEL_TRANSLINE::ThemeChanged ( )
overridevirtual

Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme.

Implements CALCULATOR_PANEL.

Definition at line 66 of file panel_transline.cpp.

67 {
68  // Update the bitmaps
71  m_translineBitmap->SetBitmap( KiBitmap( m_transline_list[m_currTransLineType]->m_BitmapName ) );
72 }
enum TRANSLINE_TYPE_ID m_currTransLineType
wxStaticBitmap * m_translineBitmap
wxBitmapButton * m_bpButtonAnalyze
wxBitmapButton * m_bpButtonSynthetize
wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
Definition: bitmap.cpp:105
std::vector< TRANSLINE_IDENT * > m_transline_list

References KiBitmap(), PANEL_TRANSLINE_BASE::m_bpButtonAnalyze, PANEL_TRANSLINE_BASE::m_bpButtonSynthetize, m_currTransLineType, m_transline_list, PANEL_TRANSLINE_BASE::m_translineBitmap, small_down, and small_up.

◆ TransfDlgDataToTranslineParams()

void PANEL_TRANSLINE::TransfDlgDataToTranslineParams ( )

Read values entered in dialog frame, and transfer these values in current transline parameters, converted in normalized units.

Definition at line 396 of file transline_dlg_funct.cpp.

397 {
399 
400  for( unsigned ii = 0; ii < tr_ident->GetPrmsCount(); ii++ )
401  {
402  TRANSLINE_PRM* prm = tr_ident->GetPrm( ii );
403  wxTextCtrl * value_ctrl = (wxTextCtrl * ) prm->m_ValueCtrl;
404  wxString value_txt = value_ctrl->GetValue();
405  double value = DoubleFromString(value_txt);
406  prm->m_Value = value;
407  UNIT_SELECTOR * unit_ctrl = (UNIT_SELECTOR * ) prm->m_UnitCtrl;
408 
409  if( unit_ctrl )
410  {
411  prm->m_UnitSelection = unit_ctrl->GetSelection();
412  value *= unit_ctrl->GetUnitScale();
413  }
414 
415  prm->m_NormalizedValue = value;
416  }
417 }
double m_NormalizedValue
enum TRANSLINE_TYPE_ID m_currTransLineType
A class to handle one parameter of transline.
A class to handle a list of parameters of a given transline.
unsigned GetPrmsCount() const
TRANSLINE_PRM * GetPrm(unsigned aIdx) const
virtual double GetUnitScale()=0
Function GetUnitScale.
double DoubleFromString(const wxString &TextValue)
std::vector< TRANSLINE_IDENT * > m_transline_list

References DoubleFromString(), TRANSLINE_IDENT::GetPrm(), TRANSLINE_IDENT::GetPrmsCount(), UNIT_SELECTOR::GetUnitScale(), m_currTransLineType, TRANSLINE_PRM::m_NormalizedValue, m_transline_list, TRANSLINE_PRM::m_UnitCtrl, TRANSLINE_PRM::m_UnitSelection, TRANSLINE_PRM::m_Value, TRANSLINE_PRM::m_ValueCtrl, and DLG_PRM_DATA::value.

Referenced by OnTranslineAnalyse(), and OnTranslineSynthetize().

◆ TranslineTypeSelection()

void PANEL_TRANSLINE::TranslineTypeSelection ( enum TRANSLINE_TYPE_ID  aType)

Must be called after selection of a new transline.

Update all values, labels and tool tips of parameters needed by the new transline; irrelevant parameters are blanked.

Parameters
aTypeis the TRANSLINE_TYPE_ID of the new selected transmission line.

Definition at line 175 of file transline_dlg_funct.cpp.

176 {
177  m_currTransLineType = aType;
178 
181  {
183  }
184 
185  m_translineBitmap->SetBitmap( KiBitmap( m_transline_list[m_currTransLineType]->m_BitmapName ) );
186 
187  // This helper bitmap is shown for coupled microstrip only:
190 
192  m_currTransLine = tr_ident->m_TLine;
193 
194  m_radioBtnPrm1->Show( tr_ident->m_HasPrmSelection );
195  m_radioBtnPrm2->Show( tr_ident->m_HasPrmSelection );
196 
197  // Setup messages
198  wxStaticText* left_msg_list[] =
199  {
202  };
203 
204  wxStaticText* msg_list[] =
205  {
207  };
208 
209  unsigned jj = 0;
210 
211  for( ; jj < tr_ident->m_Messages.GetCount(); jj++ )
212  {
213  if( left_msg_list[jj] == nullptr )
214  break;
215 
216  left_msg_list[jj]->SetLabel( tr_ident->m_Messages[jj] );
217  msg_list[jj]->SetLabel( wxEmptyString );
218  }
219 
220  while( left_msg_list[jj] )
221  {
222  left_msg_list[jj]->SetLabel( wxEmptyString );
223  msg_list[jj]->SetLabel( wxEmptyString );
224  jj++;
225  }
226 
227 
228  // Init parameters dialog items
229  struct DLG_PRM_DATA substrateprms[] =
230  {
231  { m_EpsilonR_label, m_Value_EpsilonR, nullptr },
232  { m_TanD_label, m_Value_TanD, nullptr },
233  { m_Rho_label, m_Value_Rho, nullptr },
240  };
241 
242 #define substrateprms_cnt (sizeof(substrateprms)/sizeof(substrateprms[0]))
243 
244  struct DLG_PRM_DATA physprms[] =
245  {
249  };
250 
251 #define physprms_cnt (sizeof(physprms)/sizeof(physprms[0]))
252 
253  struct DLG_PRM_DATA elecprms[] =
254  {
258  };
259 
260 #define elecprms_cnt (sizeof(elecprms)/sizeof(elecprms[0]))
261 
262  struct DLG_PRM_DATA frequencyprms[] =
263  {
265  };
266 
267 #define frequencyprms_cnt (sizeof(frequencyprms)/sizeof(frequencyprms[0]))
268 
269  unsigned idxsubs = 0;
270  unsigned idxphys = 0;
271  unsigned idxelec = 0;
272  unsigned idxfreq = 0;
273 
274  for( unsigned ii = 0; ii < tr_ident->GetPrmsCount(); ii++ )
275  {
276  TRANSLINE_PRM* prm = tr_ident->GetPrm( ii );
277  struct DLG_PRM_DATA * data = nullptr;
278 
279  switch( prm->m_Type )
280  {
281  case PRM_TYPE_SUBS:
282  wxASSERT( idxsubs < substrateprms_cnt );
283  data = &substrateprms[idxsubs];
284  idxsubs++;
285  break;
286 
287  case PRM_TYPE_PHYS:
288  wxASSERT( idxphys < physprms_cnt );
289  data = &physprms[idxphys];
290  idxphys++;
291  break;
292 
293  case PRM_TYPE_ELEC:
294  wxASSERT( idxelec < elecprms_cnt );
295  data = &elecprms[idxelec];
296  idxelec++;
297  break;
298 
299  case PRM_TYPE_FREQUENCY:
300  wxASSERT( idxfreq < frequencyprms_cnt );
301  data = &frequencyprms[idxfreq];
302  idxfreq++;
303  break;
304  }
305 
306  wxASSERT ( data );
307  data->name->SetToolTip( prm->m_ToolTip );
308  data->name->SetLabel( prm->m_DlgLabel != "" ? prm->m_DlgLabel + ':' : "" );
309  prm->m_ValueCtrl = data->value;
310 
311  if( prm->m_Id != DUMMY_PRM )
312  {
313  data->value->SetValue( wxString::Format( "%g", prm->m_Value ) );
314  data->value->Enable( true );
315  }
316  else
317  {
318  data->value->SetValue( wxEmptyString );
319  data->value->Enable( false );
320  }
321 
322  if( prm->m_ConvUnit )
323  prm->m_UnitCtrl = data->unit;
324 
325  if( data->unit )
326  {
327  data->unit->Show( prm->m_ConvUnit );
328  data->unit->Enable( prm->m_ConvUnit );
329  data->unit->SetSelection( prm->m_UnitSelection );
330  }
331  }
332 
333  // Clear all unused params
334  for( ; idxsubs < substrateprms_cnt; idxsubs++ )
335  {
336  substrateprms[idxsubs].name->SetLabel(wxEmptyString);
337  substrateprms[idxsubs].name->SetToolTip(wxEmptyString);
338  substrateprms[idxsubs].value->SetValue(wxEmptyString);
339  substrateprms[idxsubs].value->Enable( false );
340 
341  if( substrateprms[idxsubs].unit)
342  {
343  substrateprms[idxsubs].unit->Show( false );
344  substrateprms[idxsubs].unit->Enable( false );
345  substrateprms[idxsubs].unit->SetSelection( 0 );
346  }
347  }
348 
349  for( ; idxphys < physprms_cnt; idxphys++ )
350  {
351  physprms[idxphys].name->SetLabel(wxEmptyString);
352  physprms[idxphys].name->SetToolTip(wxEmptyString);
353  physprms[idxphys].value->SetValue(wxEmptyString);
354  physprms[idxphys].value->Enable( false );
355 
356  if( physprms[idxphys].unit)
357  {
358  physprms[idxphys].unit->Show( false );
359  physprms[idxphys].unit->Enable( false );
360  physprms[idxphys].unit->SetSelection( 0 );
361  }
362  }
363 
364  for( ; idxelec < elecprms_cnt; idxelec++)
365  {
366  elecprms[idxelec].name->SetLabel(wxEmptyString);
367  elecprms[idxelec].name->SetToolTip(wxEmptyString);
368  elecprms[idxelec].value->SetValue(wxEmptyString);
369  elecprms[idxelec].value->Enable( false );
370 
371  if( elecprms[idxelec].unit)
372  {
373  elecprms[idxelec].unit->Show( false );
374  elecprms[idxelec].unit->Enable( false );
375  elecprms[idxelec].unit->SetSelection( 0 );
376  }
377  }
378 
379  for( ; idxfreq < frequencyprms_cnt; idxfreq++ )
380  {
381  frequencyprms[idxfreq].name->SetLabel(wxEmptyString);
382  frequencyprms[idxfreq].name->SetToolTip(wxEmptyString);
383  frequencyprms[idxfreq].value->SetValue(wxEmptyString);
384  frequencyprms[idxfreq].value->Enable( false );
385 
386  if( frequencyprms[idxfreq].unit )
387  {
388  frequencyprms[idxfreq].unit->Show( false );
389  frequencyprms[idxfreq].unit->Enable( false );
390  frequencyprms[idxfreq].unit->SetSelection( 0 );
391  }
392  }
393 }
wxStaticText * m_left_message5
wxTextCtrl * m_Substrate_prm6_Value
TRANSLINE * m_currTransLine
wxStaticText * name
enum TRANSLINE_TYPE_ID m_currTransLineType
wxStaticText * m_left_message4
wxString m_DlgLabel
UNIT_SELECTOR_ANGLE * m_choiceUnit_ElecPrm3
wxStaticText * m_EpsilonR_label
wxTextCtrl * m_Substrate_prm7_Value
wxStaticText * m_elec_prm2_label
A class to handle one parameter of transline.
wxArrayString m_Messages
A class to handle a list of parameters of a given transline.
#define frequencyprms_cnt
wxStaticBitmap * m_translineBitmap
wxTextCtrl * m_Substrate_prm4_Value
wxString m_ToolTip
wxStaticText * m_left_message7
wxTextCtrl * m_Substrate_prm5_Value
wxStaticText * m_substrate_prm7_label
#define elecprms_cnt
UNIT_SELECTOR_LEN * m_SubsPrm6_choiceUnit
UNIT_SELECTOR_FREQUENCY * m_choiceUnit_Frequency
wxRadioButton * m_radioBtnPrm1
wxStaticText * m_left_message8
wxStaticText * m_Frequency_label
UNIT_SELECTOR_RESISTOR * m_choiceUnit_ElecPrm1
wxStaticText * m_phys_prm3_label
wxTextCtrl * m_Value_Frequency_Ctrl
unsigned GetPrmsCount() const
wxStaticText * m_substrate_prm8_label
wxStaticText * m_substrate_prm4_label
wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
Definition: bitmap.cpp:105
wxStaticText * m_phys_prm1_label
wxTextCtrl * m_Substrate_prm9_Value
wxRadioButton * m_radioBtnPrm2
UNIT_SELECTOR * unit
UNIT_SELECTOR_LEN * m_SubsPrm7_choiceUnit
wxStaticBitmap * m_bmCMicrostripZoddZeven
UNIT_SELECTOR_LEN * m_SubsPrm9_choiceUnit
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
Definition: ptree.cpp:200
TRANSLINE_PRM * GetPrm(unsigned aIdx) const
UNIT_SELECTOR_LEN * m_SubsPrm5_choiceUnit
wxStaticText * m_elec_prm1_label
wxStaticText * m_elec_prm3_label
TRANSLINE * m_TLine
UNIT_SELECTOR_LEN * m_choiceUnit_Param3
wxStaticText * m_left_message6
UNIT_SELECTOR_LEN * m_choiceUnit_Param2
wxTextCtrl * m_Substrate_prm8_Value
#define physprms_cnt
wxStaticText * m_phys_prm2_label
UNIT_SELECTOR_LEN * m_SubsPrm8_choiceUnit
wxStaticText * m_substrate_prm5_label
wxStaticText * m_substrate_prm6_label
#define substrateprms_cnt
wxStaticText * m_left_message2
UNIT_SELECTOR_LEN * m_choiceUnit_Param1
wxStaticText * m_left_message3
std::vector< TRANSLINE_IDENT * > m_transline_list
UNIT_SELECTOR_RESISTOR * m_choiceUnit_ElecPrm2
wxStaticText * m_left_message1
wxStaticText * m_substrate_prm9_label
UNIT_SELECTOR_LEN * m_SubsPrm4_choiceUnit

References C_MICROSTRIP_TYPE, DEFAULT_TYPE, DUMMY_PRM, elecprms_cnt, END_OF_LIST_TYPE, Format(), frequencyprms_cnt, TRANSLINE_IDENT::GetPrm(), TRANSLINE_IDENT::GetPrmsCount(), KiBitmap(), PANEL_TRANSLINE_BASE::m_bmCMicrostripZoddZeven, PANEL_TRANSLINE_BASE::m_choiceUnit_ElecPrm1, PANEL_TRANSLINE_BASE::m_choiceUnit_ElecPrm2, PANEL_TRANSLINE_BASE::m_choiceUnit_ElecPrm3, PANEL_TRANSLINE_BASE::m_choiceUnit_Frequency, PANEL_TRANSLINE_BASE::m_choiceUnit_Param1, PANEL_TRANSLINE_BASE::m_choiceUnit_Param2, PANEL_TRANSLINE_BASE::m_choiceUnit_Param3, TRANSLINE_PRM::m_ConvUnit, m_currTransLine, m_currTransLineType, TRANSLINE_PRM::m_DlgLabel, PANEL_TRANSLINE_BASE::m_elec_prm1_label, PANEL_TRANSLINE_BASE::m_Elec_prm1_Value, PANEL_TRANSLINE_BASE::m_elec_prm2_label, PANEL_TRANSLINE_BASE::m_Elec_prm2_Value, PANEL_TRANSLINE_BASE::m_elec_prm3_label, PANEL_TRANSLINE_BASE::m_Elec_prm3_Value, PANEL_TRANSLINE_BASE::m_EpsilonR_label, PANEL_TRANSLINE_BASE::m_Frequency_label, TRANSLINE_IDENT::m_HasPrmSelection, TRANSLINE_PRM::m_Id, PANEL_TRANSLINE_BASE::m_left_message1, PANEL_TRANSLINE_BASE::m_left_message2, PANEL_TRANSLINE_BASE::m_left_message3, PANEL_TRANSLINE_BASE::m_left_message4, PANEL_TRANSLINE_BASE::m_left_message5, PANEL_TRANSLINE_BASE::m_left_message6, PANEL_TRANSLINE_BASE::m_left_message7, PANEL_TRANSLINE_BASE::m_left_message8, PANEL_TRANSLINE_BASE::m_Message1, PANEL_TRANSLINE_BASE::m_Message2, PANEL_TRANSLINE_BASE::m_Message3, PANEL_TRANSLINE_BASE::m_Message4, PANEL_TRANSLINE_BASE::m_Message5, PANEL_TRANSLINE_BASE::m_Message6, PANEL_TRANSLINE_BASE::m_Message7, PANEL_TRANSLINE_BASE::m_Message8, TRANSLINE_IDENT::m_Messages, PANEL_TRANSLINE_BASE::m_phys_prm1_label, PANEL_TRANSLINE_BASE::m_Phys_prm1_Value, PANEL_TRANSLINE_BASE::m_phys_prm2_label, PANEL_TRANSLINE_BASE::m_Phys_prm2_Value, PANEL_TRANSLINE_BASE::m_phys_prm3_label, PANEL_TRANSLINE_BASE::m_Phys_prm3_Value, PANEL_TRANSLINE_BASE::m_radioBtnPrm1, PANEL_TRANSLINE_BASE::m_radioBtnPrm2, PANEL_TRANSLINE_BASE::m_Rho_label, PANEL_TRANSLINE_BASE::m_SubsPrm4_choiceUnit, PANEL_TRANSLINE_BASE::m_SubsPrm5_choiceUnit, PANEL_TRANSLINE_BASE::m_SubsPrm6_choiceUnit, PANEL_TRANSLINE_BASE::m_SubsPrm7_choiceUnit, PANEL_TRANSLINE_BASE::m_SubsPrm8_choiceUnit, PANEL_TRANSLINE_BASE::m_SubsPrm9_choiceUnit, PANEL_TRANSLINE_BASE::m_substrate_prm4_label, PANEL_TRANSLINE_BASE::m_Substrate_prm4_Value, PANEL_TRANSLINE_BASE::m_substrate_prm5_label, PANEL_TRANSLINE_BASE::m_Substrate_prm5_Value, PANEL_TRANSLINE_BASE::m_substrate_prm6_label, PANEL_TRANSLINE_BASE::m_Substrate_prm6_Value, PANEL_TRANSLINE_BASE::m_substrate_prm7_label, PANEL_TRANSLINE_BASE::m_Substrate_prm7_Value, PANEL_TRANSLINE_BASE::m_substrate_prm8_label, PANEL_TRANSLINE_BASE::m_Substrate_prm8_Value, PANEL_TRANSLINE_BASE::m_substrate_prm9_label, PANEL_TRANSLINE_BASE::m_Substrate_prm9_Value, PANEL_TRANSLINE_BASE::m_TanD_label, TRANSLINE_IDENT::m_TLine, TRANSLINE_PRM::m_ToolTip, m_transline_list, PANEL_TRANSLINE_BASE::m_translineBitmap, TRANSLINE_PRM::m_Type, TRANSLINE_PRM::m_UnitCtrl, TRANSLINE_PRM::m_UnitSelection, TRANSLINE_PRM::m_Value, PANEL_TRANSLINE_BASE::m_Value_EpsilonR, PANEL_TRANSLINE_BASE::m_Value_Frequency_Ctrl, PANEL_TRANSLINE_BASE::m_Value_Rho, PANEL_TRANSLINE_BASE::m_Value_TanD, TRANSLINE_PRM::m_ValueCtrl, microstrip_zodd_zeven, DLG_PRM_DATA::name, physprms_cnt, PRM_TYPE_ELEC, PRM_TYPE_FREQUENCY, PRM_TYPE_PHYS, PRM_TYPE_SUBS, START_OF_LIST_TYPE, substrateprms_cnt, DLG_PRM_DATA::unit, and DLG_PRM_DATA::value.

Referenced by LoadSettings(), OnTransLineResetButtonClick(), and OnTranslineSelection().

Member Data Documentation

◆ m_AnalyseButton

wxButton* PANEL_TRANSLINE_BASE::m_AnalyseButton
protectedinherited

◆ m_bmCMicrostripZoddZeven

wxStaticBitmap* PANEL_TRANSLINE_BASE::m_bmCMicrostripZoddZeven
protectedinherited

◆ m_bpButtonAnalyze

wxBitmapButton* PANEL_TRANSLINE_BASE::m_bpButtonAnalyze
protectedinherited

◆ m_bpButtonSynthetize

wxBitmapButton* PANEL_TRANSLINE_BASE::m_bpButtonSynthetize
protectedinherited

◆ m_button_EpsilonR

wxButton* PANEL_TRANSLINE_BASE::m_button_EpsilonR
protectedinherited

◆ m_button_Rho

wxButton* PANEL_TRANSLINE_BASE::m_button_Rho
protectedinherited

◆ m_button_TanD

wxButton* PANEL_TRANSLINE_BASE::m_button_TanD
protectedinherited

◆ m_buttonTransLineReset

wxButton* PANEL_TRANSLINE_BASE::m_buttonTransLineReset
protectedinherited

◆ m_choiceUnit_ElecPrm1

UNIT_SELECTOR_RESISTOR* PANEL_TRANSLINE_BASE::m_choiceUnit_ElecPrm1
protectedinherited

◆ m_choiceUnit_ElecPrm2

UNIT_SELECTOR_RESISTOR* PANEL_TRANSLINE_BASE::m_choiceUnit_ElecPrm2
protectedinherited

◆ m_choiceUnit_ElecPrm3

UNIT_SELECTOR_ANGLE* PANEL_TRANSLINE_BASE::m_choiceUnit_ElecPrm3
protectedinherited

◆ m_choiceUnit_Frequency

UNIT_SELECTOR_FREQUENCY* PANEL_TRANSLINE_BASE::m_choiceUnit_Frequency
protectedinherited

◆ m_choiceUnit_Param1

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_choiceUnit_Param1
protectedinherited

◆ m_choiceUnit_Param2

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_choiceUnit_Param2
protectedinherited

◆ m_choiceUnit_Param3

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_choiceUnit_Param3
protectedinherited

◆ m_currTransLine

TRANSLINE* PANEL_TRANSLINE::m_currTransLine
private

◆ m_currTransLineType

◆ m_elec_prm1_label

wxStaticText* PANEL_TRANSLINE_BASE::m_elec_prm1_label
protectedinherited

◆ m_Elec_prm1_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Elec_prm1_Value
protectedinherited

◆ m_elec_prm2_label

wxStaticText* PANEL_TRANSLINE_BASE::m_elec_prm2_label
protectedinherited

◆ m_Elec_prm2_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Elec_prm2_Value
protectedinherited

◆ m_elec_prm3_label

wxStaticText* PANEL_TRANSLINE_BASE::m_elec_prm3_label
protectedinherited

◆ m_Elec_prm3_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Elec_prm3_Value
protectedinherited

◆ m_EpsilonR_label

wxStaticText* PANEL_TRANSLINE_BASE::m_EpsilonR_label
protectedinherited

◆ m_Frequency_label

wxStaticText* PANEL_TRANSLINE_BASE::m_Frequency_label
protectedinherited

◆ m_left_message1

wxStaticText* PANEL_TRANSLINE_BASE::m_left_message1
protectedinherited

◆ m_left_message2

wxStaticText* PANEL_TRANSLINE_BASE::m_left_message2
protectedinherited

◆ m_left_message3

wxStaticText* PANEL_TRANSLINE_BASE::m_left_message3
protectedinherited

◆ m_left_message4

wxStaticText* PANEL_TRANSLINE_BASE::m_left_message4
protectedinherited

◆ m_left_message5

wxStaticText* PANEL_TRANSLINE_BASE::m_left_message5
protectedinherited

◆ m_left_message6

wxStaticText* PANEL_TRANSLINE_BASE::m_left_message6
protectedinherited

◆ m_left_message7

wxStaticText* PANEL_TRANSLINE_BASE::m_left_message7
protectedinherited

◆ m_left_message8

wxStaticText* PANEL_TRANSLINE_BASE::m_left_message8
protectedinherited

◆ m_Message1

wxStaticText* PANEL_TRANSLINE_BASE::m_Message1
protectedinherited

◆ m_Message2

wxStaticText* PANEL_TRANSLINE_BASE::m_Message2
protectedinherited

◆ m_Message3

wxStaticText* PANEL_TRANSLINE_BASE::m_Message3
protectedinherited

◆ m_Message4

wxStaticText* PANEL_TRANSLINE_BASE::m_Message4
protectedinherited

◆ m_Message5

wxStaticText* PANEL_TRANSLINE_BASE::m_Message5
protectedinherited

◆ m_Message6

wxStaticText* PANEL_TRANSLINE_BASE::m_Message6
protectedinherited

◆ m_Message7

wxStaticText* PANEL_TRANSLINE_BASE::m_Message7
protectedinherited

◆ m_Message8

wxStaticText* PANEL_TRANSLINE_BASE::m_Message8
protectedinherited

◆ m_phys_prm1_label

wxStaticText* PANEL_TRANSLINE_BASE::m_phys_prm1_label
protectedinherited

◆ m_Phys_prm1_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Phys_prm1_Value
protectedinherited

◆ m_phys_prm2_label

wxStaticText* PANEL_TRANSLINE_BASE::m_phys_prm2_label
protectedinherited

◆ m_Phys_prm2_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Phys_prm2_Value
protectedinherited

◆ m_phys_prm3_label

wxStaticText* PANEL_TRANSLINE_BASE::m_phys_prm3_label
protectedinherited

◆ m_Phys_prm3_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Phys_prm3_Value
protectedinherited

◆ m_radioBtnPrm1

wxRadioButton* PANEL_TRANSLINE_BASE::m_radioBtnPrm1
protectedinherited

◆ m_radioBtnPrm2

wxRadioButton* PANEL_TRANSLINE_BASE::m_radioBtnPrm2
protectedinherited

◆ m_Rho_label

wxStaticText* PANEL_TRANSLINE_BASE::m_Rho_label
protectedinherited

◆ m_SubsPrm4_choiceUnit

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_SubsPrm4_choiceUnit
protectedinherited

◆ m_SubsPrm5_choiceUnit

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_SubsPrm5_choiceUnit
protectedinherited

◆ m_SubsPrm6_choiceUnit

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_SubsPrm6_choiceUnit
protectedinherited

◆ m_SubsPrm7_choiceUnit

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_SubsPrm7_choiceUnit
protectedinherited

◆ m_SubsPrm8_choiceUnit

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_SubsPrm8_choiceUnit
protectedinherited

◆ m_SubsPrm9_choiceUnit

UNIT_SELECTOR_LEN* PANEL_TRANSLINE_BASE::m_SubsPrm9_choiceUnit
protectedinherited

◆ m_substrate_prm4_label

wxStaticText* PANEL_TRANSLINE_BASE::m_substrate_prm4_label
protectedinherited

◆ m_Substrate_prm4_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Substrate_prm4_Value
protectedinherited

◆ m_substrate_prm5_label

wxStaticText* PANEL_TRANSLINE_BASE::m_substrate_prm5_label
protectedinherited

◆ m_Substrate_prm5_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Substrate_prm5_Value
protectedinherited

◆ m_substrate_prm6_label

wxStaticText* PANEL_TRANSLINE_BASE::m_substrate_prm6_label
protectedinherited

◆ m_Substrate_prm6_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Substrate_prm6_Value
protectedinherited

◆ m_substrate_prm7_label

wxStaticText* PANEL_TRANSLINE_BASE::m_substrate_prm7_label
protectedinherited

◆ m_Substrate_prm7_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Substrate_prm7_Value
protectedinherited

◆ m_substrate_prm8_label

wxStaticText* PANEL_TRANSLINE_BASE::m_substrate_prm8_label
protectedinherited

◆ m_Substrate_prm8_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Substrate_prm8_Value
protectedinherited

◆ m_substrate_prm9_label

wxStaticText* PANEL_TRANSLINE_BASE::m_substrate_prm9_label
protectedinherited

◆ m_Substrate_prm9_Value

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Substrate_prm9_Value
protectedinherited

◆ m_SynthetizeButton

wxButton* PANEL_TRANSLINE_BASE::m_SynthetizeButton
protectedinherited

◆ m_TanD_label

wxStaticText* PANEL_TRANSLINE_BASE::m_TanD_label
protectedinherited

◆ m_transline_list

◆ m_translineBitmap

wxStaticBitmap* PANEL_TRANSLINE_BASE::m_translineBitmap
protectedinherited

◆ m_TranslineSelection

wxRadioBox* PANEL_TRANSLINE_BASE::m_TranslineSelection
protectedinherited

◆ m_Value_EpsilonR

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Value_EpsilonR
protectedinherited

◆ m_Value_Frequency_Ctrl

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Value_Frequency_Ctrl
protectedinherited

◆ m_Value_Rho

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Value_Rho
protectedinherited

◆ m_Value_TanD

wxTextCtrl* PANEL_TRANSLINE_BASE::m_Value_TanD
protectedinherited

The documentation for this class was generated from the following files: