KiCad PCB EDA Suite
dialog_lib_edit_draw_item_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version May 21 2016)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
9 
11 
12 DIALOG_LIB_EDIT_DRAW_ITEM_BASE::DIALOG_LIB_EDIT_DRAW_ITEM_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
13 {
14  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15 
16  wxBoxSizer* mainSizer;
17  mainSizer = new wxBoxSizer( wxHORIZONTAL );
18 
19  wxBoxSizer* dlgBorderSizer;
20  dlgBorderSizer = new wxBoxSizer( wxVERTICAL );
21 
22  m_staticText1 = new wxStaticText( this, wxID_ANY, _("General"), wxDefaultPosition, wxDefaultSize, 0 );
23  m_staticText1->Wrap( -1 );
24  m_staticText1->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
25 
26  dlgBorderSizer->Add( m_staticText1, 0, wxALIGN_LEFT, 3 );
27 
28  wxBoxSizer* bSizer3;
29  bSizer3 = new wxBoxSizer( wxHORIZONTAL );
30 
31 
32  bSizer3->Add( 12, 0, 0, wxEXPAND, 3 );
33 
34  m_staticWidth = new wxStaticText( this, wxID_ANY, _("&Width:"), wxDefaultPosition, wxDefaultSize, 0 );
35  m_staticWidth->Wrap( -1 );
36  bSizer3->Add( m_staticWidth, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
37 
38 
39  bSizer3->Add( 0, 0, 1, wxEXPAND, 3 );
40 
41  m_textWidth = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
42  bSizer3->Add( m_textWidth, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
43 
44  m_staticWidthUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
45  m_staticWidthUnits->Wrap( -1 );
46  bSizer3->Add( m_staticWidthUnits, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
47 
48 
49  dlgBorderSizer->Add( bSizer3, 0, wxALL|wxEXPAND, 0 );
50 
51  m_staticTextSharing = new wxStaticText( this, ID_M_STATICTEXTSHARING, _("Sharing"), wxDefaultPosition, wxDefaultSize, 0 );
52  m_staticTextSharing->Wrap( -1 );
53  m_staticTextSharing->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
54 
55  dlgBorderSizer->Add( m_staticTextSharing, 0, wxTOP|wxBOTTOM, 5 );
56 
57  wxBoxSizer* bSizer4;
58  bSizer4 = new wxBoxSizer( wxHORIZONTAL );
59 
60 
61  bSizer4->Add( 12, 0, 0, wxEXPAND, 3 );
62 
63  m_checkApplyToAllUnits = new wxCheckBox( this, wxID_ANY, _("Common to all &units in component"), wxDefaultPosition, wxDefaultSize, 0 );
64  bSizer4->Add( m_checkApplyToAllUnits, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
65 
66 
67  dlgBorderSizer->Add( bSizer4, 0, wxALL|wxEXPAND, 0 );
68 
69  wxBoxSizer* bSizer5;
70  bSizer5 = new wxBoxSizer( wxHORIZONTAL );
71 
72 
73  bSizer5->Add( 12, 0, 0, wxEXPAND, 3 );
74 
75  m_checkApplyToAllConversions = new wxCheckBox( this, wxID_ANY, _("Common to all body &styles (DeMorgan)"), wxDefaultPosition, wxDefaultSize, 0 );
76  bSizer5->Add( m_checkApplyToAllConversions, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
77 
78 
79  dlgBorderSizer->Add( bSizer5, 0, wxEXPAND, 3 );
80 
81 
82  dlgBorderSizer->Add( 0, 0, 0, wxALL|wxEXPAND, 10 );
83 
84  m_staticText4 = new wxStaticText( this, wxID_ANY, _("Fill Style"), wxDefaultPosition, wxDefaultSize, 0 );
85  m_staticText4->Wrap( -1 );
86  m_staticText4->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
87 
88  dlgBorderSizer->Add( m_staticText4, 0, wxALIGN_LEFT|wxBOTTOM, 3 );
89 
90  wxBoxSizer* bSizer6;
91  bSizer6 = new wxBoxSizer( wxHORIZONTAL );
92 
93 
94  bSizer6->Add( 12, 0, 0, wxEXPAND, 3 );
95 
96  wxBoxSizer* bSizer7;
97  bSizer7 = new wxBoxSizer( wxVERTICAL );
98 
99  m_radioFillNone = new wxRadioButton( this, wxID_ANY, _("Do &not fill"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
100  m_radioFillNone->SetValue( true );
101  bSizer7->Add( m_radioFillNone, 0, wxALL, 3 );
102 
103  m_radioFillForeground = new wxRadioButton( this, wxID_ANY, _("Fill &foreground"), wxDefaultPosition, wxDefaultSize, 0 );
104  bSizer7->Add( m_radioFillForeground, 0, wxALL, 3 );
105 
106  m_radioFillBackground = new wxRadioButton( this, wxID_ANY, _("Fill &background"), wxDefaultPosition, wxDefaultSize, 0 );
107  bSizer7->Add( m_radioFillBackground, 0, wxALL, 3 );
108 
109 
110  bSizer6->Add( bSizer7, 0, wxEXPAND, 0 );
111 
112 
113  dlgBorderSizer->Add( bSizer6, 1, wxALL|wxEXPAND, 0 );
114 
115 
116  dlgBorderSizer->Add( 0, 0, 0, wxALL|wxEXPAND, 10 );
117 
118  m_sdbSizer1 = new wxStdDialogButtonSizer();
119  m_sdbSizer1OK = new wxButton( this, wxID_OK );
120  m_sdbSizer1->AddButton( m_sdbSizer1OK );
121  m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
122  m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
123  m_sdbSizer1->Realize();
124 
125  dlgBorderSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 0 );
126 
127 
128  mainSizer->Add( dlgBorderSizer, 1, wxALL|wxEXPAND, 12 );
129 
130 
131  this->SetSizer( mainSizer );
132  this->Layout();
133  mainSizer->Fit( this );
134 
135  this->Centre( wxBOTH );
136 }
137 
139 {
140 }
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60
DIALOG_LIB_EDIT_DRAW_ITEM_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Drawing Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)