KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_increment_annotations_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_INCREMENT_ANNOTATIONS_BASE::DIALOG_INCREMENT_ANNOTATIONS_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* bSizerMain;
17 bSizerMain = new wxBoxSizer( wxVERTICAL );
18
19 wxBoxSizer* bSizerTop;
20 bSizerTop = new wxBoxSizer( wxVERTICAL );
21
22 wxFlexGridSizer* fgSizer31;
23 fgSizer31 = new wxFlexGridSizer( 0, 2, 6, 6 );
24 fgSizer31->AddGrowableCol( 1 );
25 fgSizer31->SetFlexibleDirection( wxBOTH );
26 fgSizer31->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
27
28 m_firstRefDesLabel = new wxStaticText( this, wxID_ANY, _("Start reference designator:"), wxDefaultPosition, wxDefaultSize, 0 );
29 m_firstRefDesLabel->Wrap( -1 );
30 m_firstRefDesLabel->SetToolTip( _("The symbol name in library and also the default\nsymbol value when loaded in the schematic.") );
31
32 fgSizer31->Add( m_firstRefDesLabel, 0, wxALIGN_CENTER_VERTICAL, 5 );
33
34 m_FirstRefDes = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), 0 );
35 fgSizer31->Add( m_FirstRefDes, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
36
37 m_incrementLabel = new wxStaticText( this, wxID_ANY, _("Increment by:"), wxDefaultPosition, wxDefaultSize, 0 );
38 m_incrementLabel->Wrap( -1 );
39 fgSizer31->Add( m_incrementLabel, 0, wxALIGN_CENTER_VERTICAL, 5 );
40
41 m_Increment = new wxSpinCtrl( this, wxID_ANY, wxT("1"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 64, 0 );
42 fgSizer31->Add( m_Increment, 0, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
43
44
45 bSizerTop->Add( fgSizer31, 1, wxALL|wxEXPAND, 5 );
46
47
48 bSizerTop->Add( 0, 10, 0, wxEXPAND, 5 );
49
50 m_CurrentSheet = new wxRadioButton( this, wxID_ANY, _("Current sheet only"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
51 m_CurrentSheet->SetValue( true );
52 bSizerTop->Add( m_CurrentSheet, 0, wxALL, 5 );
53
54 m_AllSheets = new wxRadioButton( this, wxID_ANY, _("All sheets"), wxDefaultPosition, wxDefaultSize, 0 );
55 bSizerTop->Add( m_AllSheets, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
56
57
58 bSizerMain->Add( bSizerTop, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
59
60 m_sdbSizer = new wxStdDialogButtonSizer();
61 m_sdbSizerOK = new wxButton( this, wxID_OK );
62 m_sdbSizer->AddButton( m_sdbSizerOK );
63 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
64 m_sdbSizer->AddButton( m_sdbSizerCancel );
65 m_sdbSizer->Realize();
66
67 bSizerMain->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
68
69
70 this->SetSizer( bSizerMain );
71 this->Layout();
72 bSizerMain->Fit( this );
73
74 this->Centre( wxBOTH );
75}
76
78{
79}
DIALOG_INCREMENT_ANNOTATIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Increment Annotations From"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
#define _(s)