12DIALOG_MAP_GERBER_LAYERS_TO_PCB_BASE::DIALOG_MAP_GERBER_LAYERS_TO_PCB_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* sbUpperSizer;
20 sbUpperSizer =
new wxBoxSizer( wxHORIZONTAL );
22 wxBoxSizer* bSizerLayerSelection;
23 bSizerLayerSelection =
new wxBoxSizer( wxVERTICAL );
25 m_staticTextLayerSel =
new wxStaticText(
this, wxID_ANY,
_(
"Layer selection:"), wxDefaultPosition, wxDefaultSize, 0 );
42 m_staticlineSep =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL );
57 sbUpperSizer->Add( bSizerLayerSelection, 1, wxEXPAND|wxRIGHT, 5 );
59 wxBoxSizer* bRightSizer;
60 bRightSizer =
new wxBoxSizer( wxVERTICAL );
62 wxBoxSizer* bSizerLyrCnt;
63 bSizerLyrCnt =
new wxBoxSizer( wxVERTICAL );
89 bRightSizer->Add( bSizerLyrCnt, 0, wxEXPAND, 5 );
92 bRightSizer->Add( 5, 15, 1, wxEXPAND, 5 );
94 wxBoxSizer* bSizerButtons;
95 bSizerButtons =
new wxBoxSizer( wxVERTICAL );
97 m_buttonStore =
new wxButton(
this, wxID_ANY,
_(
"Store Choice"), wxDefaultPosition, wxDefaultSize, 0 );
100 m_buttonRetrieve =
new wxButton(
this, wxID_ANY,
_(
"Get Stored Choice"), wxDefaultPosition, wxDefaultSize, 0 );
103 m_buttonReset =
new wxButton(
this, wxID_ANY,
_(
"Reset"), wxDefaultPosition, wxDefaultSize, 0 );
107 bRightSizer->Add( bSizerButtons, 0, wxEXPAND, 5 );
110 sbUpperSizer->Add( bRightSizer, 0, wxRIGHT|wxLEFT|wxEXPAND, 5 );
113 bSizerMain->Add( sbUpperSizer, 1, wxEXPAND|wxALL, 5 );
125 this->SetSizer( bSizerMain );
127 bSizerMain->Fit(
this );
129 this->Centre( wxBOTH );
wxBoxSizer * m_bSizerLayerList
DIALOG_MAP_GERBER_LAYERS_TO_PCB_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Layer Selection"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStdDialogButtonSizer * m_sdbSizerButtons
wxFlexGridSizer * m_flexLeftColumnBoxSizer
wxComboBox * m_comboCopperLayersCount
~DIALOG_MAP_GERBER_LAYERS_TO_PCB_BASE()
virtual void OnResetClick(wxCommandEvent &event)
wxButton * m_sdbSizerButtonsCancel
wxButton * m_sdbSizerButtonsOK
wxButton * m_buttonRetrieve
wxFlexGridSizer * m_flexRightColumnBoxSizer
virtual void OnGetSetup(wxCommandEvent &event)
virtual void OnStoreSetup(wxCommandEvent &event)
wxStaticText * m_staticTextLayerSel
wxStaticLine * m_staticlineSep
virtual void OnBrdLayersCountSelection(wxCommandEvent &event)
wxStaticText * m_staticTextCopperlayerCount
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...