20#ifndef PANEL_TRANSLINE_H 
   21#define PANEL_TRANSLINE_H 
   34                     const wxPoint& pos = wxDefaultPosition, 
const wxSize& size = wxDefaultSize,
 
   35                     long style = wxTAB_TRAVERSAL, 
const wxString& 
name = wxEmptyString );
 
   61    void SetResult( 
int aLineNumber, 
const wxString& aText );
 
 
A color representation with 4 components: red, green, blue, alpha.
 
PANEL_TRANSLINE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
wxRadioBox * m_TranslineSelection
 
void OnTranslineSynthetize(wxCommandEvent &event) override
Run a new synthesis for the current transline with current parameters and displays the geometrical pa...
 
TRANSLINE * m_currTransLine
 
void OnTranslineTanD_Button(wxCommandEvent &event) override
Show a list of current dielectric loss factor (tangent delta) and set the selected value in main dial...
 
void TranslineTypeSelection(enum TRANSLINE_TYPE_ID aType)
Must be called after selection of a new transline.
 
void SetResult(int aLineNumber, const wxString &aText)
Put the text into the given result line.
 
void OnTranslineEpsilonR_Button(wxCommandEvent &event) override
Shows a list of current relative dielectric constant(Er) and set the selected value in main dialog fr...
 
void SetPrmBgColor(enum PRMS_ID aPrmId, const KIGFX::COLOR4D *aCol)
Set the background color of a parameter.
 
void TransfDlgDataToTranslineParams()
Read values entered in dialog frame, and transfer these values in current transline parameters,...
 
wxRadioBox * GetTranslineSelector()
 
void OnTranslineSelection(wxCommandEvent &event) override
Called on new transmission line selection.
 
TRANSLINE_TYPE_ID GetCurrTransLineType()
 
std::vector< TRANSLINE_IDENT * > m_transline_list
 
void OnTransLineResetButtonClick(wxCommandEvent &event) override
Called when the user clicks the reset button; sets the parameters to their default values.
 
void SetPrmValue(enum PRMS_ID aPrmId, double aValue)
Read/write params values and results.
 
void ThemeChanged() override
Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appr...
 
void SaveSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Save the settings from the panel.
 
PANEL_TRANSLINE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
void OnTranslineRho_Button(wxCommandEvent &event) override
Show a list of current Specific resistance list (rho) and set the selected value in main dialog frame...
 
enum TRANSLINE_TYPE_ID m_currTransLineType
 
void OnTranslineAnalyse(wxCommandEvent &event) override
Run a new analyze for the current transline with current parameters and displays the electrical param...
 
bool IsPrmSelected(enum PRMS_ID aPrmId) const
Function IsPrmSelected.
 
double GetPrmValue(enum PRMS_ID aPrmId) const
Return a param value.
 
void LoadSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Load the settings into the panel.