12PANEL_EESCHEMA_ANNOTATION_OPTIONS_BASE::PANEL_EESCHEMA_ANNOTATION_OPTIONS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) :
RESETTABLE_PANEL( parent, id, pos, size, style,
name )
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer =
new wxBoxSizer( wxHORIZONTAL );
17 wxBoxSizer* bLeftColumn;
18 bLeftColumn =
new wxBoxSizer( wxVERTICAL );
20 m_checkAutoAnnotate =
new wxCheckBox(
this, wxID_ANY,
_(
"Automatically annotate symbols"), wxDefaultPosition, wxDefaultSize, 0 );
25 bLeftColumn->Add( 0, 15, 0, wxEXPAND, 5 );
27 m_orderLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Order"), wxDefaultPosition, wxDefaultSize, 0 );
29 bLeftColumn->Add(
m_orderLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
31 m_staticline2 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
34 wxBoxSizer* bSizerXpos;
35 bSizerXpos =
new wxBoxSizer( wxHORIZONTAL );
44 bLeftColumn->Add( bSizerXpos, 0, wxEXPAND|wxLEFT, 10 );
46 wxBoxSizer* bSizerYpos;
47 bSizerYpos =
new wxBoxSizer( wxHORIZONTAL );
56 bLeftColumn->Add( bSizerYpos, 0, wxEXPAND|wxLEFT, 10 );
59 bLeftColumn->Add( 0, 15, 0, wxEXPAND, 5 );
61 m_numberingLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Numbering"), wxDefaultPosition, wxDefaultSize, 0 );
65 m_staticline3 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
68 wxGridBagSizer* gbSizerNumbering;
69 gbSizerNumbering =
new wxGridBagSizer( 0, 0 );
70 gbSizerNumbering->SetFlexibleDirection( wxBOTH );
71 gbSizerNumbering->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
74 gbSizerNumbering->Add(
m_rbFirstFree, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT, 2 );
76 m_textNumberAfter =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( 60,-1 ), 0 );
77 gbSizerNumbering->Add(
m_textNumberAfter, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 2 );
80 gbSizerNumbering->Add(
m_rbSheetX100, wxGBPosition( 1, 0 ), wxGBSpan( 1, 2 ), wxTOP|wxBOTTOM|wxLEFT, 2 );
83 gbSizerNumbering->Add(
m_rbSheetX1000, wxGBPosition( 2, 0 ), wxGBSpan( 1, 2 ), wxTOP|wxBOTTOM|wxLEFT, 2 );
86 bLeftColumn->Add( gbSizerNumbering, 1, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
89 bPanelSizer->Add( bLeftColumn, 0, wxEXPAND, 5 );
92 this->SetSizer( bPanelSizer );
94 bPanelSizer->Fit(
this );
wxStaticBitmap * annotate_right_down_bitmap
wxCheckBox * m_checkAutoAnnotate
wxRadioButton * m_rbSortBy_Y_Position
wxTextCtrl * m_textNumberAfter
wxStaticText * m_numberingLabel
wxRadioButton * m_rbFirstFree
wxRadioButton * m_rbSheetX100
virtual void OnOptionChanged(wxCommandEvent &event)
~PANEL_EESCHEMA_ANNOTATION_OPTIONS_BASE()
wxRadioButton * m_rbSortBy_X_Position
wxStaticLine * m_staticline2
wxRadioButton * m_rbSheetX1000
wxStaticBitmap * annotate_down_right_bitmap
wxStaticLine * m_staticline3
PANEL_EESCHEMA_ANNOTATION_OPTIONS_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)
wxStaticText * m_orderLabel
A wxPanel that is designed to be reset in a standard manner.
#define ID_SORT_BY_Y_POSITION
#define ID_SORT_BY_X_POSITION
#define wxID_SHEET_X_1000