12DIALOG_FOOTPRINT_CHECKER_BASE::DIALOG_FOOTPRINT_CHECKER_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
19 wxBoxSizer* bUpperSizer;
20 bUpperSizer =
new wxBoxSizer( wxVERTICAL );
22 bUpperSizer->SetMinSize( wxSize( 660,250 ) );
23 m_markersDataView =
new wxDataViewCtrl(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_NO_HEADER );
27 bSizer9 =
new wxBoxSizer( wxVERTICAL );
29 wxBoxSizer* bSeveritySizer;
30 bSeveritySizer =
new wxBoxSizer( wxHORIZONTAL );
32 m_showLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Show:"), wxDefaultPosition, wxDefaultSize, 0 );
34 bSeveritySizer->Add(
m_showLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
36 m_showAll =
new wxCheckBox(
this, wxID_ANY,
_(
"All"), wxDefaultPosition, wxDefaultSize, 0 );
38 bSeveritySizer->Add(
m_showAll, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
41 bSeveritySizer->Add( 35, 0, 0, wxEXPAND, 5 );
43 m_showErrors =
new wxCheckBox(
this, wxID_ANY,
_(
"Errors"), wxDefaultPosition, wxDefaultSize, 0 );
44 bSeveritySizer->Add(
m_showErrors, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
47 bSeveritySizer->Add(
m_errorsBadge, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 25 );
49 m_showWarnings =
new wxCheckBox(
this, wxID_ANY,
_(
"Warnings"), wxDefaultPosition, wxDefaultSize, 0 );
50 bSeveritySizer->Add(
m_showWarnings, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
53 bSeveritySizer->Add(
m_warningsBadge, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 25 );
55 m_showExclusions =
new wxCheckBox(
this, wxID_ANY,
_(
"Exclusions"), wxDefaultPosition, wxDefaultSize, 0 );
56 bSeveritySizer->Add(
m_showExclusions, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
62 bSeveritySizer->Add( 5, 0, 1, wxEXPAND, 5 );
65 bSizer9->Add( bSeveritySizer, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
68 bUpperSizer->Add( bSizer9, 0, wxEXPAND|wxTOP, 3 );
71 bSizerMain->Add( bUpperSizer, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
73 wxBoxSizer* bLowerSizer;
74 bLowerSizer =
new wxBoxSizer( wxHORIZONTAL );
89 bLowerSizer->Add(
m_sdbSizer, 1, wxEXPAND|wxALL, 5 );
92 bSizerMain->Add( bLowerSizer, 0, wxEXPAND|wxLEFT, 10 );
95 this->SetSizer( bSizerMain );
97 bSizerMain->Fit(
this );
99 this->Centre( wxBOTH );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
A simple UI element that puts a number on top of a colored rounded rectangle with a fill color that s...