12PANEL_SYNC_SHEET_PINS_BASE::PANEL_SYNC_SHEET_PINS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
15 bSizer3 =
new wxBoxSizer( wxHORIZONTAL );
17 m_panel11 =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
19 bSizer41 =
new wxBoxSizer( wxVERTICAL );
22 bSizer61 =
new wxBoxSizer( wxVERTICAL );
24 m_labelSymName =
new wxStaticText(
m_panel11, wxID_ANY,
_(
"Symbol name"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER_HORIZONTAL|wxBORDER_THEME );
28 m_viewSheetPins =
new wxDataViewCtrl(
m_panel11, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_HORIZ_RULES|wxDV_MULTIPLE|wxDV_ROW_LINES|wxDV_VERT_RULES );
32 bSizer51 =
new wxBoxSizer( wxVERTICAL );
34 m_btnAddLabels =
new wxButton(
m_panel11, wxID_ANY,
_(
"Add Hierarchical Labels"), wxDefaultPosition, wxDefaultSize, 0 );
37 m_btnRmPins =
new wxButton(
m_panel11, wxID_ANY,
_(
"Delete Sheet Pins"), wxDefaultPosition, wxDefaultSize, 0 );
38 bSizer51->Add(
m_btnRmPins, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
41 bSizer61->Add( bSizer51, 0, wxEXPAND, 5 );
44 bSizer41->Add( bSizer61, 1, wxEXPAND, 5 );
50 bSizer3->Add(
m_panel11, 1, wxEXPAND | wxALL, 5 );
52 m_panel1 =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
54 bSizer4 =
new wxBoxSizer( wxVERTICAL );
57 bSizer6 =
new wxBoxSizer( wxVERTICAL );
59 m_labelSheetName =
new wxStaticText(
m_panel1, wxID_ANY,
_(
"Sheet name"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER_HORIZONTAL|wxBORDER_THEME );
63 m_viewSheetLabels =
new wxDataViewCtrl(
m_panel1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_HORIZ_RULES|wxDV_MULTIPLE|wxDV_ROW_LINES|wxDV_VERT_RULES );
67 bSizer5 =
new wxBoxSizer( wxVERTICAL );
72 m_btnRmLabels =
new wxButton(
m_panel1, wxID_ANY,
_(
"Delete Hierarchical Labels"), wxDefaultPosition, wxDefaultSize, 0 );
76 bSizer6->Add( bSizer5, 0, wxEXPAND, 5 );
79 bSizer4->Add( bSizer6, 1, wxEXPAND, 5 );
85 bSizer3->Add(
m_panel1, 1, wxEXPAND | wxALL, 5 );
87 m_panel3 =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
89 bSizer13 =
new wxBoxSizer( wxVERTICAL );
92 bSizer13->Add( 0, 0, 1, wxEXPAND, 5 );
94 m_panel8 =
new wxPanel(
m_panel3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
96 bSizer14 =
new wxBoxSizer( wxVERTICAL );
108 m_btnUndo =
new wxBitmapButton(
m_panel8, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
109 m_btnUndo->SetToolTip(
_(
"Break sheet pin and hierarchical label association(s)") );
111 bSizer14->Add(
m_btnUndo, 0, wxALL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
117 bSizer13->Add(
m_panel8, 0, wxEXPAND | wxALL, 0 );
120 bSizer13->Add( 0, 0, 2, wxEXPAND, 5 );
126 bSizer3->Add(
m_panel3, 0, wxEXPAND | wxALL, 0 );
128 m_panel4 =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
129 wxBoxSizer* bSizer15;
130 bSizer15 =
new wxBoxSizer( wxVERTICAL );
132 wxBoxSizer* bSizer16;
133 bSizer16 =
new wxBoxSizer( wxVERTICAL );
135 m_viewAssociated =
new wxDataViewCtrl(
m_panel4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_HORIZ_RULES|wxDV_MULTIPLE|wxDV_ROW_LINES|wxDV_VERT_RULES );
139 bSizer15->Add( bSizer16, 1, wxEXPAND, 5 );
145 bSizer3->Add(
m_panel4, 1, wxEXPAND | wxALL, 5 );
148 this->SetSizer( bSizer3 );
virtual void OnBtnUsePinAsTemplateClicked(wxCommandEvent &event)
virtual void OnViewMatchedCellClicked(wxDataViewEvent &event)
wxBitmapButton * m_btnUndo
wxButton * m_btnAddSheetPins
wxButton * m_btnAddLabels
wxStaticText * m_labelSheetName
wxDataViewCtrl * m_viewSheetPins
virtual void OnBtnUndoClicked(wxCommandEvent &event)
~PANEL_SYNC_SHEET_PINS_BASE()
PANEL_SYNC_SHEET_PINS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(666, 414), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
virtual void OnBtnRmPinsClicked(wxCommandEvent &event)
virtual void OnBtnUseLabelAsTemplateClicked(wxCommandEvent &event)
virtual void OnBtnAddLabelsClicked(wxCommandEvent &event)
wxDataViewCtrl * m_viewAssociated
virtual void OnBtnRmLabelsClicked(wxCommandEvent &event)
wxStaticText * m_labelSymName
virtual void OnBtnAddSheetPinsClicked(wxCommandEvent &event)
wxBitmapButton * m_btnUseLabelAsTemplate
virtual void OnViewSheetLabelCellClicked(wxDataViewEvent &event)
wxDataViewCtrl * m_viewSheetLabels
virtual void OnViewSheetPinCellClicked(wxDataViewEvent &event)
wxBitmapButton * m_btnUsePinAsTemplate