KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_setup_annotation_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6a-dirty)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12PANEL_SETUP_ANNOTATION_BASE::PANEL_SETUP_ANNOTATION_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : RESETTABLE_PANEL( parent, id, pos, size, style, name )
13{
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer = new wxBoxSizer( wxHORIZONTAL );
16
17 wxBoxSizer* bLeftColumn;
18 bLeftColumn = new wxBoxSizer( wxVERTICAL );
19
20 m_checkReuseRefdes = new wxCheckBox( this, wxID_ANY, _("Allow reference reuse"), wxDefaultPosition, wxDefaultSize, 0 );
21 m_checkReuseRefdes->SetValue(true);
22 m_checkReuseRefdes->SetToolTip( _("Allow reusing references from removed components") );
23
24 bLeftColumn->Add( m_checkReuseRefdes, 0, wxLEFT|wxTOP, 12 );
25
26
27 bLeftColumn->Add( 0, 5, 0, wxEXPAND, 5 );
28
29 m_unitsLabel = new wxStaticText( this, wxID_ANY, _("Units"), wxDefaultPosition, wxDefaultSize, 0 );
30 m_unitsLabel->Wrap( -1 );
31 bLeftColumn->Add( m_unitsLabel, 0, wxLEFT|wxRIGHT, 13 );
32
33 m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
34 bLeftColumn->Add( m_staticline2, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
35
36 wxBoxSizer* bSizer5;
37 bSizer5 = new wxBoxSizer( wxHORIZONTAL );
38
39 m_staticText3 = new wxStaticText( this, wxID_ANY, _("Symbol unit notation:"), wxDefaultPosition, wxDefaultSize, 0 );
40 m_staticText3->Wrap( -1 );
41 bSizer5->Add( m_staticText3, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
42
43 wxString m_choiceSeparatorRefIdChoices[] = { _("A"), _(".A"), _("-A"), _("_A"), _(".1"), _("-1"), _("_1") };
44 int m_choiceSeparatorRefIdNChoices = sizeof( m_choiceSeparatorRefIdChoices ) / sizeof( wxString );
45 m_choiceSeparatorRefId = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceSeparatorRefIdNChoices, m_choiceSeparatorRefIdChoices, 0 );
46 m_choiceSeparatorRefId->SetSelection( 0 );
47 bSizer5->Add( m_choiceSeparatorRefId, 1, wxEXPAND|wxRIGHT, 5 );
48
49
50 bLeftColumn->Add( bSizer5, 0, wxEXPAND|wxTOP, 5 );
51
52
53 bLeftColumn->Add( 0, 0, 1, wxEXPAND, 5 );
54
55
56 bPanelSizer->Add( bLeftColumn, 0, wxEXPAND, 5 );
57
58
59 this->SetSizer( bPanelSizer );
60 this->Layout();
61 bPanelSizer->Fit( this );
62}
63
65{
66}
const char * name
Definition: DXF_plotter.cpp:62
PANEL_SETUP_ANNOTATION_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
A wxPanel that is designed to be reset in a standard manner.
#define _(s)