34 m_simCommand( wxEmptyString ),
41 wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
42 const wxString&
name ) :
43 wxWindow( parent, id, pos, size, style,
name ),
44 m_simCommand( aCommand ),
45 m_simOptions( aOptions )
77 wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
78 long style,
const wxString&
name ) :
81 m_sizer =
new wxBoxSizer( wxVERTICAL );
82 m_sizer->Add( 0, 1, 1, wxEXPAND, 5 );
84 m_textInfo =
new wxStaticText(
dynamic_cast<wxWindow*
>(
this ), wxID_ANY,
"", wxDefaultPosition,
85 wxDefaultSize, wxALL | wxEXPAND | wxALIGN_CENTER_HORIZONTAL );
87 m_textInfo->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_GRAYTEXT ) );
88 m_textInfo->SetLabel(
_(
"Simulation provided no plots. Please refer to console window "
92 m_sizer->Add( 0, 1, 1, wxEXPAND, 5 );
94 dynamic_cast<wxWindow*
>( this )->SetSizer(
m_sizer );
105 m_textInfo->SetLabel(
_(
"Simulation provided no plots. Please refer to console window "
static SIM_TYPE CommandToSimType(const wxString &aCmd)
Return simulation type basing on a simulation command directive.
wxStaticText * m_textInfo
SIM_NOPLOT_PANEL(const wxString &aCommand, int aOptions, wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)
virtual ~SIM_NOPLOT_PANEL()
void OnLanguageChanged() override
static bool IsPlottable(SIM_TYPE aSimType)
virtual ~SIM_PANEL_BASE()
This file is part of the common library.
wxFont GetControlFont(wxWindow *aWindow)
SIM_TYPE
< Possible simulation types