KiCad PCB EDA Suite
dialog_non_copper_zones_properties_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Mar 9 2015)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
9 
11 
13  EVT_BUTTON( wxID_CANCEL, DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE::_wxFB_OnCancelClick )
14  EVT_BUTTON( wxID_OK, DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE::_wxFB_OnOkClick )
15 END_EVENT_TABLE()
16 
17 DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE::DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
18 {
19  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
20 
21  wxBoxSizer* m_MainSizer;
22  m_MainSizer = new wxBoxSizer( wxVERTICAL );
23 
24  wxBoxSizer* m_UpperSizer;
25  m_UpperSizer = new wxBoxSizer( wxHORIZONTAL );
26 
27  wxBoxSizer* bSizerLeft;
28  bSizerLeft = new wxBoxSizer( wxVERTICAL );
29 
30  m_staticTextLayerSelection = new wxStaticText( this, wxID_ANY, _("Layer selection:"), wxDefaultPosition, wxDefaultSize, 0 );
31  m_staticTextLayerSelection->Wrap( -1 );
32  bSizerLeft->Add( m_staticTextLayerSelection, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
33 
34  m_LayerSelectionCtrl = new wxListView( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_ALIGN_LEFT|wxLC_NO_HEADER|wxLC_REPORT|wxLC_SINGLE_SEL );
35  bSizerLeft->Add( m_LayerSelectionCtrl, 1, wxALL|wxEXPAND, 5 );
36 
37 
38  m_UpperSizer->Add( bSizerLeft, 1, wxEXPAND, 5 );
39 
40  wxBoxSizer* bSizerRight;
41  bSizerRight = new wxBoxSizer( wxVERTICAL );
42 
43  wxStaticBoxSizer* m_OutilinesBoxOpt;
44  m_OutilinesBoxOpt = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Outlines Options:") ), wxVERTICAL );
45 
46  wxString m_OrientEdgesOptChoices[] = { _("Any"), _("H, V and 45 deg") };
47  int m_OrientEdgesOptNChoices = sizeof( m_OrientEdgesOptChoices ) / sizeof( wxString );
48  m_OrientEdgesOpt = new wxRadioBox( this, wxID_ANY, _("Zone Edges Orient"), wxDefaultPosition, wxDefaultSize, m_OrientEdgesOptNChoices, m_OrientEdgesOptChoices, 1, wxRA_SPECIFY_COLS );
49  m_OrientEdgesOpt->SetSelection( 0 );
50  m_OutilinesBoxOpt->Add( m_OrientEdgesOpt, 0, wxALL|wxEXPAND, 5 );
51 
52  wxString m_OutlineAppearanceCtrlChoices[] = { _("Line"), _("Hatched Outline"), _("Full Hatched") };
53  int m_OutlineAppearanceCtrlNChoices = sizeof( m_OutlineAppearanceCtrlChoices ) / sizeof( wxString );
54  m_OutlineAppearanceCtrl = new wxRadioBox( this, wxID_ANY, _("Outlines Appearence"), wxDefaultPosition, wxDefaultSize, m_OutlineAppearanceCtrlNChoices, m_OutlineAppearanceCtrlChoices, 1, wxRA_SPECIFY_COLS );
55  m_OutlineAppearanceCtrl->SetSelection( 1 );
56  m_OutilinesBoxOpt->Add( m_OutlineAppearanceCtrl, 0, wxALL|wxEXPAND, 5 );
57 
58 
59  bSizerRight->Add( m_OutilinesBoxOpt, 0, wxEXPAND|wxALL, 5 );
60 
61  m_MinThicknessValueTitle = new wxStaticText( this, wxID_ANY, _("Zone min thickness value"), wxDefaultPosition, wxDefaultSize, 0 );
62  m_MinThicknessValueTitle->Wrap( -1 );
63  bSizerRight->Add( m_MinThicknessValueTitle, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
64 
65  m_ZoneMinThicknessCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
66  m_ZoneMinThicknessCtrl->SetMaxLength( 0 );
67  bSizerRight->Add( m_ZoneMinThicknessCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
68 
69 
70  m_UpperSizer->Add( bSizerRight, 0, wxEXPAND, 5 );
71 
72 
73  m_MainSizer->Add( m_UpperSizer, 1, wxEXPAND, 5 );
74 
75  m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
76  m_MainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
77 
78  m_sdbSizerButtons = new wxStdDialogButtonSizer();
79  m_sdbSizerButtonsOK = new wxButton( this, wxID_OK );
80  m_sdbSizerButtons->AddButton( m_sdbSizerButtonsOK );
81  m_sdbSizerButtonsCancel = new wxButton( this, wxID_CANCEL );
82  m_sdbSizerButtons->AddButton( m_sdbSizerButtonsCancel );
83  m_sdbSizerButtons->Realize();
84 
85  m_MainSizer->Add( m_sdbSizerButtons, 0, wxEXPAND, 5 );
86 
87 
88  this->SetSizer( m_MainSizer );
89  this->Layout();
90 
91  this->Centre( wxBOTH );
92 }
93 
95 {
96 }
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60
Class DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE.