12WX_HTML_REPORT_PANEL_BASE::WX_HTML_REPORT_PANEL_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
14 this->SetMinSize( wxSize( -1,225 ) );
16 m_box =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Output Messages") ), wxVERTICAL );
18 m_fgSizer =
new wxFlexGridSizer( 2, 1, 0, 0 );
21 m_fgSizer->SetFlexibleDirection( wxBOTH );
22 m_fgSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
27 wxBoxSizer* bSizerBottom;
28 bSizerBottom =
new wxBoxSizer( wxHORIZONTAL );
30 m_staticTextShow =
new wxStaticText(
m_box->GetStaticBox(), wxID_ANY,
_(
"Show:"), wxDefaultPosition, wxDefaultSize, 0 );
32 bSizerBottom->Add(
m_staticTextShow, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 2 );
34 m_checkBoxShowAll =
new wxCheckBox(
m_box->GetStaticBox(), wxID_ANY,
_(
"All"), wxDefaultPosition, wxDefaultSize, 0 );
36 bSizerBottom->Add(
m_checkBoxShowAll, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
39 bSizerBottom->Add( 30, 0, 0, wxEXPAND, 5 );
47 bSizerBottom->Add(
m_errorsBadge, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxTOP, 4 );
50 bSizerBottom->Add( 25, 0, 0, wxEXPAND, 5 );
58 bSizerBottom->Add(
m_warningsBadge, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxTOP, 4 );
61 bSizerBottom->Add( 25, 0, 0, wxEXPAND, 5 );
67 bSizerBottom->Add( 30, 0, 0, wxEXPAND, 5 );
73 bSizerBottom->Add( 30, 0, 1, wxEXPAND, 5 );
79 m_fgSizer->Add( bSizerBottom, 0, wxEXPAND, 5 );
85 this->SetSizer(
m_box );
Add dark theme support to wxHtmlWindow.
A simple UI element that puts a number on top of a colored rounded rectangle with a fill color that s...
virtual void onCheckBoxShowInfos(wxCommandEvent &event)
virtual void onCheckBoxShowActions(wxCommandEvent &event)
wxCheckBox * m_checkBoxShowAll
NUMBER_BADGE * m_warningsBadge
virtual void onCheckBoxShowErrors(wxCommandEvent &event)
virtual void onCheckBoxShowAll(wxCommandEvent &event)
WX_HTML_REPORT_PANEL_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)
~WX_HTML_REPORT_PANEL_BASE()
NUMBER_BADGE * m_errorsBadge
wxFlexGridSizer * m_fgSizer
virtual void onRightClick(wxMouseEvent &event)
wxCheckBox * m_checkBoxShowActions
virtual void onCheckBoxShowWarnings(wxCommandEvent &event)
wxCheckBox * m_checkBoxShowWarnings
wxStaticText * m_staticTextShow
wxCheckBox * m_checkBoxShowErrors
virtual void onBtnSaveToFile(wxCommandEvent &event)
wxCheckBox * m_checkBoxShowInfos
wxButton * m_btnSaveReportToFile