12 DIALOG_BLOCK_OPTIONS_BASE::DIALOG_BLOCK_OPTIONS_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 wxStaticBoxSizer* sbSizer1;
20 sbSizer1 =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY, _(
"Options:") ), wxVERTICAL );
22 wxFlexGridSizer* fgSizer1;
23 fgSizer1 =
new wxFlexGridSizer( 3, 1, 0, 0 );
24 fgSizer1->SetFlexibleDirection( wxBOTH );
25 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
28 gSizer1 =
new wxGridSizer( 4, 2, 3, 3 );
30 m_Include_Modules =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include &footprints"), wxDefaultPosition, wxDefaultSize, 0 );
33 m_Include_PcbTextes =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include t&ext items"), wxDefaultPosition, wxDefaultSize, 0 );
36 m_IncludeLockedModules =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include &locked footprints"), wxDefaultPosition, wxDefaultSize, 0 );
39 m_Include_Draw_Items =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include &drawings"), wxDefaultPosition, wxDefaultSize, 0 );
42 m_Include_Tracks =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include &tracks"), wxDefaultPosition, wxDefaultSize, 0 );
45 m_Include_Edges_Items =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include &board outline layer"), wxDefaultPosition, wxDefaultSize, 0 );
48 m_Include_Vias =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include &vias"), wxDefaultPosition, wxDefaultSize, 0 );
51 m_Include_Zones =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include &zones"), wxDefaultPosition, wxDefaultSize, 0 );
55 fgSizer1->Add( gSizer1, 1, wxALL|wxEXPAND, 5 );
57 m_staticline1 =
new wxStaticLine( sbSizer1->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
61 gSizer2 =
new wxGridSizer( 1, 2, 3, 3 );
63 m_checkBoxIncludeInvisible =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Include &items on invisible layers"), wxDefaultPosition, wxDefaultSize, 0 );
66 m_DrawBlockItems =
new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _(
"Draw &selected items while moving"), wxDefaultPosition, wxDefaultSize, 0 );
70 fgSizer1->Add( gSizer2, 1, wxALL|wxEXPAND, 5 );
73 sbSizer1->Add( fgSizer1, 1, wxEXPAND, 5 );
76 bSizerMain->Add( sbSizer1, 1, wxALL|wxEXPAND, 5 );
85 bSizerMain->Add(
m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
88 this->SetSizer( bSizerMain );
90 bSizerMain->Fit(
this );
92 this->Centre( wxBOTH );
virtual void ExecuteCommand(wxCommandEvent &event)
DIALOG_BLOCK_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnCancel(wxCommandEvent &event)
wxCheckBox * m_IncludeLockedModules
wxCheckBox * m_Include_Edges_Items
wxCheckBox * m_Include_Modules
wxCheckBox * m_Include_Zones
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
wxCheckBox * m_Include_Vias
wxCheckBox * m_Include_Draw_Items
wxStdDialogButtonSizer * m_sdbSizer1
virtual void checkBoxClicked(wxCommandEvent &event)
wxCheckBox * m_checkBoxIncludeInvisible
wxCheckBox * m_Include_Tracks
wxButton * m_sdbSizer1Cancel
wxCheckBox * m_DrawBlockItems
wxCheckBox * m_Include_PcbTextes
wxStaticLine * m_staticline1
~DIALOG_BLOCK_OPTIONS_BASE()