KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_setup_tuning_profiles_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
13
14PANEL_SETUP_TUNING_PROFILES_BASE::PANEL_SETUP_TUNING_PROFILES_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
15{
16 wxFlexGridSizer* fgSizer1;
17 fgSizer1 = new wxFlexGridSizer( 2, 1, 0, 0 );
18 fgSizer1->AddGrowableCol( 0 );
19 fgSizer1->AddGrowableRow( 0 );
20 fgSizer1->SetFlexibleDirection( wxBOTH );
21 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
22
23 m_tuningProfiles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
24
25 fgSizer1->Add( m_tuningProfiles, 1, wxEXPAND | wxALL, 5 );
26
27 wxBoxSizer* bSizer91;
28 bSizer91 = new wxBoxSizer( wxHORIZONTAL );
29
30 m_addTuningProfileButton = new STD_BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
31 bSizer91->Add( m_addTuningProfileButton, 0, wxBOTTOM|wxLEFT, 5 );
32
33
34 bSizer91->Add( 20, 0, 1, wxEXPAND, 5 );
35
36 m_removeTuningProfileButton = new STD_BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
37 bSizer91->Add( m_removeTuningProfileButton, 0, wxBOTTOM|wxLEFT, 5 );
38
39
40 fgSizer1->Add( bSizer91, 1, wxTOP, 5 );
41
42
43 this->SetSizer( fgSizer1 );
44 this->Layout();
45
46 // Connect Events
47 m_addTuningProfileButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_SETUP_TUNING_PROFILES_BASE::OnAddTuningProfileClick ), NULL, this );
48 m_removeTuningProfileButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_SETUP_TUNING_PROFILES_BASE::OnRemoveTuningProfileClick ), NULL, this );
49}
50
const char * name
virtual void OnAddTuningProfileClick(wxCommandEvent &event)
virtual void OnRemoveTuningProfileClick(wxCommandEvent &event)
PANEL_SETUP_TUNING_PROFILES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(719, 506), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
A bitmap button widget that behaves like a standard dialog button except with an icon.