29 const wxPoint& pos,
const wxSize& size,
30 long style,
const wxString&
name ) :
32 m_currTransLine( nullptr ),
52 for(
int ii = 0; ii < 8; ii++ )
80 transline->WriteConfig();
89 transline->ReadConfig();
97 GetSizer()->SetSizeHints(
this );
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.
wxRadioBox * m_TranslineSelection
wxStaticBitmap * m_translineBitmap
wxBitmapButton * m_bpButtonAnalyze
void OnTranslineAnalyse(wxCommandEvent &event) override
Run a new analyze for the current transline with current parameters and displays the electrical param...
void OnTranslineSynthetize(wxCommandEvent &event) override
Run a new synthesis for the current transline with current parameters and displays the geometrical pa...
void TransfDlgDataToTranslineParams()
Read values entered in dialog frame, and transfer these values in current transline parameters,...
wxBitmapButton * m_bpButtonSynthetize
Class PANEL_TRANSLINE_BASE.
wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
void TranslineTypeSelection(enum TRANSLINE_TYPE_ID aType)
Must be called after selection of a new transline.
void LoadSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Load the settings into 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)
virtual void synthesize()
TRANSMISSION_LINE m_TransLine
void SaveSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Save the settings from the panel.
void ThemeChanged() override
Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appr...
std::vector< TRANSLINE_IDENT * > m_transline_list