17PANEL_SETUP_NETCLASSES_BASE::PANEL_SETUP_NETCLASSES_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
19 wxBoxSizer* bpanelNetClassesSizer;
20 bpanelNetClassesSizer =
new wxBoxSizer( wxVERTICAL );
23 bMargins =
new wxBoxSizer( wxVERTICAL );
25 m_splitter =
new wxSplitterWindow(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3DSASH|wxSP_LIVE_UPDATE|wxSP_NO_XP_THEME );
29 wxBoxSizer* bUpperSizer;
30 bUpperSizer =
new wxBoxSizer( wxVERTICAL );
34 bUpperSizer->Add(
m_staticText3, 0, wxTOP|wxLEFT|wxEXPAND, 8 );
37 bUpperSizer->Add( 0, 3, 0, wxEXPAND, 5 );
66 m_netclassGrid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
72 m_netclassGrid->SetRowLabelAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
77 m_netclassGrid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
78 bUpperSizer->Add(
m_netclassGrid, 1, wxEXPAND|wxFIXED_MINSIZE|wxLEFT|wxRIGHT|wxTOP, 5 );
80 wxBoxSizer* buttonBoxSizer;
81 buttonBoxSizer =
new wxBoxSizer( wxHORIZONTAL );
87 buttonBoxSizer->Add( 20, 0, 0, wxEXPAND, 5 );
93 buttonBoxSizer->Add( 20, 0, 0, wxEXPAND, 5 );
99 buttonBoxSizer->Add( 20, 0, 0, wxEXPAND, 5 );
105 buttonBoxSizer->Add( 60, 0, 1, wxEXPAND, 5 );
115 bUpperSizer->Add( buttonBoxSizer, 0, wxEXPAND|wxLEFT|wxTOP, 5 );
122 wxBoxSizer* bLowerSizer;
123 bLowerSizer =
new wxBoxSizer( wxVERTICAL );
126 bLowerSizer->Add( 0, 5, 0, wxEXPAND, 5 );
130 bLowerSizer->Add(
m_staticText5, 0, wxEXPAND|wxTOP|wxLEFT, 8 );
132 wxBoxSizer* bColumns;
133 bColumns =
new wxBoxSizer( wxHORIZONTAL );
135 wxBoxSizer* bSizer14;
136 bSizer14 =
new wxBoxSizer( wxVERTICAL );
169 bColumns->Add( bSizer14, 3, wxEXPAND, 5 );
175 bLowerSizer->Add( bColumns, 1, wxEXPAND|wxTOP, 3 );
177 wxBoxSizer* buttonBoxSizer1;
178 buttonBoxSizer1 =
new wxBoxSizer( wxHORIZONTAL );
184 buttonBoxSizer1->Add( 20, 0, 0, wxEXPAND, 5 );
190 bLowerSizer->Add( buttonBoxSizer1, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
200 bpanelNetClassesSizer->Add( bMargins, 1, wxEXPAND|wxTOP, 2 );
203 this->SetSizer( bpanelNetClassesSizer );
205 bpanelNetClassesSizer->Fit(
this );
virtual void OnSizeNetclassGrid(wxSizeEvent &event)
virtual void OnRemoveAssignmentClick(wxCommandEvent &event)
wxStaticText * m_colorDefaultHelpText
virtual void OnUpdateUI(wxUpdateUIEvent &event)
STD_BITMAP_BUTTON * m_removeAssignmentButton
STD_BITMAP_BUTTON * m_addAssignmentButton
virtual void OnRemoveNetclassClick(wxCommandEvent &event)
wxStaticText * m_staticText3
~PANEL_SETUP_NETCLASSES_BASE()
STD_BITMAP_BUTTON * m_removeButton
virtual void OnMoveNetclassDownClick(wxCommandEvent &event)
WX_PANEL * m_netclassesPane
wxButton * m_importColorsButton
WX_PANEL * m_membershipPane
STD_BITMAP_BUTTON * m_moveUpButton
WX_HTML_REPORT_BOX * m_matchingNets
virtual void OnAddAssignmentClick(wxCommandEvent &event)
virtual void onmembershipPanelSize(wxSizeEvent &event)
STD_BITMAP_BUTTON * m_moveDownButton
virtual void OnSizeAssignmentGrid(wxSizeEvent &event)
virtual void OnMoveNetclassUpClick(wxCommandEvent &event)
virtual void OnImportColorsClick(wxCommandEvent &event)
wxStaticText * m_staticText5
virtual void OnAddNetclassClick(wxCommandEvent &event)
PANEL_SETUP_NETCLASSES_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)
STD_BITMAP_BUTTON * m_addButton
WX_GRID * m_assignmentGrid
wxSplitterWindow * m_splitter
void SetColLabelSize(int aHeight)
Hide wxGrid's SetColLabelSize() method with one which makes sure the size is tall enough for the syst...
A slimmed down version of WX_HTML_REPORT_PANEL.