30 const wxSize& size,
long style,
const wxString&
name ) :
32 m_currTransLine( nullptr ),
52 for(
int ii = 0; ii < 8; ii++ )
84 transline->WriteConfig();
93 transline->ReadConfig();
101 GetSizer()->SetSizeHints(
this );
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap)
Class PANEL_TRANSLINE_BASE.
wxStaticText * m_EpsilonR_label
wxStaticBitmap * m_translineBitmap
STD_BITMAP_BUTTON * m_bpButtonSynthetize
wxRadioBox * m_TranslineSelection
STD_BITMAP_BUTTON * m_bpButtonAnalyze
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 TranslineTypeSelection(enum TRANSLINE_TYPE_ID aType)
Must be called after selection of a new transline.
void TransfDlgDataToTranslineParams()
Read values entered in dialog frame, and transfer these values in current transline parameters,...
std::vector< TRANSLINE_IDENT * > m_transline_list
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)
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...
void LoadSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Load the settings into the panel.
TRANSMISSION_LINE m_TransLine
A class to handle a list of parameters of a given transline.
virtual void synthesize()