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 )
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
19 wxBoxSizer* bSizerTop;
20 bSizerTop =
new wxBoxSizer( wxVERTICAL );
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 );
28 m_firstRefDesLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Start reference designator:"), wxDefaultPosition, wxDefaultSize, 0 );
30 m_firstRefDesLabel->SetToolTip(
_(
"The symbol name in library and also the default\nsymbol value when loaded in the schematic.") );
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 );
37 m_incrementLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Increment by:"), wxDefaultPosition, wxDefaultSize, 0 );
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 );
45 bSizerTop->Add( fgSizer31, 1, wxALL|wxEXPAND, 5 );
48 bSizerTop->Add( 0, 10, 0, wxEXPAND, 5 );
50 m_CurrentSheet =
new wxRadioButton(
this, wxID_ANY,
_(
"Current sheet only"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
54 m_AllSheets =
new wxRadioButton(
this, wxID_ANY,
_(
"All sheets"), wxDefaultPosition, wxDefaultSize, 0 );
55 bSizerTop->Add(
m_AllSheets, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
58 bSizerMain->Add( bSizerTop, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
67 bSizerMain->Add(
m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
70 this->SetSizer( bSizerMain );
72 bSizerMain->Fit(
this );
74 this->Centre( wxBOTH );
wxTextCtrl * m_FirstRefDes
wxStdDialogButtonSizer * m_sdbSizer
wxStaticText * m_incrementLabel
~DIALOG_INCREMENT_ANNOTATIONS_BASE()
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)
wxStaticText * m_firstRefDesLabel
wxRadioButton * m_CurrentSheet
wxButton * m_sdbSizerCancel
wxRadioButton * m_AllSheets
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...