34 m_simCommand( wxEmptyString ),
41 wxWindow( parent, wxID_ANY ),
42 m_simCommand( aSimCommand ),
84 m_sizer =
new wxBoxSizer( wxVERTICAL );
85 m_sizer->Add( 0, 1, 1, wxEXPAND, 5 );
87 m_textInfo =
new wxStaticText(
dynamic_cast<wxWindow*
>(
this ), wxID_ANY,
"", wxDefaultPosition,
88 wxDefaultSize, wxALL | wxEXPAND | wxALIGN_CENTER_HORIZONTAL );
90 m_textInfo->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_GRAYTEXT ) );
91 m_textInfo->SetLabel(
_(
"Simulation provided no plots. Please refer to console window "
95 m_sizer->Add( 0, 1, 1, wxEXPAND, 5 );
97 dynamic_cast<wxWindow*
>( this )->SetSizer(
m_sizer );
108 m_textInfo->SetLabel(
_(
"Simulation provided no plots. Please refer to console window "
SIM_NOPLOT_TAB(const wxString &aSimCommand, wxWindow *parent)
wxStaticText * m_textInfo
void OnLanguageChanged() override
virtual ~SIM_NOPLOT_TAB()
SIM_TYPE GetSimType() const
static bool IsPlottable(SIM_TYPE aSimType)
virtual void ApplyPreferences(const SIM_PREFERENCES &aPrefs)
static SIM_TYPE CommandToSimType(const wxString &aCmd)
Return simulation type basing on a simulation command directive.
This file is part of the common library.
KICOMMON_API wxFont GetControlFont(wxWindow *aWindow)
SIM_TYPE
< Possible simulation types
Contains preferences pertaining to the simulator.